/* ==========================================================================
   AI Chat Assistant — Landing Stylesheet
   Mobile-first, dark theme with emerald accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Color tokens */
  --bg-0: #050b08;
  --bg-1: #0a1410;
  --bg-2: #0f1f18;
  --bg-3: #15291f;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(0, 214, 143, 0.22);

  --green-50: #d9fff0;
  --green-100: #a5f3ce;
  --green-300: #5fffc4;
  --green-400: #1ee8a4;
  --green-500: #00d68f;
  --green-600: #00b377;
  --green-700: #008a5c;
  --green-glow: rgba(0, 214, 143, 0.35);

  --text-0: #ffffff;
  --text-1: #e8f0eb;
  --text-2: #a0b3a8;
  --text-3: #6b7e74;
  --text-muted: #4a5a52;

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1200px;
  --gutter: 20px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  background: var(--bg-0);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg-1);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(0, 214, 143, 0.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(30, 232, 164, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

main, header, footer, section { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--green-500); color: var(--bg-0); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--text-0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(0, 214, 143, 0.06);
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* Highlighted "AI" word styling, matches original */
.hl { color: var(--green-500); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 16, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-0);
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img { width: 34px; height: 34px; flex-shrink: 0; }
.brand .ai { color: var(--green-500); }

/* Brand wordmark — hidden on phones, appears on tablets+ */
.brand-text { display: none; }

.nav-desktop { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact CTA pill in header (mobile-first, ChatOn-style) */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--bg-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 18px -4px var(--green-glow), inset 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px var(--green-glow), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.header-cta::after {
  content: '↓';
  font-weight: 600;
  margin-left: 2px;
  font-size: 14px;
  transition: transform 0.3s;
}
.header-cta:hover::after { transform: translateY(2px); }

/* Store badges */
.store-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-badge {
  display: inline-block;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}

.store-badge img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(0, 214, 143, 0.25));
}

/* Hide desktop badges on small screens — they appear in the hero instead */
.header-actions .store-badges { display: none; }

/* Mobile burger */
.menu-toggle {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s;
}

.menu-toggle:hover { background: var(--surface-hover); }

.menu-toggle .bars { width: 18px; height: 14px; position: relative; }
.menu-toggle .bars span {
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: var(--text-0);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle .bars span:nth-child(3) { bottom: 0; }

.menu-toggle.is-open .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile dropdown nav */
.nav-mobile {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10, 20, 16, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px 32px;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-out);
  z-index: 49;
}
.nav-mobile.is-open { transform: translateY(0); }

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  border-radius: 12px;
  transition: background 0.25s, color 0.25s;
}
.nav-mobile a:hover { background: var(--surface); color: var(--green-400); }
.nav-mobile a::after {
  content: '→';
  color: var(--green-500);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s;
}
.nav-mobile a:hover::after { opacity: 1; transform: translateX(0); }

.nav-mobile .store-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile .store-badge { height: 44px; }

/* ---------- Hero ---------- */
.hero {
  padding: 32px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0, 214, 143, 0.35));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 11vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin-bottom: 20px;
}

.hero h1 .ai-mark {
  display: inline-block;
  color: var(--green-500);
  position: relative;
}

.hero-sub {
  font-size: clamp(17px, 4.2vw, 21px);
  line-height: 1.45;
  color: var(--text-1);
  max-width: 580px;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-sub--small {
  font-size: clamp(14px, 3.6vw, 16px);
  color: var(--text-2);
  margin-top: -12px;
  margin-bottom: 28px;
  line-height: 1.55;
}

.hero-sub .hl { color: var(--green-500); font-weight: 500; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-cta .store-badge { height: 56px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero-meta div { display: flex; align-items: baseline; gap: 8px; }
.hero-meta strong {
  color: var(--text-0);
  font-family: var(--font-display);
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Hero phone showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding: 0 10px;
}

.hero-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 720 / 1412;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px -20px rgba(0, 214, 143, 0.30),
    0 0 0 1px rgba(0, 214, 143, 0.10) inset,
    0 50px 120px -30px rgba(0,0,0,0.6);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.8s var(--ease-out);
}

.hero-phone:hover {
  transform: rotateY(0) rotateX(0);
}

.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Decorative orbiting badges around the phone */
.float-card {
  position: absolute;
  background: rgba(15, 31, 24, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
  display: none; /* hidden on mobile, shown on >=720px */
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.float-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 12px var(--green-500);
}

.float-card.fc-1 { top: 8%; left: -4%; animation-delay: 0s; }
.float-card.fc-2 { top: 40%; right: -8%; animation-delay: 1.5s; }
.float-card.fc-3 { bottom: 12%; left: -6%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections base ---------- */
section { padding: 64px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-top: 14px;
  margin-bottom: 14px;
}
.section-head p {
  font-size: clamp(15px, 3.8vw, 18px);
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.55;
}

/* ---------- Features ---------- */
.features {
  background:
    linear-gradient(180deg, transparent, rgba(0, 214, 143, 0.03), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  position: relative;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.4s;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--green-500), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--bg-0);
  box-shadow: 0 8px 24px -6px var(--green-glow);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ---------- Showcase (smart settings) ---------- */
.showcase {
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin-bottom: 18px;
}
.showcase-copy h2 .accent { color: var(--green-500); }
.showcase-copy p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-1);
}
.showcase-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0, 214, 143, 0.12);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-400);
  margin-top: 1px;
}
.showcase-list .check svg { width: 12px; height: 12px; }

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-visual::before {
  content: '';
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

.showcase-phone {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 720 / 1412;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0, 214, 143, 0.10) inset;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  outline: none;
}

