*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06060f;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0ff;
  --text-2: rgba(240,240,255,0.6);
  --muted: rgba(240,240,255,0.35);
  --accent: #6366f1;
  --accent-2: #38bdf8;
  --accent-glow: rgba(99,102,241,0.35);
  --green: #10b981;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,15,0.7);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: var(--surface-2) !important; border-color: var(--accent) !important; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 400px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
}
.glow-2 {
  width: 500px; height: 400px;
  top: 100px; right: -50px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
}
.glow-3 {
  width: 800px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: default;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow), 0 1px 0 rgba(255,255,255,0.1) inset;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 6px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--text); }
.btn-lg { font-size: 17px; padding: 18px 32px; border-radius: 14px; }
.btn-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
}

/* ── PHONE MOCKUP ─────────────────────────────── */
.hero-phone {
  flex-shrink: 0;
  width: 280px;
}
.phone-frame {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 44px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 60px 120px rgba(99,102,241,0.15);
}
.phone-screen {
  background: #0a0a18;
  border-radius: 34px;
  padding: 20px 16px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.phone-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.phone-status-dot.online {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
.phone-time { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.phone-msg {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
  animation: fadeUp 0.4s ease both;
}
.phone-msg.agent {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.phone-msg.user {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  animation-delay: 0.3s;
}
.phone-msg.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
  animation-delay: 0.6s;
}
.typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS ─────────────────────────────────── */
.section {
  padding: 100px 24px;
}
.section-dark {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 60px;
}

/* STEPS */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.step:hover { background: var(--surface-2); border-color: rgba(99,102,241,0.3); }
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-icon { font-size: 32px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step p { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.step-arrow {
  font-size: 24px;
  color: var(--muted);
  padding: 0 16px;
  padding-top: 80px;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
}
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* DOWNLOAD */
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 40px;
  margin-top: -40px;
  line-height: 1.6;
}
.download-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.download-note { font-size: 13px; color: var(--muted); }

/* FOOTER */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: flex-start; padding-top: 100px; }
  .hero-phone { display: none; }
  .steps { flex-direction: column; gap: 12px; }
  .step-arrow { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .download-card { padding: 48px 28px; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-title { letter-spacing: -1.5px; }
}
