/* ═══════════════════════════════════════════════════════════════
   Delroba marketing site
   Palette mirrors lib/config/theme.dart (gold + cream + warm depth)
   Motion: Emil-style craft (custom curves, scale-on-press, ease-out)
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --gold: #D6A84F;
  --gold-light: #F3D483;
  --gold-dark: #A9781F;
  --gold-deepest: #6E4D14;
  --cream: #FFFAEF;
  --cream-warm: #FFF8EA;
  --cream-hi: #FFFCF5;
  --peach: #FFE9A8;
  --surface: #FFFCF7;
  --surface-alt: #FFF1D2;
  --outline: #E9D5AA;
  --outline-soft: #F4E4BE;
  --text: #1F1A12;            /* darker for AA contrast */
  --text-muted: #62584A;
  --text-faint: #8C806E;
  --text-on-gold: #2D2414;
  --like: #E8577A;
  --like-dark: #C43460;
  --teal: #4ECDC4;
  --lapis: #5B9BD5;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(110,77,20,.05), 0 10px 24px -10px rgba(110,77,20,.12);
  --shadow-lg:   0 32px 64px -24px rgba(110,77,20,.22), 0 12px 24px -12px rgba(110,77,20,.14);
  --shadow-press: 0 1px 2px rgba(110,77,20,.06), 0 4px 10px -6px rgba(110,77,20,.18);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Motion: strong custom curves (Emil) */
  --ease-out:        cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-soft:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.77, 0, 0.175, 1);

  --d-press: 140ms;
  --d-hover: 200ms;
  --d-reveal: 480ms;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
*::selection { background: rgba(214,168,79,.32); color: var(--text); }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: 'Outfit', 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(243,212,131,.36), transparent 60%),
    radial-gradient(820px 460px at -10% 28%, rgba(255,233,168,.42), transparent 60%),
    linear-gradient(180deg, var(--cream-hi) 0%, #FFF3D9 46%, var(--cream-warm) 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle film grain, premium feel without noise */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.32 0 0 0 0 0.18 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .05; mix-blend-mode: multiply;
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--text); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 1000;
  font-size: 14px;
}
.skip:focus { left: 16px; }

/* ── Persian diamond pattern overlay ── */
.pattern {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .05;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M14 6 L22 14 L14 22 L6 14 Z' fill='none' stroke='%23A9781F' stroke-width='1'/></svg>");
  background-size: 28px 28px;
}

