/* NextGen Afghan – v2 design system */
:root {
  --bg: #07080A;
  --bg-2: #101215;
  --bg-3: #15181C;
  --text: #F5F5F7;
  --text-2: #C3C7CC;
  --muted: #9AA0A6;
  --em: #1FBF6B;
  --em-d: #0F8F52;
  --gold: #E8B84A;
  --gold-d: #C9A24A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --grad: linear-gradient(100deg, var(--em) 0%, #8CCB5C 45%, var(--gold) 100%);
  --radius: 22px;
  --radius-lg: 32px;
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-fa: "Vazirmatn", "Inter", Tahoma, sans-serif;
  --fs-body: clamp(1.125rem, 1.06rem + .22vw, 1.25rem);
  --fs-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.9vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
  min-height: 100vh;
}
:lang(fa-AF) body, html[lang="fa-AF"] body {
  font-family: var(--font-fa);
  font-size: clamp(1.1875rem, 1.12rem + .25vw, 1.3125rem);
  line-height: 1.95;
  font-feature-settings: normal;
}
html[lang="fa-AF"] * { letter-spacing: 0 !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--text); margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
html[lang="fa-AF"] h1, html[lang="fa-AF"] h2, html[lang="fa-AF"] h3 { line-height: 1.45; font-weight: 800; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(31, 191, 107, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--bg); font-weight: 600; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left center; box-shadow: 0 0 12px rgba(232, 184, 74, .6); will-change: transform; }
[dir="rtl"] .progress span { transform-origin: right center; background: linear-gradient(260deg, var(--em), #8CCB5C 45%, var(--gold)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  --header-h: 62px;
  background: rgba(10, 11, 14, .66);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; font-family: var(--font); }
.brand-mark { width: 45px; height: 40px; filter: drop-shadow(0 0 10px rgba(232, 184, 74, .25)); transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s; }
html[lang="fa-AF"] .main-nav a { font-size: 1rem; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active { background: rgba(255, 255, 255, .06); }
.main-nav .nav-cta { color: var(--text); border: 1px solid var(--line-2); margin-inline-start: 6px; }
.main-nav .nav-cta:hover { border-color: rgba(232, 184, 74, .6); background: rgba(232, 184, 74, .08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: 38px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .875rem; font-weight: 600; }
.lang-opt { position: relative; z-index: 1; padding: 0 12px; line-height: 30px; color: var(--muted); transition: color .3s; font-family: var(--font); }
.lang-opt[lang] { font-family: var(--font-fa); font-size: .9375rem; }
.lang-opt.active { color: var(--bg); }
.lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--text); transition: transform .45s var(--ease); }
html[lang="fa-AF"] .lang-pill { transform: translateX(100%); }
.lang-toggle { direction: ltr; }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.menu-btn .bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.menu-btn .bar:nth-of-type(2) { transform: translateY(-4px); }
.menu-btn .bar:nth-of-type(3) { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] .bar:nth-of-type(2) { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-of-type(3) { transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.005em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s; white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: #0A0B0D; box-shadow: 0 0 0 0 rgba(232, 184, 74, 0), 0 10px 30px -10px rgba(232, 184, 74, .55); }
.btn-gold:hover { transform: translateY(-2px); background: #F0C45C; box-shadow: 0 0 0 6px rgba(232, 184, 74, .12), 0 18px 40px -12px rgba(232, 184, 74, .7); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(31, 191, 107, .6); background: rgba(31, 191, 107, .08); transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 1.125rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: .9; }
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(20px); pointer-events: none; will-change: transform; }
.hero-glow.g1 { width: 70vmax; height: 70vmax; left: -28vmax; top: -12vmax; background: radial-gradient(closest-side, rgba(15, 143, 82, .32), rgba(15, 143, 82, .08) 55%, transparent 72%); }
.hero-glow.g2 { width: 60vmax; height: 60vmax; right: -24vmax; top: 10vmax; background: radial-gradient(closest-side, rgba(201, 162, 74, .26), rgba(201, 162, 74, .06) 55%, transparent 72%); }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(7, 8, 10, .75) 100%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .9375rem; font-weight: 500; margin-bottom: 28px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 10px var(--em); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--em); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.hero-title { font-size: var(--fs-h1); font-weight: 750; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 28px; }
.hero-title .line { display: block; }
html[lang="fa-AF"] .hero-title { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5.25rem); line-height: 1.3; font-weight: 800; }
.hero-title .w { display: inline-block; }
.hero-title .grad-text .w { background: var(--grad); background-size: var(--gw, 100%) 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title.grad-split .grad-text { background: none; }
.js .hero-title .w { opacity: 0; transform: translateY(.45em); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 85ms + 120ms); }
.js .hero-title.is-in .w { opacity: 1; transform: none; filter: blur(0); }
.lead { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.6; color: var(--text-2); max-width: 36em; margin-bottom: 36px; }
html[lang="fa-AF"] .lead { line-height: 1.95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; }
.hero-badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(31, 191, 107, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231FBF6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.js .fade-in { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-loaded .fade-in, .js body.is-loaded .fade-in { opacity: 1; transform: none; }

.hero-visual { position: relative; display: grid; place-items: center; }
.star-wrap { position: relative; width: min(100%, 560px); aspect-ratio: 580 / 512; will-change: transform; }
.star-aura { position: absolute; inset: -18%; left: -30%; right: -2%; border-radius: 50%; background: radial-gradient(closest-side at 41% 50%, rgba(255, 220, 140, .42), rgba(232, 184, 74, .16) 30%, rgba(31, 191, 107, .12) 52%, transparent 72%); animation: breathe 6s ease-in-out infinite; will-change: transform, opacity; }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
.star-float { position: relative; width: 100%; height: 100%; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.star-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 14px rgba(31, 191, 107, .45)) drop-shadow(0 0 30px rgba(232, 184, 74, .25)); }
.star-svg .ng-lines path, .star-svg .ng-circuit path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .star-svg .ng-lines path, .js .star-svg .ng-circuit path { stroke-dashoffset: 1; }
.js .is-loaded .star-svg .ng-lines path { animation: draw 2.2s var(--ease) forwards; }
.js .is-loaded .star-svg .ng-o2 { animation-delay: .15s !important; }
.js .is-loaded .star-svg .ng-o3 { animation-delay: .3s !important; }
.js .is-loaded .star-svg .ng-r { animation-delay: .45s !important; }
.js .is-loaded .star-svg .ng-circuit path { animation: draw 1.4s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.star-svg .ng-facets, .star-svg .ng-dots, .star-svg .ng-core, .star-svg .ng-halo, .star-svg .ng-spark { transform-box: view-box; transform-origin: 240px 256px; }
.js .star-svg .ng-facets, .js .star-svg .ng-dots { opacity: 0; transition: opacity 1.6s ease .8s; }
.js .is-loaded .star-svg .ng-facets, .js .is-loaded .star-svg .ng-dots { opacity: 1; }
.js .star-svg .ng-core, .js .star-svg .ng-halo, .js .star-svg .ng-spark { opacity: 0; transform: scale(.3); }
.js .is-loaded .star-svg .ng-core { animation: core-in 1.4s var(--ease) .6s forwards, twinkle 4.5s ease-in-out 2s infinite; }
.js .is-loaded .star-svg .ng-halo { animation: core-in 1.6s var(--ease) .5s forwards, halo 4.5s ease-in-out 2.1s infinite; }
.js .is-loaded .star-svg .ng-spark { animation: core-in 1s var(--ease) .9s forwards; }
@keyframes core-in { to { opacity: 1; transform: scale(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(4deg); } }
@keyframes halo { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.star-svg .ng-pulses path { stroke-dasharray: .07 1.3; stroke-dashoffset: 1.1; opacity: 0; filter: none; }
.is-loaded .star-svg .ng-pulses path { animation: pulse-run 3.6s linear infinite; animation-delay: calc(2.2s + var(--i) * .43s); }
@keyframes pulse-run { 0% { stroke-dashoffset: 1.1; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -.1; opacity: 0; } }
.star-flare { position: absolute; left: 41.4%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 246, 214, .55), rgba(255, 214, 120, .18) 40%, transparent 70%); mix-blend-mode: screen; pointer-events: none; animation: flare 4.5s ease-in-out 2s infinite; }
@keyframes flare { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
html[lang="fa-AF"] .scroll-cue { text-transform: none; font-size: .9375rem; }
.scroll-cue i { width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee-list { display: flex; flex-shrink: 0; }
.marquee-list li { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
.marquee-list li:nth-child(even) { color: var(--muted); }
.marquee-list li::after { content: ""; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px var(--gold)); }
.marquee-list li:nth-child(3n)::after { background: var(--em); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1.05; }
html[lang="fa-AF"] .h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); line-height: 1.4; }
.sub { color: var(--muted); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); max-width: 34em; margin-top: 20px; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.kicker.center { justify-content: center; }
.kicker p, .kicker h2 { margin: 0; font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
html[lang="fa-AF"] .kicker p, html[lang="fa-AF"] .kicker h2 { text-transform: none; font-size: 1.0625rem; }
.sec-num { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), background-color .6s; }
.lit .sec-num, .sec-num.lit { color: var(--bg); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 22px rgba(232, 184, 74, .45); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mission ---------- */
.mission { background: radial-gradient(60% 50% at 85% 10%, rgba(201, 162, 74, .08), transparent 70%); }
.mission-text { font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.5rem); line-height: 1.22; font-weight: 600; letter-spacing: -.03em; color: var(--text); max-width: 22em; margin-bottom: clamp(56px, 8vw, 96px); text-wrap: pretty; }
html[lang="fa-AF"] .mission-text { line-height: 1.75; font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.875rem); }
.mission-text .mw { transition: color .5s ease, opacity .5s ease; }
.js .mission-text[data-ready] .mw { color: rgba(245, 245, 247, .2); }
.js .mission-text[data-ready] .mw.on { color: var(--text); }
.js .mission-text[data-ready] .mw.on.hl { color: var(--gold); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-size: clamp(2.75rem, 2rem + 2.4vw, 4.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; }
.stat .unit { font-size: .55em; margin-inline-start: 4px; color: var(--gold); }
.stat > span { color: var(--muted); font-size: 1rem; line-height: 1.5; }
html[lang="fa-AF"] .stat > span { font-size: 1.0625rem; }

/* ---------- Offer (pinned horizontal) ---------- */
.offer { position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.offer-sticky { padding: clamp(96px, 12vw, 140px) 0; }
.offer-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.offer-head .h2 { max-width: 14em; }
.offer-meta { max-width: 400px; }
.offer-meta .sub { margin-top: 0; }
.offer-bar { display: none; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin-top: 18px; }
.offer-bar span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .offer-bar span { transform-origin: right; }
.offer-track { display: grid; grid-template-columns: 1fr; gap: 18px; padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.feature-card { position: relative; border-radius: var(--radius-lg); perspective: 900px; }
.fc-inner { position: relative; height: 100%; padding: clamp(28px, 3.5vw, 44px); border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.fc-inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 191, 107, .16), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.feature-card:hover .fc-inner { border-color: rgba(232, 184, 74, .35); box-shadow: 0 30px 80px -30px rgba(31, 191, 107, .35), 0 0 0 1px rgba(232, 184, 74, .08) inset; }
.feature-card:hover .fc-inner::before { opacity: 1; }
.feature-card.tilting .fc-inner { transition: transform .12s linear, border-color .4s, box-shadow .5s var(--ease); }
.fc-num { position: absolute; top: clamp(24px, 3vw, 36px); inset-inline-end: clamp(24px, 3vw, 36px); font-size: 1rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.f-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--em); background: rgba(31, 191, 107, .1); border: 1px solid rgba(31, 191, 107, .25); margin-bottom: clamp(28px, 6vw, 72px); box-shadow: 0 0 30px -6px rgba(31, 191, 107, .45); }
.f-icon.gold { color: var(--gold); background: rgba(232, 184, 74, .1); border-color: rgba(232, 184, 74, .28); box-shadow: 0 0 30px -6px rgba(232, 184, 74, .45); }
.f-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.feature-card p { color: var(--text-2); margin: 0; max-width: 30em; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); background: rgba(232, 184, 74, .12); border: 1px solid rgba(232, 184, 74, .3); line-height: 1.5; }
html[lang="fa-AF"] .tag { font-size: .875rem; }

@media (min-width: 720px) {
  .offer-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* pinned mode (enabled by JS on wide screens) */
.offer.pinned .offer-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 0 40px; overflow: hidden; }
.offer.pinned .offer-bar { display: block; }
.offer.pinned .offer-viewport { overflow: visible; }
.offer.pinned .offer-track { display: flex; gap: 24px; max-width: none; width: max-content; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); will-change: transform; }
.offer.pinned .feature-card { width: clamp(400px, 34vw, 500px); min-height: min(460px, 56vh); }
.offer.pinned .reveal { transition-delay: var(--stagger, 0ms); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-photo { position: relative; }
.photo-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); padding: 1px; background: linear-gradient(150deg, rgba(31, 191, 107, .7), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .05) 60%, rgba(232, 184, 74, .7)); box-shadow: 0 40px 100px -40px rgba(31, 191, 107, .35); }
.photo-placeholder { position: relative; height: 100%; border-radius: calc(var(--radius-lg) - 1px); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(80% 60% at 50% 35%, rgba(31, 191, 107, .14), transparent 70%), radial-gradient(70% 50% at 60% 100%, rgba(232, 184, 74, .12), transparent 70%), var(--bg-2); }
.photo-placeholder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.ph-mark { width: 90px; height: auto; opacity: .9; filter: drop-shadow(0 0 18px rgba(232, 184, 74, .35)); }
.ph-initials { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 700; letter-spacing: -.04em; color: var(--text); line-height: 1; font-family: var(--font); }
.photo-placeholder small { color: var(--muted); font-size: .9375rem; }
.photo-chip { position: absolute; bottom: 24px; inset-inline-start: -14px; padding: 10px 16px; border-radius: 14px; background: rgba(16, 18, 21, .8); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); font-weight: 600; font-size: .9375rem; box-shadow: 0 20px 40px -20px #000; animation: float 7s ease-in-out infinite; font-family: var(--font); }
.about-copy p { max-width: 34em; }
.about-copy .h2 { margin-bottom: 28px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.about-facts li { flex: 1 1 200px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 2px; }
.about-facts strong { color: var(--text); font-size: 1.25rem; font-weight: 650; }
.about-facts span { color: var(--muted); font-size: 1rem; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.video-card:hover { transform: translateY(-8px); border-color: rgba(232, 184, 74, .3); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 20px 60px -30px rgba(31, 191, 107, .45); }
.thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.thumb.t1 { background: radial-gradient(70% 90% at 20% 30%, rgba(31, 191, 107, .35), transparent 60%), radial-gradient(60% 80% at 90% 90%, rgba(232, 184, 74, .22), transparent 60%), #0B0D10; }
.thumb.t2 { background: radial-gradient(70% 90% at 80% 20%, rgba(232, 184, 74, .32), transparent 60%), radial-gradient(60% 80% at 10% 100%, rgba(31, 191, 107, .22), transparent 60%), #0B0D10; }
.thumb.t3 { background: radial-gradient(80% 90% at 50% 0%, rgba(15, 143, 82, .4), transparent 60%), radial-gradient(50% 70% at 50% 110%, rgba(201, 162, 74, .3), transparent 60%), #0B0D10; }
.thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 28px 28px; }
.thumb-mark { position: absolute; width: 44%; height: auto; opacity: .22; transition: transform .8s var(--ease), opacity .5s; }
.video-card:hover .thumb-mark { transform: scale(1.08) rotate(-4deg); opacity: .32; }
.play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 245, 247, .12); border: 1px solid rgba(255, 255, 255, .25); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.play svg { width: 24px; height: 24px; margin-inline-start: 3px; }
[dir="rtl"] .play svg { margin-inline-start: 0; margin-inline-end: 3px; }
.video-card:hover .play { transform: scale(1.12); background: var(--gold); color: var(--bg); border-color: var(--gold); }
.dur { position: absolute; z-index: 1; bottom: 12px; inset-inline-end: 12px; padding: 3px 9px; border-radius: 8px; background: rgba(0, 0, 0, .6); color: var(--text); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.soon { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(7, 8, 10, .65); border: 1px solid var(--line-2); color: var(--gold); font-size: .8125rem; font-weight: 600; }
.v-body { padding: 24px 26px 28px; }
.v-tag { display: block; color: var(--em); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
html[lang="fa-AF"] .v-tag { text-transform: none; font-size: .9375rem; }
.video-card h3 { font-size: 1.3125rem; line-height: 1.35; letter-spacing: -.015em; }
html[lang="fa-AF"] .video-card h3 { line-height: 1.7; }
.center-note { text-align: center; color: var(--muted); margin: 48px auto 0; max-width: 36em; }

/* ---------- glow card (pointer-follow highlight) ---------- */
.glow-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 184, 74, .12), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* ---------- Social ---------- */
.social { background: radial-gradient(50% 60% at 10% 50%, rgba(15, 143, 82, .1), transparent 70%); }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.social-card { position: relative; display: flex; flex-direction: column; gap: 40px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: transform .5s var(--ease), border-color .4s, background-color .4s; overflow: hidden; }
.social-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.s-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--text); transition: background-color .4s, color .4s, box-shadow .4s; }
.s-icon svg { width: 26px; height: 26px; }
.social-card.yt:hover .s-icon { background: #FF0033; box-shadow: 0 10px 30px -8px rgba(255, 0, 51, .6); }
.social-card.ig:hover .s-icon { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); box-shadow: 0 10px 30px -8px rgba(221, 42, 123, .6); }
.social-card.tt:hover .s-icon { background: #111; box-shadow: -3px -3px 0 #25F4EE, 3px 3px 0 #FE2C55; }
.social-card.fb:hover .s-icon { background: #1877F2; box-shadow: 0 10px 30px -8px rgba(24, 119, 242, .6); }
.s-text { display: flex; flex-direction: column; gap: 2px; }
.s-name { color: var(--text); font-weight: 650; font-size: 1.25rem; font-family: var(--font); }
.s-handle { color: var(--muted); font-size: 1rem; font-family: var(--font); }
html[dir="rtl"] .s-handle { text-align: right; }
.s-arrow { position: absolute; top: 26px; inset-inline-end: 26px; color: var(--muted); font-size: 1.25rem; transition: transform .4s var(--ease), color .3s; }
[dir="rtl"] .s-arrow { transform: scaleX(-1); }
.social-card:hover .s-arrow { color: var(--gold); transform: translate(3px, -3px); }
[dir="rtl"] .social-card:hover .s-arrow { transform: scaleX(-1) translate(3px, -3px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; color: var(--text); font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.4; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item summary:hover .pm { border-color: var(--gold); }
.pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -.8px 0 0 -6.5px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm { transform: rotate(180deg); background: var(--gold); border-color: var(--gold); }
.faq-item[open] .pm::before, .faq-item[open] .pm::after { background: var(--bg); }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0; padding: 0 56px 30px 0; color: var(--text-2); max-width: 40em; }
[dir="rtl"] .faq-body p { padding: 0 0 30px 56px; }
.faq-body a { color: var(--gold); border-bottom: 1px solid rgba(232, 184, 74, .4); }

/* ---------- Contact ---------- */
.contact-card { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px); border-radius: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); isolation: isolate; }
.contact-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 120%, rgba(232, 184, 74, .25), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(31, 191, 107, .18), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(31, 191, 107, .1), transparent 70%); }
.contact-card .h2 { margin-bottom: 20px; }
.contact-text { max-width: 32em; margin: 0 auto 40px; color: var(--text-2); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); }
.mail-addr { margin: 22px 0 0; color: var(--muted); font-size: 1rem; }
.mail-addr a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 32px; align-items: start; }
.footer-tag { color: var(--muted); margin: 16px 0 0; font-size: 1rem; max-width: 22em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 10px; }
.footer-nav a { color: var(--text-2); font-size: 1rem; transition: color .25s; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: color .3s, border-color .3s, transform .4s var(--ease); }
.footer-social a:hover { color: var(--gold); border-color: rgba(232, 184, 74, .45); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; color: var(--muted); font-size: .9375rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; inset-inline: var(--gutter); height: 1px; background: var(--line); }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .main-nav { position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: rgba(7, 8, 10, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(2) { transition-delay: .05s; } .main-nav.open li:nth-child(3) { transition-delay: .1s; } .main-nav.open li:nth-child(4) { transition-delay: .15s; } .main-nav.open li:nth-child(5) { transition-delay: .2s; } .main-nav.open li:nth-child(6) { transition-delay: .25s; }
  .main-nav a { display: block; padding: 20px 0; font-size: 1.75rem; font-weight: 600; color: var(--text); border-radius: 0; background: none !important; letter-spacing: -.02em; }
  html[lang="fa-AF"] .main-nav a { font-size: 1.625rem; }
  .main-nav .nav-cta { border: 0; margin: 0; color: var(--gold); }
  .nav-actions { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: start; }
  .hero-visual { order: -1; }
  .star-wrap { width: min(78vw, 400px); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .about-photo { max-width: 420px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header.scrolled { --header-h: 58px; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 38px; height: 34px; }
  .hero { padding-top: calc(var(--header-h) + 8px); padding-bottom: 96px; align-items: flex-start; }
  .star-wrap { width: min(74vw, 300px); margin-inline: auto; }
  .eyebrow { font-size: .875rem; margin-bottom: 20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .video-grid, .social-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px; }
  .social-card { flex-direction: row; align-items: center; gap: 18px; padding: 20px; }
  .s-arrow { top: 50%; transform: translateY(-50%); }
  [dir="rtl"] .s-arrow { transform: translateY(-50%) scaleX(-1); }
  .social-card:hover .s-arrow { transform: translateY(-50%); }
  .faq-body p { padding-inline-end: 0 !important; padding-inline-start: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-chip { inset-inline-start: 12px; }
  .lang-opt { padding: 0 10px; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .star-svg .ng-pulses { display: none; }
  .js .reveal, .js .fade-in, .js .hero-title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .star-svg .ng-lines path, .js .star-svg .ng-circuit path { stroke-dashoffset: 0 !important; }
  .js .star-svg .ng-core, .js .star-svg .ng-halo, .js .star-svg .ng-spark, .js .star-svg .ng-facets, .js .star-svg .ng-dots { opacity: 1 !important; transform: none !important; }
}

/* --- fixes / extras --- */
.site-header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
.js .hero-title .grad-text { background: none; color: inherit; }
.hero-title .grad-text .w { background-repeat: no-repeat; }
.mission-text b { font-weight: inherit; color: var(--gold); }
.js .mission-text[data-ready] b { color: inherit; }

@media (min-width: 1100px) {
  .hero .container { max-width: 1360px; }
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); }
  .hero-copy { max-width: none; }
  .hero-title .line { white-space: nowrap; }
  .hero-title { font-size: min(calc(5.8vw - 10px), 4.4rem); }
  html[lang="fa-AF"] .hero-title { font-size: min(calc(5.3vw - 9px), 4rem); }
  .lead { max-width: 33em; }
}
.mission-text:not([data-ready]) .mw.hl { color: var(--gold); }
