/* ── Variables & Tokens ── */
:root {
  --bg-dark: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1f293d;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);

  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --indigo: #6366f1;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --emerald: #10b981;

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.25);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* ── Background Glow Effects ── */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--indigo);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  top: 600px;
  right: -100px;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: var(--violet);
  bottom: 200px;
  left: -100px;
}

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

/* ── Typography & Gradients ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.brand-accent {
  color: var(--indigo);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.lang-select:hover {
  border-color: var(--indigo);
}

.lang-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.btn-secondary:hover {
  color: #fff;
}

/* ── Hero Section ── */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-pill.purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 20px 40px;
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.stat-plus {
  font-size: 24px;
  font-weight: 700;
  color: var(--indigo);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-left: 8px;
}

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

/* ── Mockup Glass ── */
.mockup-wrapper {
  width: 100%;
  max-width: 860px;
}

.mockup-glass {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
  margin-left: 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  padding: 12px;
}

.mockup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mockup-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.status-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.campaign-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.mockup-live-log {
  background: #060911;
  border-radius: 10px;
  padding: 14px;
  font-family: monospace;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-line {
  color: var(--text-secondary);
}

.log-line code {
  color: var(--indigo);
}

/* ── How It Works Section ── */
.hiw-section {
  padding: 100px 0;
  position: relative;
}

.hiw-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.hiw-step-card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.hiw-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2);
}

.step-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.step-icon {
  font-size: 38px;
  margin-bottom: 16px;
}

.hiw-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hiw-step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hiw-step-connector {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--pink) 100%);
  opacity: 0.5;
}

@media (max-width: 992px) {
  .hiw-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hiw-step-connector {
    display: none;
  }
}

/* ── Features Section ── */
.features-section {
  padding: 100px 0;
  background: rgba(11, 15, 25, 0.5);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Safety Section ── */
.safety-section {
  padding: 100px 0;
}

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

.safety-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 20px 0;
}

.safety-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.safety-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.health-gauge {
  margin-bottom: 30px;
}

.gauge-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.gauge-value {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
}

.gauge-max {
  font-size: 14px;
  color: var(--text-muted);
}

.gauge-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
}

.gauge-factors {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-dark);
  padding: 16px;
  border-radius: var(--radius-lg);
  font-size: 13px;
}

.gauge-factors .factor {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

/* ── FAQ Section ── */
.faq-section {
  padding: 100px 0;
  background: rgba(11, 15, 25, 0.4);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  color: var(--indigo);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

/* ── CTA Banner ── */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-container {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.cta-container h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-container p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.glow-button {
  background: #fff;
  color: var(--bg-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.glow-button:hover {
  background: #f3f4f6;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ── Footer ── */
.footer {
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--indigo);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Pricing Section (Lemon Squeezy) ── */
.pricing-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 48px;
}

.pricing-card {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(99, 102, 241, 0.25);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-val {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-primary);
  background: linear-gradient(135deg, #fff 40%, var(--indigo-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.trial-callout {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #fde047;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: center;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lemon-buy-btn {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--indigo-light);
}

.lemon-buy-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--indigo);
}

.mp-buy-btn {
  border-color: rgba(0, 158, 227, 0.4);
  color: #009ee3;
}

.mp-buy-btn:hover {
  background: rgba(0, 158, 227, 0.15);
  border-color: #009ee3;
}

.mp-callout-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  padding: 8px 12px;
  background: rgba(0, 158, 227, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 158, 227, 0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 36px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .safety-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}
