/* صفحهٔ معرفی عمومی — همیشه تیره با رنگ‌های تم انجین؛ متغیرها از site.css. */
.landing { min-height: 100vh; overflow-x: hidden; }
.landing::before {
    background: radial-gradient(50rem 30rem at 85% -5%, rgb(0 255 136 / 30%), transparent 60%),
                radial-gradient(40rem 26rem at 5% 30%, rgb(0 217 255 / 14%), transparent 60%),
                radial-gradient(36rem 24rem at 60% 100%, rgb(0 255 136 / 14%), transparent 60%);
}
.landing-grid {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgb(0 255 136 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(0 255 136 / 8%) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

.landing-nav { position: sticky; top: 0; z-index: 10; padding: .9rem 0; background: rgb(11 15 20 / 65%); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(0 255 136 / 14%); }
.landing-links a { color: #93a1ad; text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .15s ease; }
.landing-links a:hover { color: #fff; }
.landing .btn-outline-light { --bs-btn-border-color: rgb(255 255 255 / 25%); --bs-btn-hover-bg: rgb(255 255 255 / 10%); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgb(255 255 255 / 45%); }

.hero { padding: 5.5rem 0 4rem; }
.hero-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #00ff88; background: rgb(0 255 136 / 14%); border: 1px solid rgb(0 255 136 / 30%); margin-bottom: 1.4rem; }
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: #00d9ff; box-shadow: 0 0 0 0 rgb(0 217 255 / 60%); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .55rem rgb(0 217 255 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(0 217 255 / 0%); } }
.hero-title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 900; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #93a1ad; line-height: 2; max-width: 34rem; margin-bottom: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #b7c3cd; font-size: .92rem; }
.hero-points i { color: #00d9ff; margin-inline-end: .35rem; }

.terminal { position: relative; border-radius: 1.1rem; background: rgb(6 8 10 / 88%); border: 1px solid rgb(0 255 136 / 30%); box-shadow: 0 30px 80px rgb(0 0 0 / 55%), 0 0 60px rgb(0 255 136 / 18%); overflow: hidden; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.terminal-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid #1f2933; direction: ltr; }
.terminal-bar span { width: .7rem; height: .7rem; border-radius: 50%; background: #243340; }
.terminal-bar span:first-child { background: #f472b6; } .terminal-bar span:nth-child(2) { background: #fbbf24; } .terminal-bar span:nth-child(3) { background: #34d399; }
.terminal-bar small { margin-inline-start: auto; color: #5a6772; font-family: var(--mono); }
.terminal pre, .code-sample { margin: 0; padding: 1.3rem 1.4rem; direction: ltr; text-align: left; color: #e8eef2; font-size: .9rem; line-height: 1.85; white-space: pre; overflow-x: auto; }
.code-sample { border-radius: 1rem; background: #06080a; border: 1px solid #1f2933; }
.t-key { color: #00ff88; } .t-str { color: #00d9ff; } .t-ok { color: #34d399; font-weight: 700; } .t-dim { color: #5a6772; }

.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head span { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: #00d9ff; margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; margin: 0; }
.section-head p { color: #93a1ad; margin: .8rem 0 0; }

.feature-card, .category-tile, .step-card { height: 100%; padding: 1.6rem; border-radius: 1.1rem; background: linear-gradient(180deg, rgb(255 255 255 / 3%), transparent 50%), rgb(17 22 29 / 75%); border: 1px solid #1f2933; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feature-card:hover, .category-tile:hover, .step-card:hover { transform: translateY(-4px); border-color: rgb(0 255 136 / 45%); box-shadow: 0 0 0 1px rgb(0 255 136 / 20%), 0 18px 40px rgb(0 0 0 / 35%), 0 0 30px rgb(0 255 136 / 14%); }
.feature-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .9rem; background: var(--vga-gradient); color: var(--on-neon); font-size: 1.3rem; margin-bottom: 1.1rem; box-shadow: 0 8px 22px rgb(0 255 136 / 35%); }
.feature-card h3, .step-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .55rem; }
.feature-card p, .step-card p { color: #93a1ad; margin: 0; line-height: 1.95; font-size: .95rem; }
.category-tile { display: grid; gap: .35rem; text-align: center; justify-items: center; }
.category-tile i { font-size: 2rem; margin-bottom: .4rem; background: var(--vga-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.category-tile strong { font-size: 1.05rem; }
.category-tile small { color: #93a1ad; }
.step-card { position: relative; padding-top: 2rem; }
.step-number { position: absolute; top: -1rem; inset-inline-start: 1.4rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: .8rem; font-weight: 900; color: var(--on-neon); background: var(--vga-gradient); box-shadow: 0 8px 22px rgb(0 255 136 / 40%); }
.steps { padding-top: 1rem; }

.dev-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; background: rgb(17 22 29 / 70%); border: 1px solid rgb(0 255 136 / 25%); }
.dev-card .section-head { text-align: start; }
.cta { padding: clamp(2.2rem, 6vw, 4rem) 1.5rem; border-radius: 1.6rem; color: #e8eef2; background: radial-gradient(30rem 16rem at 15% 120%, rgb(0 217 255 / 40%), transparent 60%), linear-gradient(135deg, #0d1a16, #0b1118 60%, #0a161c); border: 1px solid rgb(0 255 136 / 35%); box-shadow: 0 0 60px rgb(0 255 136 / 22%); }
.cta h2 { font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta p { opacity: .82; margin-bottom: 1.6rem; }
.cta .btn-light { --bs-btn-color: #04110a; --bs-btn-bg: #00ff88; --bs-btn-border-color: transparent; --bs-btn-hover-color: #04110a; --bs-btn-hover-bg: #00cc6e; --bs-btn-hover-border-color: transparent; font-weight: 800; }

.landing-footer { padding: 2rem 0 2.5rem; border-top: 1px solid #1f2933; margin-top: 2rem; }

@media (max-width: 575.98px) {
    .hero { padding: 3rem 0 2rem; }
    .section { padding: 3rem 0; }
    .landing-nav .sidebar-brand .brand-text { display: none; }
    .terminal pre, .code-sample { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { .terminal, .pulse { animation: none; } }
.trailing-icon { margin-inline-start: .55rem; }
.nowrap { white-space: nowrap; }
.landing .row > * { min-width: 0; }
.terminal, .code-sample { max-width: 100%; }
html:has(body.landing) { overflow-x: hidden; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
@media (max-width: 575.98px) { .landing .container { padding-inline: 1.25rem; } }
