/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-card: #0d1117;
  --bg-card2: #111620;
  --border: #1e2530;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --accent-dim2: rgba(0, 255, 136, 0.06);
  --text: #e8e8e8;
  --text-muted: #7a8494;
  --text-dim: #4a5568;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
  --navbar-bg: rgba(10, 10, 15, 0.7);
  --hero-glow: rgba(0, 255, 136, 0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

body.light-theme {
  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --bg-card2: #eef1f6;
  --border: #dde1ea;
  --accent: #00a855;
  --accent-dim: rgba(0, 168, 85, 0.1);
  --accent-dim2: rgba(0, 168, 85, 0.05);
  --text: #111827;
  --text-muted: #4b5563;
  --text-dim: #9ca3af;
  --navbar-bg: rgba(245, 247, 250, 0.85);
  --hero-glow: rgba(0, 168, 85, 0.07);
  --shadow: 0 4px 24px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 780px;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.hero-typing {
  font-size: 1.1rem;
  color: var(--text-muted);
  min-height: 30px;
  margin-bottom: 40px;
}
.hero-typing .typed-text { color: var(--accent); font-weight: 600; }
.hero-typing .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #00e67a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,255,136,0.3);
  text-decoration: none;
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

/* hero grid lines decoration */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Problem / Solution ───────────────────────────────────────────────────── */
.problem { background: var(--bg-card2); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.problem-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.prob-row { display: flex; gap: 16px; align-items: flex-start; }
.prob-bad { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.prob-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.prob-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.prob-bad .prob-text { color: #ff6b6b; }
.prob-good .prob-text { color: var(--text); }
.prob-good .prob-icon { color: var(--accent); }

/* ── Products ─────────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,255,136,0.08);
}
.product-icon { font-size: 2.5rem; margin-bottom: 20px; }
.product-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.product-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,255,136,0.2);
}
.product-metrics {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.product-btn {
  align-self: flex-start;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.product-btn:hover {
  background: var(--accent);
  color: #000;
  text-decoration: none;
}

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 520px;
  transform: translateY(20px);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.modal-title { font-size: 1.4rem; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent); }
.form-control option { background: var(--bg-card); }
textarea.form-control { resize: vertical; min-height: 80px; }

.modal-success {
  text-align: center;
  padding: 20px 0;
  display: none;
}
.modal-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.modal-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.modal-success p { color: var(--text-muted); }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.steps { background: var(--bg-card2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  opacity: 0.3;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0,255,136,0.1);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier { font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}
.price-amount sup { font-size: 1.5rem; vertical-align: super; }
.price-amount .price-custom { font-size: 1.8rem; }
.price-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.price-cta {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-align: center;
}
.price-cta.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.price-cta.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.price-cta.filled {
  background: var(--accent);
  border: none;
  color: #000;
}
.price-cta.filled:hover {
  background: #00e67a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,255,136,0.3);
}

.pricing-trust {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.pricing-trust span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-trust span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { background: var(--bg-card2); }
.faq-list { margin-top: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question.open { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer.open { max-height: 300px; padding-bottom: 22px; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact {
  text-align: center;
}
.contact-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto 48px; line-height: 1.7; }
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 36px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-label { font-size: 0.75rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-value { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.contact-platforms { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 8px; }
.contact-response { color: var(--text-muted); font-size: 0.9rem; }
.contact-response::before { content: '⚡ '; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; flex-direction: column; gap: 16px; }
  .nav-links.open { display: flex; }
  .navbar .container { flex-wrap: wrap; gap: 16px; }
  .nav-toggle { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .pricing-trust { flex-direction: column; align-items: center; gap: 12px; }
  .modal { padding: 28px 20px; }
}

/* ── Any-Business Block ───────────────────────────────────────────────────── */
.any-business-block {
  background: linear-gradient(135deg, #0d1a0d, #0a1520);
  border: 1px solid rgba(0, 255, 136, 0.19);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
  text-align: center;
}
.any-business-label {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.any-business-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  color: #fff;
  margin-bottom: 16px;
  min-height: 48px;
}
.any-business-sub {
  color: #8899aa;
  font-size: 15px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
}
.business-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.business-examples span {
  background: #111820;
  border: 1px solid #1e2d3d;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #aabbcc;
}
body.light-theme .any-business-block {
  background: linear-gradient(135deg, #edfaf3, #e8f4fd);
  border-color: rgba(0, 168, 85, 0.25);
}
body.light-theme .any-business-title { color: #111827; }
body.light-theme .any-business-sub { color: #4b5563; }
body.light-theme .business-examples span {
  background: #fff;
  border-color: #dde1ea;
  color: #374151;
}

/* ── Pricing Note ─────────────────────────────────────────────────────────── */
.pricing-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 24px;
}
.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.link-btn:hover { opacity: 0.8; }

/* ── Contact card icon ────────────────────────────────────────────────────── */
.contact-icon { font-size: 1.8rem; margin-bottom: 8px; }
a.contact-card { text-decoration: none; display: block; }
a.contact-card:hover { text-decoration: none; }

/* ── Theme Toggle Button ──────────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: rotate(20deg);
}
/* show/hide icons based on theme */
.theme-toggle .icon-moon { display: inline; }
.theme-toggle .icon-sun  { display: none; }
body.light-theme .theme-toggle .icon-moon { display: none; }
body.light-theme .theme-toggle .icon-sun  { display: inline; }

/* ── Light Theme Overrides ────────────────────────────────────────────────── */

/* hero grid lines: lighter in light mode */
body.light-theme .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* hero badge border */
body.light-theme .hero-badge {
  border-color: rgba(0, 168, 85, 0.35);
}

/* tag border */
body.light-theme .tag {
  border-color: rgba(0, 168, 85, 0.25);
}

/* product card hover shadow */
body.light-theme .product-card:hover {
  box-shadow: 0 16px 48px rgba(0, 168, 85, 0.12);
}

/* popular price card glow */
body.light-theme .price-card.popular {
  box-shadow: 0 0 40px rgba(0, 168, 85, 0.12);
}

/* btn hover shadows */
body.light-theme .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 168, 85, 0.35);
}
body.light-theme .price-cta.filled:hover {
  box-shadow: 0 8px 24px rgba(0, 168, 85, 0.35);
}