/* ─────────────────────── NAV ─────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(255, 250, 239, .72);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-hover) var(--ease-out),
              background var(--d-hover) var(--ease-out),
              box-shadow var(--d-hover) var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: rgba(233,213,170,.7);
  background: rgba(255, 250, 239, .92);
  box-shadow: 0 1px 0 rgba(110,77,20,.02), 0 10px 30px -20px rgba(110,77,20,.15);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  transition: transform var(--d-press) var(--ease-out);
}
.brand:active { transform: scale(0.97); }
.brand img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 2px 6px rgba(110,77,20,.18), inset 0 0 0 1px rgba(255,255,255,.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-en { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: var(--gold-dark); letter-spacing: .2px; }
.brand-fa { font-family: 'Vazirmatn', serif; font-size: 13px; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500;
  position: relative; padding: 6px 2px;
  transition: color var(--d-hover) var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold-dark); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-dark); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-links a[aria-current="true"] {
  color: var(--gold-dark);
}
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(214,168,79,.35);
  border-radius: 999px;
  background: rgba(255,252,245,.82);
  color: var(--gold-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color var(--d-hover) var(--ease-out),
    border-color var(--d-hover) var(--ease-out),
    background var(--d-hover) var(--ease-out),
    transform var(--d-press) var(--ease-out);
}
.lang-toggle:hover {
  border-color: rgba(169,120,31,.55);
  background: rgba(255,241,210,.92);
}
.lang-toggle:active { transform: scale(.97); }
.mobile-lang-toggle { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  cursor: pointer; border-radius: 8px;
  transition: background var(--d-hover) var(--ease-out), transform var(--d-press) var(--ease-out);
}
.nav-toggle:hover { background: rgba(214,168,79,.1); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ─────────────────────── BUTTONS ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 14px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform var(--d-press) var(--ease-out),
              box-shadow var(--d-hover) var(--ease-out),
              background var(--d-hover) var(--ease-out);
  will-change: transform;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 11px; }
.btn-primary {
  background: linear-gradient(135deg, #F6D989 0%, #E6BD63 50%, #C89434 100%);
  color: var(--text-on-gold);
  box-shadow:
    0 8px 20px -10px rgba(168,118,28,.6),
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -1px 0 rgba(123,82,16,.25) inset;
}
.btn-primary:hover {
  box-shadow:
    0 14px 30px -12px rgba(168,118,28,.7),
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -1px 0 rgba(123,82,16,.25) inset;
}
.btn-primary:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

/* ─────────────────────── HERO ─────────────────────── */
.hero { position: relative; z-index: 1; padding: 88px 24px 64px; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(214,168,79,.10); color: var(--gold-dark);
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid rgba(214,168,79,.22);
  backdrop-filter: blur(4px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(169,120,31,.15);
}
.display {
  font-family: 'Cormorant Garamond', 'Outfit', serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 22px 0 18px;
  color: #14110D;
}
.accent { color: var(--gold-dark); font-style: italic; padding-right: .04em; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 540px; margin: 0 0 32px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 18px; border-radius: 14px;
  background: #14110D; color: var(--cream-hi); text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform var(--d-press) var(--ease-out),
              box-shadow var(--d-hover) var(--ease-out),
              background var(--d-hover) var(--ease-out);
  min-width: 174px;
}
.store-btn:hover { background: #1F1B14; box-shadow: 0 16px 32px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.store-btn:active { transform: scale(0.97); }
.store-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 10px; opacity: .72; text-transform: uppercase; letter-spacing: .12em; }
.store-btn b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.store-btn-soon {
  cursor: default;
  user-select: none;
}
.store-btn-soon:hover {
  background: #14110D;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
.store-btn-soon:active {
  transform: none;
}
.hero-cta .btn {
  min-height: 50px;
}

.hero-meta {
  display: flex; gap: 36px; margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(233,213,170,.7);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta b { font-size: 15px; color: var(--gold-dark); font-weight: 600; letter-spacing: -.01em; }
.hero-meta span { font-size: 12.5px; color: var(--text-muted); }

.trust-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  max-width: 560px;
}
.trust-note span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(233,213,170,.85);
  border-radius: 999px;
  background: rgba(255,252,247,.68);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.trust-note span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(78,205,196,.14);
}

/* ─── Device shot (real app screenshot, frame baked in) ─── */
.hero-art {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 620px;
}
/* Wrapper supplies the missing right bezel cropped out of the screenshot,
   plus one drop-shadow for the whole device. */
.device-frame {
  position: relative; z-index: 2;
  display: inline-block;
  background: #14110D;
  border-radius: 46px;
  padding: 0 6px 8px 0;   /* fills in the missing right + bottom bezel */
  transform: rotate(-3deg);
  animation:
    deviceEnter 720ms var(--ease-out-soft) both,
    deviceFloat 4.8s ease-in-out 720ms infinite;
  filter:
    drop-shadow(0 28px 50px rgba(110, 77, 20, .28))
    drop-shadow(0 12px 24px rgba(0, 0, 0, .18));
}
.device-frame picture { display: block; }
.device-frame::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 58px;
  background:
    linear-gradient(135deg, rgba(214,168,79,.22), rgba(78,205,196,.12)),
    repeating-linear-gradient(45deg, rgba(169,120,31,.12) 0 1px, transparent 1px 11px);
  transform: rotate(3deg);
}
.device-shot {
  display: block;
  width: 300px; height: auto; max-width: 100%;
  border-radius: 44px 40px 40px 44px; /* right side rounding handled by wrapper */
}
@keyframes deviceEnter {
  from {
    opacity: 0;
    transform: translate3d(34px, 18px, 0) rotate(1deg) scale(.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-3deg) scale(1);
  }
}
@keyframes deviceFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(-3deg); }
}

/* ─────────────────────── SECTIONS ─────────────────────── */
.section { position: relative; z-index: 1; padding: 104px 24px; max-width: var(--maxw); margin: 0 auto; }
.section-tint {
  max-width: none; margin: 0;
  background:
    linear-gradient(180deg, transparent, rgba(255,233,168,.32) 40%, transparent),
    rgba(255, 248, 234, .55);
  border-top: 1px solid rgba(244,228,190,.8);
  border-bottom: 1px solid rgba(244,228,190,.8);
}
.section-tint > .section-head,
.section-tint > .grid,
.section-tint > .contact-wrap { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 60px; }
.kicker {
  display: inline-block; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0 auto 16px;
  max-width: 720px;
  color: #14110D;
}
.section-head p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 17px; line-height: 1.55; }

