@font-face { font-family: Vazir; src: url(assets/fonts/Vazir-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Vazir; src: url(assets/fonts/Vazir.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazir; src: url(assets/fonts/Vazir-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazir; src: url(assets/fonts/Vazir-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #120920;
  --bg-2: #1b0f2e;
  --plum: #3b1f63;
  --line: rgb(255 255 255 / .08);
  --line-gold: rgb(232 196 112 / .28);
  --text: #f4eefb;
  --muted: #b9abcc;
  --gold-1: #fbe3a1;
  --gold-2: #e5b85a;
  --gold-3: #b9852b;
  --gold: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Vazir, Tahoma, sans-serif;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgb(110 60 170 / .35), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgb(229 184 90 / .08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 17px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--gold-2); color: #1b0f2e; padding: .5rem 1rem; border-radius: 10px; z-index: 99; }
.skip:focus { top: 1rem; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2.5rem); }
.gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--gold-2); font-weight: 500; font-size: .9rem; letter-spacing: .02em; margin-bottom: .75rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sub, .lead { color: var(--muted); }
.lead { font-size: 1.15rem; max-width: 34rem; margin-top: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--gold); color: #24123a; font-weight: 700;
  box-shadow: 0 10px 30px -10px rgb(229 184 90 / .6), inset 0 1px 0 rgb(255 255 255 / .5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgb(229 184 90 / .75), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--ghost { background: rgb(255 255 255 / .04); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--line-gold); box-shadow: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgb(18 9 32 / .65); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.1rem; }
.brand img { border-radius: 12px; box-shadow: 0 0 0 1px var(--line-gold); }
.nav__links { display: flex; gap: 2rem; color: var(--muted); font-size: .95rem; }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--gold-1); }

/* Hero */
.hero { position: relative; padding: 5rem 0 6rem; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgb(229 184 90 / .18), transparent 60%); filter: blur(20px); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; position: relative; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
.cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; padding: 0; margin-top: 2.4rem; color: var(--muted); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: .45rem; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__facts b { color: var(--text); font-weight: 500; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 600px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-gold); }
.ring--1 { width: 520px; height: 520px; animation: spin 60s linear infinite; border-style: dashed; opacity: .5; }
.ring--2 { width: 400px; height: 400px; background: radial-gradient(circle, rgb(59 31 99 / .9), transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 16; padding: 10px;
  border-radius: 40px; background: linear-gradient(160deg, #3a2a52, #120a1e);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 0 0 2px #0b0613, 0 40px 80px -20px rgb(0 0 0 / .8), 0 0 60px -10px rgb(229 184 90 / .25);
  flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; }
.phone--hero { width: 300px; transform: rotate(-4deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-14px); } }

.chip {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 16px; font-size: .9rem; color: var(--muted);
  background: rgb(36 20 58 / .75); border: 1px solid var(--line-gold);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -15px rgb(0 0 0 / .7);
}
.chip b { color: var(--gold-1); font-weight: 700; }
.chip--a { top: 18%; inset-inline-end: 0; animation: float2 6s ease-in-out infinite; }
.chip--b { bottom: 16%; inset-inline-start: 0; animation: float2 8s ease-in-out infinite reverse; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5bd69a; box-shadow: 0 0 10px #5bd69a; }
@keyframes float2 { 50% { transform: translateY(-10px); } }

/* Strip */
.strip { border-block: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .03), transparent); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__in div { padding: 1.8rem 1rem; text-align: center; display: grid; gap: .2rem; }
.strip__in div + div { border-inline-start: 1px solid var(--line); }
.strip b { font-size: 1.35rem; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 7rem 0 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.head h2, .precision h2, .vault h2, .final h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.head .sub { margin-top: 1rem; font-size: 1.05rem; }

/* Live prices */
.live { width: 9px; height: 9px; border-radius: 50%; background: #5bd69a; box-shadow: 0 0 0 0 rgb(91 214 154 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(91 214 154 / 0); } 100% { box-shadow: 0 0 0 0 rgb(91 214 154 / 0); } }
.prices .eyebrow::before, .prices .head .eyebrow::after { display: none; }
.ticker { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: 1rem; }
.tick { padding: 1.4rem 1.5rem; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); transition: border-color .3s; }
.tick:hover { border-color: var(--line-gold); }
.tick header { margin-bottom: .9rem; }
.tick h3 { font-size: 1.05rem; }
.tick header span { color: var(--muted); font-size: .82rem; }
.tick__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tick__row span { color: var(--muted); font-size: .88rem; }
.tick__row b { font-size: 1.45rem; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.tick__buy b { font-size: 1.05rem; background: none; color: var(--text); font-weight: 500; }
.prices__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.4rem; opacity: .8; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015));
  border: 1px solid var(--line); overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 100% 0%, rgb(229 184 90 / .1), transparent 70%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: center; }
