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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161d;
  --bg-card-hover: #1c1c25;
  --border: #2a2a35;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-muted: rgba(99, 102, 241, 0.15);
  --green: #10b981;
  --green-muted: rgba(16, 185, 129, 0.15);
  --red: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.section-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -1rem;
  margin-bottom: 2.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-cta {
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.guarantee {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.savings-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.savings-item {
  text-align: center;
}

.savings-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.savings-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.savings-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.savings-divider {
  width: 1px;
  background: var(--border);
}

/* Problem */
.problem {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Solution */
.solution {
  padding: 5rem 0;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.system-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.system-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.system-header h3 {
  font-size: 1.2rem;
  flex: 1;
}

.system-tag {
  font-size: 0.8rem;
  color: var(--green);
  background: var(--green-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.system-desc {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.system-math {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
}

.math-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.math-row:last-child {
  margin-bottom: 0;
}

.math-label {
  color: var(--text-muted);
  min-width: 60px;
}

.math-value {
  color: var(--text-secondary);
}

.math-value strike {
  color: var(--red);
}

.math-value.highlight {
  color: var(--green);
}

.math-value strong {
  font-weight: 700;
}

.heartbeat-demo {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

.heartbeat-demo pre {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.system-quote {
  color: var(--text-secondary);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1rem;
}

/* Calculator */
.calculator {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.calc-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.calc-input label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.input-row {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.input-prefix, .input-suffix {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.input-row input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.75rem 0;
  text-align: center;
  outline: none;
}

.calc-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.calc-result.total {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.calc-result.highlight {
  background: var(--green-muted);
  margin: 1rem -1rem -1rem;
  padding: 1rem;
  border-radius: 0 0 8px 8px;
}

.result-label {
  color: var(--text-secondary);
}

.result-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.calc-result.total .result-value {
  color: var(--green);
  font-size: 1.3rem;
}

.calc-result.highlight .result-value {
  color: var(--green);
  font-size: 1.5rem;
}

.calc-payback {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.calc-payback strong {
  color: var(--green);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* What's Included */
.whats-included {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.included-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.included-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.included-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.included-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.compat {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.compat h4 {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.compat-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.compat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Pricing */
.pricing {
  padding: 5rem 0;
}

.pricing-card {
  max-width: 450px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-tagline {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-note {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-guarantee {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-text {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .savings-preview {
    flex-direction: column;
    gap: 1rem;
  }
  
  .savings-divider {
    height: 1px;
    width: 100%;
  }
  
  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .price {
    font-size: 3rem;
  }
}