/* ════════════════════════════════════════════════════
   JADVALU LANDING — style.css
   Font: local Vazirmatn (same as /app)
════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/app/font.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: #060f0e;
  color: #d8efec;
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Tokens ────────────────────────────────────────── */
:root {
  --teal:   #0d9488;
  --teal-d: #0f766e;
  --teal-l: #2dd4bf;
  --amber:  #e9a84c;
  --amber-d:#c87e25;
  --green:  #22c55e;
  --rose:   #f43f5e;
  --sky:    #38bdf8;
  --purple: #a78bfa;

  --bg:     #060f0e;
  --bg2:    #0c1a19;
  --bg3:    #112120;
  --surf:   #162524;
  --bd:     rgba(13,148,136,0.18);
  --bd2:    rgba(13,148,136,0.32);
  --txt:    #d8efec;
  --muted:  #5a9e98;

  --r1: 8px; --r2: 14px; --r3: 20px; --r4: 28px; --rf: 9999px;
  --e1: 0 1px 4px rgba(0,0,0,0.4);
  --e2: 0 4px 16px rgba(0,0,0,0.5);
  --e3: 0 10px 40px rgba(0,0,0,0.6);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ── Utility ───────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scroll reveal ─────────────────────────────────── */
.reveal        { opacity: 0; transform: translateY(32px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.reveal.in     { opacity: 1; transform: translateY(0); }
.reveal-child  { opacity: 0; transform: translateY(24px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.reveal-child.in { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  padding: 0 24px;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  background: rgba(6,15,14,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(13,148,136,0.15);
}
.nav__inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav__logo {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px;
  color: white;
}
.nav__logo-accent { color: var(--teal-l); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--rf);
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: white; font-size: 0.88rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
  transition: transform 0.12s var(--ease-spring), box-shadow 0.12s;
}
.nav__cta:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(13,148,136,0.45); }
.nav__cta-arr { transition: transform 0.15s; }
.nav__cta:hover .nav__cta-arr { transform: translateX(-3px); }

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0a2927 0%, var(--bg) 70%);
}

/* Animated crossword grid background */
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 3px; padding: 24px;
  opacity: 0.18;
}
.hero__grid-bg .gcell {
  border-radius: 4px;
  background: transparent;
  transition: background 0.3s, opacity 0.3s;
}
.hero__grid-bg .gcell.lit {
  background: var(--teal);
  box-shadow: 0 0 8px rgba(13,148,136,0.6);
}
.hero__grid-bg .gcell.black { background: rgba(255,255,255,0.03); }

/* Noise texture overlay */
.hero__noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 80px 24px 40px;
}

.hero__eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--teal-l); text-transform: uppercase;
  padding: 5px 18px; border-radius: var(--rf);
  border: 1px solid rgba(45,212,191,0.25);
  background: rgba(45,212,191,0.07);
  animation: fadeDown 0.7s var(--ease-out) 0.1s both;
}

.hero__title {
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 900; line-height: 1; letter-spacing: -4px;
  animation: fadeDown 0.7s var(--ease-out) 0.2s both;
}
.hero__title-main {
  background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(13,148,136,0.4));
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--teal-l), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(45,212,191,0.5));
}

.hero__sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(216,239,236,0.65); max-width: 460px; line-height: 1.8;
  animation: fadeDown 0.7s var(--ease-out) 0.32s both;
}

.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: fadeDown 0.7s var(--ease-out) 0.44s both;
}

/* Floating letter chips */
.hero__chips-preview {
  display: flex; gap: 10px;
  animation: fadeDown 0.7s var(--ease-out) 0.56s both;
  margin-top: 8px;
}
.hcp {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  background: rgba(13,148,136,0.15); border: 1.5px solid rgba(13,148,136,0.3);
  color: var(--teal-l);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.07);
}
.hcp--a { animation: floatChip 3.2s ease-in-out infinite; }
.hcp--b { animation: floatChip 3.2s ease-in-out 0.3s infinite; }
.hcp--c { animation: floatChip 3.2s ease-in-out 0.6s infinite; }
.hcp--d { animation: floatChip 3.2s ease-in-out 0.9s infinite; }

.hero__scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(45,212,191,0.5);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Vazirmatn', Tahoma, sans-serif; font-weight: 700;
  border-radius: var(--rf); border: none; cursor: pointer;
  transition: transform 0.14s var(--ease-spring), box-shadow 0.14s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.95) !important; }

.btn--hero {
  padding: 14px 30px; font-size: 1rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: white; box-shadow: 0 6px 24px rgba(13,148,136,0.4);
}
.btn--hero:hover { transform: scale(1.04); box-shadow: 0 10px 32px rgba(13,148,136,0.5); }