/* ─── Trust proof ─── */
.proof {
  position: relative;
  z-index: 1;
  padding: 18px 24px 42px;
}
.proof-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.proof-copy,
.proof-panel,
.proof-list {
  background: rgba(255,252,247,.72);
  border: 1px solid rgba(233,213,170,.86);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.proof-copy {
  padding: 28px;
}
.proof-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #14110D;
  margin: 0 0 10px;
}
.proof-copy p {
  color: var(--text-muted);
  margin: 0;
  max-width: 50ch;
}
.proof-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255,241,210,.86), rgba(224,247,245,.44)),
    var(--surface);
}
.proof-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(20,17,13,.9);
  color: var(--cream-hi);
  box-shadow: var(--shadow-press);
}
.proof-mark svg {
  width: 25px;
  height: 25px;
}
.proof-panel h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
  color: #14110D;
}
.proof-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 58ch;
}
.proof-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: rgba(233,213,170,.82);
}
.proof-list article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 24px;
  background: var(--surface);
}
.proof-list b {
  color: #14110D;
  font-size: 15px;
  letter-spacing: -.005em;
}
.proof-list span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── Features grid ─── */
.grid.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 260ms var(--ease-out),
              box-shadow 280ms var(--ease-out),
              border-color 220ms var(--ease-out);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,168,79,.4), transparent);
  opacity: 0; transition: opacity 280ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(214,168,79,.45);
  }
  .card:hover::before { opacity: 1; }
}
.ic {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(243,212,131,.42), rgba(214,168,79,.16));
  color: var(--gold-dark);
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(214,168,79,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18.5px; font-weight: 600; margin: 0 0 8px; color: #14110D; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── Why grid ─── */
.grid.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-item {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative; overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.why-item::before {
  content: ""; position: absolute; top: -1px; left: 28px; width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 0 0 6px 6px;
}
@media (hover: hover) and (pointer: fine) {
  .why-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
}
.why-num {
  font-family: 'Vazirmatn', serif;
  font-size: 34px; font-weight: 700;
  color: var(--gold);
  line-height: 1; margin-bottom: 18px;
}
.why-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; margin: 0 0 10px; line-height: 1.22; color: #14110D; letter-spacing: -.01em; }
.why-item p { color: var(--text-muted); margin: 0; font-size: 15px; line-height: 1.65; }

/* ─── Steps ─── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.steps li {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  position: relative;
  transition: transform 260ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}
.step-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .2em; color: var(--gold-dark);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(214,168,79,.12);
  border: 1px solid rgba(214,168,79,.22);
  margin-bottom: 18px;
}
.steps h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin: 0 0 8px; font-weight: 600; color: #14110D; letter-spacing: -.01em; }
.steps p { color: var(--text-muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* ─── Download strip ─── */
.strip {
  position: relative; z-index: 1;
  margin: 40px auto; max-width: var(--maxw); padding: 0 24px;
}
.strip-inner {
  background: linear-gradient(135deg, #1F1B14 0%, #2A2418 100%);
  color: var(--cream-hi); border-radius: 28px;
  padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.strip-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M14 6 L22 14 L14 22 L6 14 Z' fill='none' stroke='%23F3D483' stroke-width='1'/></svg>");
  background-size: 28px 28px; opacity: .08;
}
.strip-inner::after {
  content: "";
  position: absolute;
  right: -42px;
  top: 22px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(243,212,131,.28);
  transform: rotate(45deg);
  pointer-events: none;
}
.strip h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 8px; font-weight: 600; letter-spacing: -.015em; }
.strip p { margin: 0; color: rgba(255,252,245,.74); }
.strip .store-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.strip .store-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); }
.strip .store-btn-soon:hover { background: rgba(255,255,255,.08); }

