/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-from: #3b82f6;
  --brand-to:   #8b5cf6;
  --brand-mid:  #6366f1;
  --bg:         #07080d;
  --bg-card:    #0e1117;
  --bg-card2:   #13171f;
  --border:     rgba(255,255,255,.08);
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --radius:     16px;
  --radius-sm:  10px;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GRADIENT UTILITY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  border-radius: 100px;
  font-size: 15px;
  padding: 12px 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.2);
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.btn-small {
  font-size: 13px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  color: #fff;
}
.btn-small:hover { transform: translateY(-1px); opacity: .9; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(7,8,13,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.nav-name { font-weight: 700; font-size: 18px; letter-spacing: -.3px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-mid);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

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

.hero-offer {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-social-proof strong { color: var(--text); }

.avatars {
  display: flex;
}
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  opacity: .85;
}
.avatar:first-child { margin-left: 0; }

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.app-icon-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-icon {
  width: 140px; height: 140px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}

.icon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,.2);
  animation: pulse-ring 3s ease-out infinite;
}
.icon-ring-1 { width: 220px; height: 220px; animation-delay: 0s; }
.icon-ring-2 { width: 320px; height: 320px; animation-delay: .8s; border-color: rgba(139,92,246,.12); }
.icon-ring-3 { width: 420px; height: 420px; animation-delay: 1.6s; border-color: rgba(59,130,246,.08); }

@keyframes pulse-ring {
  0%   { transform: scale(.9); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  white-space: nowrap;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.floating-card .card-icon { font-size: 22px; line-height: 1; }
.card-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.card-value { font-size: 14px; font-weight: 700; margin-top: 2px; }

.card-1 { top: 60px;  right: 20px;  animation-delay: 0s; }
.card-2 { bottom: 100px; left: 20px; animation-delay: 1.3s; }
.card-3 { bottom: 40px;  right: 30px; animation-delay: 0.7s; }

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

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(99,102,241,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== WAITLIST ===== */
.waitlist { padding: 80px 0 120px; }

.waitlist-box {
  position: relative;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 40px;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,.15) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-logo {
  width: 72px; height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.waitlist-box h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.waitlist-box > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.email-input::placeholder { color: var(--text-muted); }
.email-input:focus { border-color: rgba(99,102,241,.5); }
.email-input:disabled { opacity: .5; }

.waitlist-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
.reveal-delay-4 { transition-delay: .6s; }
.reveal-delay-5 { transition-delay: .75s; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(14,17,23,.97);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
#cookie-banner p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
#cookie-banner p a { color: var(--brand-mid); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-visual { height: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .features { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; border-radius: var(--radius); }
  .email-input { border-radius: var(--radius-sm); text-align: center; }
  .waitlist-box { padding: 48px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-visual { display: none; }
  .card-1, .card-2, .card-3 { display: none; }
}