.carousel:focus-visible .carousel-btn {
  border-color: var(--green-500);
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
}

.carousel-track {
  display: flex;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.carousel-slide .showcase-phone {
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 20, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--text-0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.carousel-btn:hover {
  background: rgba(0, 214, 143, 0.15);
  border-color: var(--green-500);
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.carousel-dots {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  flex-shrink: 0;
}
.carousel-dot:hover { background: var(--surface-hover); }
.carousel-dot.is-active {
  width: 22px;
  border-radius: 100px;
  background: var(--green-500);
  border-color: var(--green-500);
  box-shadow: 0 0 10px var(--green-glow);
}
.showcase-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Stats ---------- */
.stats {
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-1);
  padding: 28px 20px;
  text-align: left;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-0);
  letter-spacing: -0.04em;
}
.stat .num .accent { color: var(--green-500); }
.stat .lab {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Testimonial ---------- */
.testimonial-wrap {
  padding: 40px 24px;
  background:
    linear-gradient(140deg, rgba(0, 214, 143, 0.10), rgba(0, 214, 143, 0.02) 50%, transparent),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.testimonial-wrap::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: 0;
  font-family: var(--font-display);
  font-size: 220px;
  line-height: 1;
  color: var(--green-500);
  opacity: 0.10;
  pointer-events: none;
}

.testimonial-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--green-400);
  margin-bottom: 16px;
}

.testimonial-wrap blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bg-0);
  font-size: 18px;
}
.author-info { display: flex; flex-direction: column; }
.author-name { color: var(--text-0); font-weight: 600; font-size: 15px; }
.author-role { color: var(--text-3); font-size: 13px; font-family: var(--font-mono); }
.stars { color: #ffc547; font-size: 15px; letter-spacing: 2px; margin-top: 2px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  position: relative;
  padding: 80px 0 60px;
}
.cta::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 600px;
  height: 60%;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  filter: blur(60px);
  z-index: -1;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 10vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin-bottom: 18px;
}
.cta h2 .accent { color: var(--green-500); }
.cta p {
  font-size: clamp(15px, 4vw, 18px);
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta .store-badges { justify-content: center; }
.cta .store-badge { height: 56px; }

/* ---------- Notice strip ---------- */
.notice {
  padding: 32px 0 0;
}

.notice-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-paragraph {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 760px;
}

.notice-inner {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
  background: rgba(0, 214, 143, 0.025);
}
.notice-inner strong { color: var(--text-1); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.5; max-width: 320px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-1);
  font-size: 15px;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--green-400); }

.footer-stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-stores .store-badge { height: 46px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- Legal Pages ---------- */
.legal {
  padding: 48px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  margin-bottom: 28px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease-out);
}
.back-link svg { transition: transform 0.3s var(--ease-out); }
.back-link:hover {
  color: var(--green-400);
  border-color: var(--border-strong);
  background: rgba(0, 214, 143, 0.05);
}
.back-link:hover svg { transform: translateX(-2px); }

.legal-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 14px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin-bottom: 16px;
}
.legal .updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-0);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal ul li::marker { color: var(--green-500); }
.legal a { color: var(--green-400); text-decoration: underline; text-decoration-color: rgba(0,214,143,0.4); text-underline-offset: 3px; }

/* Contact-specific styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
.contact-card {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.contact-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-card .contact-value,
.contact-card address {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-0);
  font-style: normal;
  line-height: 1.4;
}
.contact-card a {
  font-size: 17px;
  color: var(--green-400);
  font-family: var(--font-mono);
  font-weight: 500;
  word-break: break-all;
}
.contact-card--wide { grid-column: 1 / -1; }

/* ---------- Animations on enter ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .float-card { display: flex; }
  .brand-text { display: inline; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .header-inner { height: 72px; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    margin-right: 20px;
  }
  .nav-desktop a {
    font-size: 14.5px;
    color: var(--text-2);
    font-weight: 500;
    transition: color 0.25s;
    position: relative;
  }
  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 1.5px;
    background: var(--green-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
  }
  .nav-desktop a:hover { color: var(--text-0); }
  .nav-desktop a:hover::after { transform: scaleX(1); }

  .header-actions .store-badges { display: inline-flex; }
  .header-cta { display: none; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none; }

  .hero { padding: 64px 0 100px; }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
  .hero-phone { max-width: 380px; }
  .showcase-phone { max-width: 340px; }
  .carousel { max-width: 380px; }
  .carousel-btn { width: 48px; height: 48px; }
  .carousel-btn svg { width: 20px; height: 20px; }
  .carousel-prev { left: -24px; }
  .carousel-next { right: -24px; }

  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }

  section { padding: 100px 0; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feature-card { padding: 32px 26px; }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .testimonial-wrap { padding: 60px 56px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 96px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
