/* ── Design Tokens ── */
:root {
  --bg: #0e0e0e;
  --surface: #111111;
  --surface-high: #1a1a1a;
  --primary: #f4ffc8;
  --secondary: #00f4fe;
  --tertiary: #ff7346;
  --on-surface: #ffffff;
  --on-surface-variant: #adaaaa;
  --border: rgba(255,255,255,0.06);
  --font-headline: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text {
  font-family: var(--font-headline);
  font-weight: 900; font-size: 18px;
  letter-spacing: 0.08em; color: var(--primary);
}
.lang-toggle {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 3px;
}
.lang-btn {
  padding: 4px 12px; border-radius: 4px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--on-surface-variant);
  cursor: pointer; transition: all 0.15s; border: none; background: none;
}
.lang-btn.active { background: var(--primary); color: var(--bg); }
.nav-appstore {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(244,255,200,0.08);
  border: 1px solid rgba(244,255,200,0.25);
  color: var(--primary);
  font-family: var(--font-headline);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-sm);
  text-decoration: none; transition: background 0.15s;
}
.nav-appstore:hover { background: rgba(244,255,200,0.14); }
.nav-webapp {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,244,254,0.08);
  border: 1px solid rgba(0,244,254,0.25);
  color: var(--secondary);
  font-family: var(--font-headline);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-sm);
  text-decoration: none; transition: background 0.15s;
}
.nav-webapp:hover { background: rgba(0,244,254,0.14); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 80px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; min-height: 580px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; }
.hero-glow-cyan {
  top: -120px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,244,254,0.12) 0%, transparent 65%);
}
.hero-glow-lime {
  bottom: -100px; left: -60px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244,255,200,0.07) 0%, transparent 65%);
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,244,254,0.08);
  border: 1px solid rgba(0,244,254,0.2);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 11px; color: var(--secondary);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 28px;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 900; line-height: 0.92;
  letter-spacing: -0.04em; margin-bottom: 24px;
}
.hero-title .t-white { color: var(--on-surface); display: block; }
.hero-title .t-lime {
  color: var(--primary); display: block;
  text-shadow: 0 0 60px rgba(244,255,200,0.3);
}
.hero-sub {
  font-size: 16px; color: var(--on-surface-variant);
  line-height: 1.65; max-width: 420px; margin-bottom: 40px;
}
.hero-cta-group { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px; padding: 12px 22px;
  text-decoration: none; color: #fff; width: fit-content;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-appstore:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-appstore-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-appstore-sub { font-size: 10px; letter-spacing: 0.03em; opacity: 0.75; font-family: var(--font-body); font-weight: 400; }
.btn-appstore-main { font-family: var(--font-headline); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--bg);
  font-family: var(--font-headline); font-weight: 800;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; width: fit-content;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; }
.hero-platform { font-size: 12px; color: var(--on-surface-variant); letter-spacing: 0.04em; }
.hero-platform-web {
  color: var(--secondary); text-decoration: none;
  transition: opacity 0.15s;
}
.hero-platform-web:hover { opacity: 0.75; }

