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

:root {
  --bg:         #0a0a0a;
  --bg-2:       #111111;
  --bg-3:       #181818;
  --border:     rgba(255,255,255,0.07);
  --text:       #f0f0f0;
  --text-muted: #6b6b6b;
  --text-dim:   #3a3a3a;
  --accent:     #c8f560;
  --accent-dim: rgba(200, 245, 96, 0.12);
  --accent-glow:rgba(200, 245, 96, 0.25);

  --font: 'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s var(--ease-in-out),
              border-color 0.4s var(--ease-in-out),
              padding 0.4s var(--ease-in-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease-out-expo),
              box-shadow 0.2s var(--ease-out-expo),
              background 0.2s, opacity 0.2s;
  letter-spacing: -0.01em;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 15px;
  padding: 15px 30px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
  width: fit-content;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out-expo) 0.1s forwards;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.35s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.5s forwards;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out-expo) 0.4s forwards;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

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

.phone-img {
  position: relative;
  z-index: 1;
  max-height: 560px;
  width: auto;
  border-radius: 28px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.7);
  animation: float 6s ease-in-out infinite;
}

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

/* ===========================
   STATS
   =========================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 200;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 200;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ===========================
   FEATURES
   =========================== */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.3s var(--ease-in-out);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-in-out);
}

.feature-card:hover {
  background: var(--bg-3);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover .feature-icon {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.feature-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 32px;
  text-align: center;
}

.philosophy-inner {
  max-width: 780px;
  margin: 0 auto;
}

.philosophy-quote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.03em;
  font-style: normal;
  position: relative;
}

.quote-mark {
  color: var(--accent);
  font-size: 1.2em;
  line-height: 1;
}

/* ===========================
   COMPARE
   =========================== */
.compare {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 18px 28px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table thead tr {
  background: var(--bg-2);
}

.compare-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-table tbody tr {
  background: var(--bg);
  transition: background 0.2s;
}

.compare-table tbody tr:hover {
  background: var(--bg-2);
}

.compare-table td:first-child {
  color: var(--text-muted);
}

.highlight-col {
  background: var(--accent-dim) !important;
}

.compare-table th.highlight-col {
  color: var(--accent) !important;
}

.check {
  color: var(--accent);
  font-size: 16px;
}

.cross {
  color: var(--text-dim);
  font-size: 16px;
}

/* ===========================
   DOWNLOAD CTA
   =========================== */
.download {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 140px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

.download-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.download-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-muted);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    gap: 48px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .phone-img {
    max-height: 380px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .download-actions {
    flex-direction: column;
  }

  .download-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