.btn--ghost-hero {
  padding: 14px 26px; font-size: 1rem;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn--ghost-hero:hover { background: rgba(255,255,255,0.09); color: white; border-color: rgba(255,255,255,0.3); }

.btn--cta {
  padding: 16px 40px; font-size: 1.05rem;
  background: white; color: #0a2927;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.btn--cta:hover { transform: scale(1.04); box-shadow: 0 14px 36px rgba(0,0,0,0.4); }

/* ════════════════════════════════════════════════════
   MARQUEE
════════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden; padding: 10px 0;
  background: rgba(13,148,136,0.06); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
}
.marquee {
  display: flex; gap: 32px; width: max-content;
  animation: marqueeRun 18s linear infinite;
  font-size: 0.82rem; font-weight: 700; color: var(--muted);
  white-space: nowrap;
}
.marquee span { flex-shrink: 0; }

/* ════════════════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════════════════ */
.section-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-l);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900; color: white; letter-spacing: -0.5px;
  margin-bottom: 40px; line-height: 1.2;
}

/* ════════════════════════════════════════════════════
   DEMO CROSSWORD
════════════════════════════════════════════════════ */
.demo { padding: 90px 0; }
.crossword-demo {
  display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap;
}
.cwd-grid {
  display: grid;
  grid-template-columns: repeat(5, 54px);
  grid-template-rows: repeat(5, 54px);
  gap: 3px; flex-shrink: 0;
}
.cwd-cell {
  width: 54px; height: 54px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900;
  position: relative;
}
.cwd-cell--black { background: #08211f; }
.cwd-cell--empty {
  background: var(--surf); border: 1.5px solid var(--bd);
  transition: background 0.2s, border-color 0.2s;
}
.cwd-cell--active {
  background: rgba(13,148,136,0.18); border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
  color: var(--teal-l);
}
.cwd-cell--filled { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.cwd-cell__num {
  position: absolute; top: 3px; right: 4px;
  font-size: 0.5rem; font-weight: 700; color: var(--muted); line-height: 1;
}

.cwd-clues { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.cwd-clues__label {
  font-size: 0.7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 8px;
  border-bottom: 1px solid var(--bd); margin-bottom: 4px;
}
.clue-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r2); background: rgba(255,255,255,0.02);
  border: 1px solid transparent; cursor: pointer; transition: all 0.14s;
}
.clue-item:hover { background: rgba(13,148,136,0.07); border-color: var(--bd); }
.clue-item--active { background: rgba(13,148,136,0.12); border-color: var(--teal); }
.clue-num {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,148,136,0.2); color: var(--teal-l); font-size: 0.72rem; font-weight: 800;
}
.clue-dir { font-size: 0.9rem; color: var(--muted); flex-shrink: 0; }
.clue-text { font-size: 0.88rem; color: var(--txt); }
.clue-item--active .clue-text { color: white; font-weight: 600; }

/* ════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════ */
.features {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,148,136,0.03) 50%, transparent 100%);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.feat-card {
  padding: 26px; border-radius: var(--r3);
  background: var(--bg2); border: 1px solid var(--bd);
  box-shadow: var(--e1);
  transition: transform 0.18s var(--ease-spring), box-shadow 0.18s, border-color 0.18s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--e3); border-color: var(--bd2); }

.feat-card__icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-card__icon-wrap--amber { background: rgba(233,168,76,0.12); }
.feat-card__icon-wrap--teal  { background: rgba(13,148,136,0.12); }
.feat-card__icon-wrap--green { background: rgba(34,197,94,0.1); }
.feat-card__icon-wrap--purple{ background: rgba(167,139,250,0.1); }
.feat-card__icon-wrap--rose  { background: rgba(244,63,94,0.1); }
.feat-card__icon-wrap--sky   { background: rgba(56,189,248,0.1); }
.feat-card__icon { font-size: 1.6rem; }

.feat-card__title {
  font-size: 1.05rem; font-weight: 800; color: white;
  margin-bottom: 8px;
}
.feat-card__body { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════ */
.how { padding: 90px 0; }
.how-steps {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: wrap;
}
.how-step {
  flex: 1; min-width: 200px; display: flex; gap: 18px; align-items: flex-start;
  padding: 0 20px;
}
.how-step:first-child { padding-right: 0; }
.how-step:last-child  { padding-left: 0; }

.how-step__num {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--teal-l);
  background: rgba(13,148,136,0.12); border: 1.5px solid rgba(13,148,136,0.25);
  margin-top: 2px;
}
.how-step__body h3 { font-size: 1rem; font-weight: 800; color: white; margin-bottom: 6px; }
.how-step__body p  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

.how-connector {
  width: 48px; flex-shrink: 0; height: 2px; margin-top: 26px;
  background: linear-gradient(90deg, var(--bd2), var(--bd));
  position: relative;
}
.how-connector::after {
  content: '←'; position: absolute; right: -8px; top: -9px;
  font-size: 0.8rem; color: var(--muted);
}