.card--wide > :not(.calc, .bars) { grid-column: 1; }
.card h3 { font-size: 1.2rem; margin: 1.1rem 0 .5rem; }
.card p { color: var(--muted); font-size: .97rem; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgb(229 184 90 / .1); border: 1px solid var(--line-gold); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-1); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.calc, .bars { grid-column: 2; grid-row: 1 / span 3; }
.calc { min-width: 220px; padding: 1.1rem 1.3rem; border-radius: 16px; background: rgb(10 5 18 / .55); border: 1px solid var(--line); font-size: .92rem; }
.calc div { display: flex; justify-content: space-between; gap: 2rem; padding: .35rem 0; color: var(--muted); }
.calc b { color: var(--text); font-weight: 500; }
.calc__sum { border-top: 1px dashed var(--line-gold); margin-top: .4rem; padding-top: .7rem !important; }
.bars { display: flex; align-items: flex-end; gap: .55rem; height: 140px; padding: 1rem; border-radius: 16px; background: rgb(10 5 18 / .55); border: 1px solid var(--line); }
.bars i { width: 22px; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--gold); opacity: .9; transform-origin: bottom; }
.js .reveal .bars i, .js .card.reveal .bars i { transform: scaleY(0); transition: transform 1s var(--ease); }
.js .reveal.in .bars i { transform: none; }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; }

/* Precision */
.precision__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.precision .sub { margin-top: 1rem; }
.ticks { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .75rem; }
.ticks li { display: flex; gap: .75rem; align-items: baseline; }
.ticks li::before { content: "✓"; color: #24123a; background: var(--gold); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; flex: none; transform: translateY(4px); }
.formula {
  padding: 2.4rem; border-radius: 28px; position: relative;
  background: linear-gradient(160deg, rgb(59 31 99 / .7), rgb(18 9 32 / .9));
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .06);
}
.formula__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; color: var(--muted); }
.formula__row b { color: var(--text); font-size: 1.5rem; font-weight: 500; direction: ltr; }
.formula__op { text-align: center; color: var(--gold-2); font-size: 1.4rem; margin: .5rem 0; }
.formula__line { height: 1px; background: var(--gold); margin: 1.2rem 0; opacity: .6; }
.formula__res b { font-size: 2.1rem; font-weight: 700; }
.formula__note { margin-top: 1.4rem; font-size: .85rem; color: var(--muted); text-align: center; opacity: .8; }

/* Screenshots */
.shots {
  display: flex; gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem max(1.25rem, (100vw - 1180px) / 2) 3rem; scrollbar-width: thin; scrollbar-color: var(--plum) transparent;
}
.shot { flex: none; width: 270px; scroll-snap-align: center; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-gold); box-shadow: 0 40px 70px -25px rgb(0 0 0 / .85), 0 0 50px -15px rgb(229 184 90 / .25); transition: transform .5s var(--ease); }
.shot img { width: 100%; }
.shot:hover { transform: translateY(-8px); }
.shot:nth-child(even) { margin-top: 3rem; }

/* Privacy */
.vault {
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
  padding: 3.5rem; border-radius: 32px;
  background: radial-gradient(600px 300px at 0% 100%, rgb(229 184 90 / .1), transparent 70%), linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .01));
  border: 1px solid var(--line);
}
.vault__lock { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgb(59 31 99), rgb(18 9 32)); border: 1px solid var(--line-gold); box-shadow: 0 0 80px -10px rgb(229 184 90 / .3); }
.vault__lock svg { width: 76px; fill: none; stroke: var(--gold-1); stroke-width: 2.5; stroke-linecap: round; }
.vault .sub { margin-top: 1rem; max-width: 42rem; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.pills span { padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line-gold); color: var(--gold-1); font-size: .88rem; background: rgb(229 184 90 / .06); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps li { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgb(255 255 255 / .025); }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; font-weight: 700; color: #24123a; background: var(--gold); box-shadow: 0 0 0 6px rgb(229 184 90 / .1); }
.steps h3 { margin: 1.1rem 0 .4rem; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / .025); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-gold); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 1.5rem; font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-2); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.5rem 1.3rem; color: var(--muted); }

/* Final */
.final {
  text-align: center; padding: 4.5rem 2rem; border-radius: 36px; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 0%, rgb(229 184 90 / .18), transparent 70%), linear-gradient(180deg, var(--plum), var(--bg-2));
  border: 1px solid var(--line-gold);
}
.final img { margin: 0 auto 1.5rem; border-radius: 24px; box-shadow: 0 20px 50px -15px rgb(229 184 90 / .5); }
.final .sub { margin: .8rem 0 2rem; }

/* Footer */
.foot { margin-top: 6rem; border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot .brand { color: var(--text); font-size: 1rem; }

/* Reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: 3rem; }
  .hero__grid, .precision__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .hero__facts { justify-content: center; }
  .hero__art { min-height: 520px; }
  .ring--1 { width: 420px; height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .vault { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.5rem; }
  .vault__lock { margin-inline: auto; }
  .pills { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn--sm { padding: .45rem .9rem; font-size: .85rem; }
  .brand span { font-size: 1rem; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__in div:nth-child(3) { border-inline-start: 0; }
  .strip__in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; grid-template-columns: 1fr; }
  .calc, .bars { grid-column: 1; grid-row: auto; margin-top: 1.4rem; }
  .phone--hero { width: 250px; }
  .ring--1 { width: 340px; height: 340px; }
  .ring--2 { width: 280px; height: 280px; }
  .chip { font-size: .8rem; padding: .55rem .85rem; }
  .shot { width: 220px; }
  .section { padding-top: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .bars i { transform: none; }
}