/* ─── Waitlist ─── */
.waitlist-section {
  padding-top: 78px;
}
.waitlist-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.waitlist-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 12px 0 14px;
  color: #14110D;
}
.waitlist-copy p {
  color: var(--text-muted);
  margin: 0;
  max-width: 56ch;
  font-size: 17px;
}
.waitlist-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.waitlist-promise span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(214,168,79,.12);
  border: 1px solid rgba(214,168,79,.22);
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 600;
}
.waitlist-form {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.waitlist-form span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  background: rgba(255,241,210,.45);
  border: 1px solid rgba(233,213,170,.8);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 200ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              background 200ms var(--ease-out);
}
.waitlist-form select {
  min-height: 52px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%),
    linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[dir="rtl"] .waitlist-form select {
  background-position:
    20px 21px,
    14px 21px;
}
.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: var(--text-faint);
}
.waitlist-form input:hover,
.waitlist-form select:hover,
.waitlist-form textarea:hover {
  border-color: rgba(214,168,79,.5);
}
.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214,168,79,.18);
  background-color: var(--cream-hi);
}
.waitlist-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.waitlist-form .btn {
  margin-top: 6px;
  align-self: stretch;
}
.waitlist-form .btn[disabled] {
  cursor: not-allowed;
  opacity: .72;
  transform: none;
}
.form-status {
  min-height: 20px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.form-status[data-state="success"] {
  color: #256C45;
}
.form-status[data-state="error"] {
  color: var(--like-dark);
}

/* ─── FAQ ─── */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 220ms var(--ease-out), box-shadow 240ms var(--ease-out), background 200ms var(--ease-out);
}
.faq details:hover { border-color: rgba(214,168,79,.4); }
.faq details[open] { border-color: rgba(214,168,79,.45); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 500; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: #14110D;
  transition: color 200ms var(--ease-out);
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-dark);
  border-bottom: 1.5px solid var(--gold-dark);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 240ms var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--gold-dark); }
.faq summary:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: -2px; border-radius: 6px; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.faq a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: rgba(169,120,31,.35); text-underline-offset: 3px; }
.faq a:hover { text-decoration-color: var(--gold-dark); }

/* ─── Contact ─── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600; margin: 12px 0 14px; line-height: 1.08;
  letter-spacing: -.02em; color: #14110D;
}
.contact-copy p { color: var(--text-muted); margin: 0 0 22px; font-size: 17px; line-height: 1.6; }
.mail-link {
  display: inline-block; font-size: 22px; font-weight: 500;
  color: var(--gold-dark); text-decoration: none;
  border-bottom: 1.5px solid rgba(169,120,31,.5);
  padding: 4px 0;
  font-family: 'Cormorant Garamond', serif;
  transition: color var(--d-hover) var(--ease-out), border-color var(--d-hover) var(--ease-out);
}
.mail-link:hover { color: var(--gold); border-color: var(--gold); }
.muted { color: var(--text-faint); font-size: 14px; margin-top: 14px; }

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(244,228,190,.9);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 14px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form span { font-size: 12.5px; font-weight: 500; color: var(--text-muted); letter-spacing: .02em; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px;
  font: inherit; font-size: 15px;
  background: rgba(255,241,210,.45);
  border: 1px solid rgba(233,213,170,.8);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 200ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              background 200ms var(--ease-out);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-faint); }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(214,168,79,.5); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 0; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214,168,79,.18);
  background: var(--cream-hi);
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.contact-form .btn { margin-top: 6px; align-self: stretch; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin: 0; text-align: center; }

/* ─────────────────────── FOOTER ─────────────────────── */
.footer {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(214,168,79,.06));
  border-top: 1px solid rgba(244,228,190,.9);
  padding: 64px 24px 24px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 280px; margin-top: 10px; line-height: 1.55; }
.footer-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .22em; color: var(--gold-dark); margin: 0 0 14px; font-weight: 600; }
.footer-col a,
.footer-col span {
  display: block; color: var(--text); text-decoration: none; font-size: 13.5px;
  padding: 5px 0;
}
.footer-col a {
  transition: color 200ms var(--ease-out), transform 220ms var(--ease-out);
}
.footer-col a:hover { color: var(--gold-dark); transform: translateX(2px); }
.store-mini { color: var(--text-muted); }
.store-mini::before { content: "• "; color: var(--gold); }
.footer-bottom {
  max-width: var(--maxw); margin: 48px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(244,228,190,.9);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-faint); font-size: 12.5px; flex-wrap: wrap; gap: 12px;
}
.brand-fa-small { font-family: 'Vazirmatn', serif; color: var(--gold-dark); font-size: 16px; }

