@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --bg: #0b1220;
  --bg-card: #111827;
  --bg-card-alt: #162031;
  --fg: #e2e8f0;
  --fg-muted: #64748b;
  --fg-dim: #475569;
  --primary: #14b8a6;
  --primary-light: #2dd4bf;
  --primary-dark: #0d9488;
  --blue: #3b82f6;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --glow: 0 0 30px rgba(20,184,166,0.15);
  --glow-strong: 0 0 60px rgba(20,184,166,0.2);
  --radius: 16px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

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

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Gradient text ─── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,18,32,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar .container,
.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav-brand {
  transform: translateY(1px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-logo img { height: 58px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: center; }
.nav-links a {
  padding: 10px 16px; border-radius: 10px; font-size: 0.92rem;
  font-weight: 600; color: var(--fg-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { white-space: nowrap; }
.nav-cta span { display: inline-block; margin-left: 2px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow-strong); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; border: 1px solid var(--border-light);
  cursor: pointer; background: rgba(255,255,255,0.04);
  color: var(--fg); transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn-large { padding: 14px 36px; font-size: 1rem; border-radius: 12px; }

/* ─── Theme toggle ─── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-light); background: rgba(255,255,255,0.04);
  color: var(--fg-muted); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.08); color: var(--fg); border-color: rgba(255,255,255,0.2); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html.light .theme-toggle .icon-sun { display: block; }
html.light .theme-toggle .icon-moon { display: none; }

/* ─── Hero ─── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.2);
  color: var(--primary-light); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  margin-top: 64px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-size: 2rem; font-weight: 800;
  font-family: var(--mono);
}
.hero-stat-label { font-size: 0.85rem; color: var(--fg-muted); margin-top: 4px; }

/* ─── Section base ─── */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-header p { color: var(--fg-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(20,184,166,0.3); box-shadow: var(--glow); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,184,166,0.1); margin-bottom: 20px;
}

.feature-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── How it works ─── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; position: relative;
}
.step-card { text-align: center; padding: 32px 24px; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff; margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--fg-muted); font-size: 0.95rem; }

/* ─── Sources ─── */
.sources-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sources-scroll {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.source-pill {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem; font-weight: 500; color: var(--fg-muted);
  transition: border-color 0.2s, color 0.2s;
}
.source-pill:hover { border-color: rgba(20,184,166,0.3); color: var(--fg); }

/* ─── Pricing ─── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 800px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pricing-card.featured {
  border-color: rgba(20,184,166,0.4);
  box-shadow: var(--glow);
  position: relative;
}
.pricing-card.featured::after {
  content: 'Best deal';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 999px; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--blue)); color: #fff;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 2.5rem; font-weight: 800; font-family: var(--mono);
  margin-bottom: 4px;
}
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--fg-muted); }
.pricing-card .price-note { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card li {
  padding: 8px 0; font-size: 0.95rem; color: var(--fg-muted);
  display: flex; align-items: flex-start; gap: 10px;
}
.pricing-card li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn-primary,
.pricing-card .btn-secondary { width: 100%; justify-content: center; }

/* ─── Price row (strikethrough + sale) ─── */
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 4px;
}
.price-original {
  font-size: 1.4rem; font-weight: 600; font-family: var(--mono);
  color: var(--fg-dim);
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}
.price.sale { color: var(--primary-light); }

/* ─── Promo banner (large) ─── */
.promo-banner {
  max-width: 720px; margin: 0 auto 48px;
  padding: 32px 36px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20,184,166,0.1), rgba(59,130,246,0.1));
  border: 1px solid rgba(20,184,166,0.3);
  text-align: center;
  position: relative; overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--blue), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.promo-content { margin-bottom: 20px; }
.promo-badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; margin-bottom: 12px;
}
.promo-headline {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.promo-subtext { font-size: 0.95rem; color: var(--fg-muted); }
.countdown-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.countdown-block {
  display: flex; flex-direction: column; align-items: center;
  min-width: 60px;
}
.cd-num {
  font-family: var(--mono); font-weight: 800; font-size: 1.8rem;
  color: var(--primary-light); line-height: 1;
  background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.2);
  border-radius: 10px; padding: 10px 16px;
  min-width: 56px; text-align: center;
}
.cd-label {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-dim); margin-top: 6px;
}
.countdown-sep {
  font-family: var(--mono); font-size: 1.5rem; font-weight: 700;
  color: var(--fg-dim); margin-bottom: 20px;
}

/* ─── CTA ─── */
.cta-section {
  text-align: center; padding: 100px 0 120px;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(20,184,166,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-section p { color: var(--fg-muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border); padding: 48px 0;
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-logo svg { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--fg-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.footer-copy { color: var(--fg-dim); font-size: 0.85rem; }

/* ─── Animations ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .hero-stats { gap: 32px; }
  .nav-links a.hide-mobile { display: none; }
  section { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
}

/* ─── Light Mode Theme ─── */
html.light {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --fg: #0f172a;
  --fg-muted: #475569;
  --fg-dim: #64748b;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.05);
  --glow: 0 4px 20px rgba(20,184,166,0.15);
  --glow-strong: 0 8px 30px rgba(20,184,166,0.25);
}

html.light .nav-logo rect { fill: #ffffff; }
html.light .nav-logo svg path[fill="white"] { fill: #0f172a; }
html.light .navbar { background: rgba(248,250,252,0.85); }
html.light .btn-secondary { background: #ffffff; border-color: var(--border-light); }
html.light .btn-secondary:hover { background: #f1f5f9; border-color: rgba(0,0,0,0.1); }
html.light .theme-toggle { background: #ffffff; color: var(--fg-muted); }
html.light .theme-toggle:hover { background: #f1f5f9; color: var(--fg); border-color: rgba(0,0,0,0.15); }
html.light .source-pill { background: #ffffff; }
html.light .footer-logo rect { fill: #ffffff; }
html.light .footer-logo svg path[fill="white"] { fill: #0f172a; }