/* ════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════ */
.stats {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
}
.stat-item { text-align: center; }
.stat-item__val {
  font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 900; color: white;
  line-height: 1;
  background: linear-gradient(135deg, white 40%, rgba(45,212,191,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item__lbl { font-size: 0.8rem; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════ */
.testimonials { padding: 90px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.testi-card {
  padding: 26px; border-radius: var(--r3);
  background: var(--bg2); border: 1px solid var(--bd);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.18s var(--ease-spring), border-color 0.18s;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--bd2); }
.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 3px; }
.testi-text {
  font-size: 0.92rem; color: var(--txt); line-height: 1.85;
  flex: 1; border-right: 2px solid rgba(45,212,191,0.3); padding-right: 14px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(13,148,136,0.15); border: 1.5px solid rgba(13,148,136,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: var(--teal-l);
}
.testi-name  { font-size: 0.88rem; font-weight: 700; color: white; }
.testi-since { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════
   LEADERBOARD
════════════════════════════════════════════════════ */
.lb-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,148,136,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
}
.lb-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.lb-table { display: flex; flex-direction: column; gap: 10px; }
.lb-row {
  display: grid; grid-template-columns: 36px 40px 1fr auto auto; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--r2);
  background: rgba(255,255,255,0.02); border: 1px solid var(--bd);
  transition: border-color 0.15s, background 0.15s;
}
.lb-row:hover { background: rgba(255,255,255,0.04); border-color: var(--bd2); }
.lb-row--gold   { background: rgba(233,168,76,0.06);   border-color: rgba(233,168,76,0.22); }
.lb-row--silver { background: rgba(156,163,175,0.05);  border-color: rgba(156,163,175,0.18); }
.lb-row--bronze { background: rgba(180,83,9,0.05);     border-color: rgba(180,83,9,0.18); }
.lb-rank { font-size: 1.3rem; text-align: center; }
.lb-rank--num { font-size: 0.9rem; font-weight: 800; color: var(--muted); }
.lb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,148,136,0.12); border: 1px solid rgba(13,148,136,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--teal-l); flex-shrink: 0;
}
.lb-name  { font-size: 0.88rem; font-weight: 700; color: var(--txt); }
.lb-bars  { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; min-width: 60px; }
.lb-bar   { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-l)); }
.lb-score { font-size: 0.78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.lb-aside { position: sticky; top: 80px; }
.lb-join {
  padding: 28px; border-radius: var(--r3);
  background: linear-gradient(145deg, #0a2927, #0e3835);
  border: 1px solid var(--bd2);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.lb-join__icon  { font-size: 3rem; }
.lb-join__title { font-size: 1.1rem; font-weight: 800; color: white; }
.lb-join__body  { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════ */
.faq { padding: 90px 0; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border-radius: var(--r2); background: var(--bg2);
  border: 1px solid var(--bd); overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item.open { border-color: var(--bd2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 17px 20px;
  background: none; border: none; cursor: pointer;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--txt); text-align: right;
  transition: background 0.13s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-ico {
  font-size: 1.4rem; font-weight: 300; color: var(--teal-l); flex-shrink: 0; line-height: 1;
  transition: transform 0.22s var(--ease-spring);
}
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a {
  font-size: 0.88rem; color: var(--muted); line-height: 1.85;
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 160px; padding: 0 20px 18px; }

/* ════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0; position: relative; overflow: hidden;
  text-align: center;
}
.cta-section__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(13,148,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-box__logo {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -2px;
  color: rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 30%, rgba(45,212,191,0.3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.cta-box__logo span {
  background: linear-gradient(135deg, rgba(45,212,191,0.6), rgba(13,148,136,0.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-box__title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; color: white; letter-spacing: -0.5px; }
.cta-box__sub   { font-size: 1rem; color: var(--muted); max-width: 380px; line-height: 1.7; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--bd);
  background: var(--bg);
}
.footer__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
}
.footer__logo {
  font-size: 1.1rem; font-weight: 900; color: white;
}
.footer__logo span { color: var(--teal-l); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 0.82rem; color: var(--muted); transition: color 0.13s; }
.footer__links a:hover { color: var(--teal-l); }
.footer__copy { font-size: 0.72rem; color: rgba(90,158,152,0.55); }

/* ════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(8px); opacity: 1; }
}
@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cellPulse {
  0%   { background: var(--teal); box-shadow: 0 0 8px rgba(13,148,136,0.6); }
  50%  { background: var(--teal-l); box-shadow: 0 0 14px rgba(45,212,191,0.8); }
  100% { background: transparent; box-shadow: none; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .lb-wrap { grid-template-columns: 1fr; }
  .lb-aside { position: static; }
  .lb-row { grid-template-columns: 36px 36px 1fr auto; }
  .lb-bars { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cwd-grid  { grid-template-columns: repeat(5, 44px); grid-template-rows: repeat(5, 44px); }
  .cwd-cell  { width: 44px; height: 44px; font-size: 1.1rem; }
  .how-steps { flex-direction: column; }
  .how-connector { display: none; }
  .how-step  { padding: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn--hero, .btn--ghost-hero { text-align: center; justify-content: center; }
}