/* ─────────────────────── RTL / FARSI ─────────────────────── */
[lang="fa"] body {
  font-family: 'Vazirmatn', 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
[dir="rtl"] body {
  text-align: right;
}
[dir="rtl"] .brand-text,
[dir="rtl"] .store-btn span,
[dir="rtl"] .hero-meta div,
[dir="rtl"] .waitlist-form label,
[dir="rtl"] .contact-form label {
  text-align: right;
}
[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}
[dir="rtl"] .accent {
  padding-right: 0;
  padding-left: .04em;
}
[dir="rtl"] .proof-panel {
  grid-template-columns: 1fr auto;
}
[dir="rtl"] .faq summary::after {
  transform: rotate(135deg) translate(-2px, -2px);
}
[dir="rtl"] .faq details[open] summary::after {
  transform: rotate(315deg) translate(-2px, -2px);
}
[dir="rtl"] .footer-col a:hover {
  transform: translateX(-2px);
}

/* ═══════════════════ LEGAL PAGES ═══════════════════ */
.legal {
  max-width: 740px; margin: 0 auto; padding: 80px 24px 60px;
  position: relative; z-index: 1;
}
.legal h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 54px); font-weight: 600; margin: 0 0 8px;
  color: #14110D; letter-spacing: -.02em; line-height: 1.05;
}
.legal .updated { color: var(--text-faint); margin-bottom: 40px; font-size: 13.5px; }
.legal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600; color: #14110D;
  margin: 44px 0 12px; letter-spacing: -.01em;
}
.legal p, .legal li { color: var(--text); font-size: 16px; line-height: 1.75; }
.legal a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: rgba(169,120,31,.35); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--gold-dark); }
.legal ul { padding-left: 22px; }
.legal-nav {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted);
  text-decoration: none; margin-bottom: 32px; font-size: 13.5px;
  transition: color 200ms var(--ease-out), transform 220ms var(--ease-out);
}
.legal-nav:hover { color: var(--gold-dark); transform: translateX(-2px); }

/* ═══════════════════ SCROLL REVEAL ═══════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--d-reveal) var(--ease-out-soft),
              transform var(--d-reveal) var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { min-height: 460px; }
  .hero { padding: 56px 24px 40px; }
  .grid.features { grid-template-columns: 1fr 1fr; }
  .proof-inner { grid-template-columns: 1fr; }
  .proof-list { grid-template-columns: 1fr; }
  .grid.why { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .waitlist-wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { display: none; }
  .mobile-menu {
    display: none; flex-direction: column; gap: 4px;
    padding: 12px 24px 22px;
    background: rgba(255,250,239,.98);
    border-top: 1px solid rgba(244,228,190,.9);
    backdrop-filter: blur(14px);
  }
  .mobile-menu[data-open="true"] { display: flex; animation: slideDown 240ms var(--ease-out); }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .mobile-menu a {
    display: flex; align-items: center;
    min-height: 44px;
    padding: 12px 0; text-decoration: none; color: var(--text);
    border-bottom: 1px solid rgba(244,228,190,.9); font-size: 15px;
    transition: color 180ms var(--ease-out), padding-left 200ms var(--ease-out);
  }
  .mobile-menu a[aria-current="true"] {
    color: var(--gold-dark);
    font-weight: 600;
  }
  @media (hover: hover) and (pointer: fine) {
    .mobile-menu a:hover { color: var(--gold-dark); padding-left: 4px; }
  }
  .mobile-menu a:last-child { border-bottom: 0; margin-top: 8px; }
  .mobile-lang-toggle {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 8px;
  }
  .strip-inner { padding: 40px 28px; }
  .section { padding: 72px 24px; }
  .proof { padding-bottom: 28px; }
}

@media (max-width: 560px) {
  .grid.features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .hero-meta div { flex: 1; min-width: 0; }
  .display { font-size: clamp(36px, 10vw, 48px); }
  .device-shot { width: 260px; }
  .store-btn { width: 100%; min-width: 0; flex: 1 1 100%; padding-left: 16px; padding-right: 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { gap: 10px; }
  .hero-meta { margin-top: 30px; padding-top: 20px; }
  .trust-note { margin-top: 14px; }
  .proof { padding: 10px 20px 22px; }
  .proof-copy,
  .proof-panel,
  .proof-list article { padding: 22px; }
  .proof-panel { grid-template-columns: 1fr; }
  .waitlist-section { padding-top: 58px; }
  .waitlist-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .section-head { margin-bottom: 44px; }
  .strip-inner { padding: 36px 24px; }
}

/* Universal focus ring */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 6px;
}
