/* Landing page — hero with device mockup, feature grid, steps, CTA.
   Playful "clay-lite" on the app's navy/cyan brand. */

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% -10%, #232B96 0%, transparent 60%),
    radial-gradient(700px 420px at 12% 110%, rgba(51, 197, 232, 0.22) 0%, transparent 55%),
    var(--navy-darker);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero-copy { text-align: right; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-weight: 700; font-size: 14px; letter-spacing: 0.4px;
  background: rgba(51, 197, 232, 0.12);
  border: 1px solid rgba(51, 197, 232, 0.35);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px); font-weight: 800;
  margin: 18px 0 14px; line-height: 1.3;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .sub {
  color: rgba(255, 255, 255, 0.82); font-size: 18px;
  max-width: 520px; margin: 0 0 30px; margin-inline-start: auto;
}

/* Store badges */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px; padding: 10px 20px; color: #fff;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  text-decoration: none;
}
.store-badge:active { transform: scale(0.97); }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-badge small { display: block; font-size: 11px; opacity: 0.7; line-height: 1.3; }
.store-badge strong { font-size: 16px; line-height: 1.2; }
.soon-tag {
  font-size: 11px; font-weight: 700; background: var(--orange); color: #fff;
  border-radius: var(--radius-pill); padding: 2px 9px; margin-inline-start: 2px;
}

/* Stats */
.stats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; margin-top: 38px; }
.stat .num { font-size: 28px; font-weight: 800; color: var(--cyan); line-height: 1.2; }
.stat .lbl { font-size: 13px; color: rgba(255, 255, 255, 0.68); }

/* Hero visual: Dubi + phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 480px; }
.bird-big {
  position: absolute; top: -8px; inset-inline-start: 0;
  width: 190px; height: 190px; z-index: 2;
  filter: drop-shadow(0 14px 30px rgba(51, 197, 232, 0.35));
  animation: float 3.4s ease-in-out infinite;
}
.bird-fallback { font-size: 80px; line-height: 190px; display: block; text-align: center; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone {
  width: 264px; height: 540px;
  background: #10153F;
  border: 7px solid #2A3070;
  border-radius: 42px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 14px 12px; position: relative;
  transform: rotate(-4deg);
}
.phone::before {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: #2A3070; border-radius: var(--radius-pill);
}
.screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #161C52 0%, #0D1240 100%);
  display: flex; flex-direction: column; padding: 40px 18px 18px;
}
.screen-stats { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.09); border-radius: var(--radius-pill); padding: 4px 11px;
}
.pill svg { width: 13px; height: 13px; }
.screen-unit {
  background: var(--cyan); color: #fff; border-radius: 14px;
  font-size: 12.5px; font-weight: 700; text-align: right;
  padding: 10px 14px; margin-bottom: 18px;
  box-shadow: 0 3px 0 var(--cyan-dark);
}
.screen-unit small { display: block; font-weight: 500; opacity: 0.85; font-size: 10.5px; }
.path { position: relative; flex: 1; }
.node {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: 50%;
}
.node svg { width: 24px; height: 24px; }
.node-done { background: var(--gold); box-shadow: 0 4px 0 #B8860B; }
.node-done svg { stroke: #7A5200; }
.node-active {
  background: var(--cyan); box-shadow: 0 4px 0 var(--cyan-dark), 0 0 0 7px rgba(51, 197, 232, 0.18);
  animation: pulse-ring 2s ease-in-out infinite;
}
.node-active svg { stroke: #fff; }
.node-locked { background: #232A66; box-shadow: 0 4px 0 #181D52; }
.node-locked svg { stroke: #4A5193; }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 4px 0 var(--cyan-dark), 0 0 0 7px rgba(51, 197, 232, 0.18); }
  50% { box-shadow: 0 4px 0 var(--cyan-dark), 0 0 0 13px rgba(51, 197, 232, 0.07); }
}
.n1 { top: 4%;  transform: translateX(-50%); }
.n2 { top: 23%; transform: translateX(calc(-50% + 52px)); }
.n3 { top: 42%; transform: translateX(calc(-50% + 20px)); }
.n4 { top: 61%; transform: translateX(calc(-50% - 48px)); }
.n5 { top: 80%; transform: translateX(-50%); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 88px 0 0; }
.section h2 {
  text-align: center; font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800; color: var(--navy);
}
.section .section-sub {
  text-align: center; color: var(--text-soft); font-size: 17px;
  max-width: 560px; margin: 12px auto 48px;
}

/* Feature cards — clay-lite */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(51, 197, 232, 0.6);
  box-shadow: var(--shadow-md);
}
.feature .ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(145deg, var(--cyan-tint) 0%, #DFF6FC 100%);
  box-shadow: inset 0 -3px 0 rgba(26, 143, 184, 0.15);
}
.feature .ico svg { width: 26px; height: 26px; stroke: var(--cyan-dark); }
.feature h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--text-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  background: linear-gradient(165deg, var(--cyan-tint) 0%, #E4F7FC 100%);
  border-radius: var(--radius-lg); padding: 34px 24px 28px; text-align: center;
  box-shadow: inset 0 -4px 0 rgba(26, 143, 184, 0.10);
}
.step .n {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 0 var(--navy-darker);
}
.step h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.step p { font-size: 14px; color: var(--text-soft); }

/* Bottom CTA */
.cta {
  margin-top: 96px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(620px 300px at 80% 0%, #232B96 0%, transparent 65%),
    linear-gradient(135deg, var(--navy) 0%, #1B2384 100%);
  border-radius: 32px; color: #fff; text-align: center; padding: 64px 28px;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 30px; font-size: 16px; }

/* Scroll reveal (JS adds .in; reduced-motion users see content immediately) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero .sub { margin: 0 auto 28px; }
  .store-badges, .stats { justify-content: center; }
  .hero-visual { min-height: 470px; }
  .bird-big { width: 150px; height: 150px; inset-inline-start: 4%; }
  .bird-fallback { font-size: 64px; line-height: 150px; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 64px 0 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .phone { width: 240px; height: 500px; }
  .stats { gap: 22px; }
  .cta { margin-top: 72px; padding: 48px 20px; }
}