/* ── Phone Stack ── */
.hero-phones { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone-stack { position: relative; width: 260px; height: 500px; }
.phone-frame {
  position: absolute; border-radius: 36px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-main  { width: 240px; height: 480px; left: 10px; top: 0; z-index: 3; }
.phone-left  { width: 210px; height: 440px; left: -20px; top: 30px; z-index: 1;
  filter: brightness(0.45) blur(1px); transform: rotate(-5deg); }
.phone-right { width: 210px; height: 440px; left: 50px; top: 40px; z-index: 1;
  filter: brightness(0.35) blur(2px); transform: rotate(5deg); }

/* ── Stats Strip ── */
.stats-strip {
  background: #0a0a0a; /* one step darker than --bg for section contrast */
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 80px;
  display: flex; justify-content: space-around; align-items: center;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-headline); font-size: 30px; font-weight: 900;
  color: var(--secondary); letter-spacing: -0.03em;
}
.stat-label {
  font-size: 11px; color: var(--on-surface-variant);
  text-transform: uppercase; letter-spacing: 0.15em; margin-top: 4px;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Features ── */
.features { padding: 100px 80px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-headline); font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--on-surface); max-width: 520px; margin-bottom: 60px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.feature-card { background: var(--surface); padding: 36px 32px; transition: background 0.2s; }
.feature-card:hover { background: var(--surface-high); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-icon--cyan     { background: rgba(0,244,254,0.10); }
.feature-icon--lime     { background: rgba(244,255,200,0.10); }
.feature-icon--orange   { background: rgba(255,115,70,0.10); }
.feature-icon--cyan-dim { background: rgba(0,244,254,0.08); }
.feature-icon--lime-dim { background: rgba(244,255,200,0.08); }
.feature-card h3 {
  font-family: var(--font-headline); font-size: 17px; font-weight: 700;
  color: var(--on-surface); margin-bottom: 10px; letter-spacing: -0.01em;
}
.feature-card p { font-size: 13px; color: var(--on-surface-variant); line-height: 1.65; }

/* ── Showcase ── */
.showcase { padding: 80px 80px; background: #0a0a0a; /* one step darker than --bg for section contrast */ }
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-phone { order: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; margin-bottom: 18px;
}
.pill-cyan  { background: rgba(0,244,254,0.08); border: 1px solid rgba(0,244,254,0.2); color: var(--secondary); }
.pill-lime  { background: rgba(244,255,200,0.08); border: 1px solid rgba(244,255,200,0.2); color: var(--primary); }
.pill-orange { background: rgba(255,115,70,0.08); border: 1px solid rgba(255,115,70,0.2); color: var(--tertiary); }
.showcase-text h3 {
  font-family: var(--font-headline); font-size: clamp(28px, 3vw, 38px);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--on-surface); margin-bottom: 16px;
}
.showcase-text p { font-size: 15px; color: var(--on-surface-variant); line-height: 1.7; }
.showcase-phone { display: flex; justify-content: center; }
.showcase-img { width: 240px; border-radius: 32px; border: 2px solid rgba(255,255,255,0.08); }
.glow-cyan   { box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 48px rgba(0,244,254,0.08); }
.glow-lime   { box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 48px rgba(244,255,200,0.08); }
.glow-orange { box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 48px rgba(255,115,70,0.08); }

/* ── Bottom CTA ── */
.bottom-cta {
  position: relative; overflow: hidden;
  padding: 120px 80px; text-align: center;
  border-top: 1px solid var(--border);
}
.bottom-cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(244,255,200,0.07) 0%, transparent 100%);
}
.bottom-cta h2 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.05;
  color: var(--on-surface); margin-bottom: 16px; position: relative;
}
.bottom-cta h2 span { color: var(--primary); }
.bottom-cta p { font-size: 16px; color: var(--on-surface-variant); margin-bottom: 40px; position: relative; }
.email-form {
  display: flex; gap: 8px; justify-content: center;
  max-width: 440px; margin: 0 auto; position: relative;
}
.email-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14px; color: var(--on-surface);
  outline: none; font-family: var(--font-body);
}
.email-input::placeholder { color: #444; /* muted placeholder hint */ }
.email-input:focus { border-color: rgba(244,255,200,0.3); }
.btn-notify {
  background: var(--primary); color: var(--bg);
  font-family: var(--font-headline); font-weight: 800; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 24px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; white-space: nowrap; transition: opacity 0.15s;
}
.btn-notify:hover { opacity: 0.9; }
.form-success { display: none; margin-top: 12px; font-size: 13px; color: var(--primary); position: relative; }
.form-error { display: none; margin-top: 12px; font-size: 13px; color: var(--tertiary); position: relative; }

/* ── Footer ── */
footer {
  background: #080808; border-top: 1px solid var(--border);
  padding: 28px 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-wordmark {
  font-family: var(--font-headline); font-weight: 900;
  font-size: 14px; letter-spacing: 0.1em; color: var(--primary);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 11px; color: #555; /* dim footer links */
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.15s;
}
.footer-links a:hover { color: var(--on-surface-variant); }

/* ── Inner pages (privacy / terms / support) ── */
.page-hero {
  padding: 80px 80px 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; letter-spacing: -0.04em;
  color: var(--on-surface); margin-bottom: 10px;
}
.page-hero .page-meta {
  font-size: 13px; color: var(--on-surface-variant);
}
.page-body {
  max-width: 720px; margin: 0 auto;
  padding: 60px 80px 100px;
}
.page-body h2 {
  font-family: var(--font-headline); font-size: 18px;
  font-weight: 700; color: var(--primary);
  margin: 40px 0 12px; letter-spacing: -0.01em;
}
.page-body p, .page-body li {
  font-size: 15px; color: var(--on-surface-variant);
  line-height: 1.75; margin-bottom: 14px;
}
.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 8px; }
.page-body a { color: var(--secondary); text-decoration: underline; }
.page-body a:hover { color: var(--primary); }
.support-card {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 36px; margin: 32px 0;
  display: flex; flex-direction: column; gap: 16px;
}
.support-card h3 {
  font-family: var(--font-headline); font-size: 20px;
  font-weight: 700; color: var(--on-surface);
}
.support-email {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-headline); font-weight: 700;
  font-size: 15px; color: var(--secondary);
  background: rgba(0,244,254,0.06);
  border: 1px solid rgba(0,244,254,0.15);
  padding: 12px 20px; border-radius: var(--radius-sm);
  width: fit-content; text-decoration: none;
  transition: background 0.15s;
}
.support-email:hover { background: rgba(0,244,254,0.12); color: var(--secondary); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav-webapp span { display: none; }
  .hero { grid-template-columns: 1fr; padding: 60px 24px; text-align: center; }
  .hero-phones { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-cta-group { align-items: center; }
  .btn-appstore { align-self: center; }
  .stats-strip { flex-wrap: wrap; gap: 24px; padding: 28px 24px; }
  .stat-divider { display: none; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase { padding: 60px 24px; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .showcase-text { order: 0; }
  .showcase-row.reverse .showcase-phone { order: 1; }
  .bottom-cta { padding: 80px 24px; }
  .email-form { flex-direction: column; }
  footer { flex-direction: column; gap: 20px; padding: 28px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .page-hero { padding: 60px 24px 40px; }
  .page-body { padding: 40px 24px 80px; }
}
