/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Utilities === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 8px; cursor: pointer;
  transition: all 0.25s ease; border: 2px solid transparent;
  font-family: inherit; font-size: 1rem;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-primary {
  background: #6c3ce0; color: #fff; border-color: #6c3ce0;
  box-shadow: 0 4px 14px rgba(108,60,224,0.3);
}
.btn-primary:hover { background: #5a2dc5; border-color: #5a2dc5; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,60,224,0.4); }
.btn-outline {
  background: transparent; color: #6c3ce0; border-color: #6c3ce0;
}
.btn-outline:hover { background: #6c3ce0; color: #fff; }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e8f0; transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.25rem; font-weight: 800; color: #1a1a2e; }
.logo-icon { color: #6c3ce0; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: #6c3ce0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #1a1a2e;
  margin: 5px 0; transition: 0.3s;
}

/* === Hero === */
.hero {
  padding: 130px 0 80px;
  background: linear-gradient(135deg, #f8f6ff 0%, #fff 50%, #f0f7ff 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: #ede8ff; color: #6c3ce0; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 2.75rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.gradient-text {
  background: linear-gradient(135deg, #6c3ce0, #e040a0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: #555; max-width: 540px; margin-bottom: 32px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-thumbnail-stack { position: relative; width: 320px; height: 300px; }
.thumb-card {
  position: absolute; width: 260px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); transition: transform 0.4s ease;
}
.thumb-bad { top: 20px; left: 0; transform: rotate(-6deg); z-index: 1; }
.thumb-good { top: 40px; right: 0; transform: rotate(4deg); z-index: 2; }
.thumb-bad:hover { transform: rotate(-6deg) scale(1.03); }
.thumb-good:hover { transform: rotate(4deg) scale(1.03); }
.thumb-card img { width: 100%; height: auto; display: block; }
.thumb-metric {
  padding: 10px 16px; background: #fff; text-align: center;
  font-weight: 700; font-size: 0.9rem;
}
.metric-bad { color: #dc2626; }
.metric-good { color: #16a34a; }

/* === Scroll Counter === */
.scroll-counter {
  padding: 48px 0; background: #1a1a2e; color: #fff; text-align: center;
}
.counter-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.counter-number {
  font-size: 3.5rem; font-weight: 900; color: #f59e0b;
  font-variant-numeric: tabular-nums;
}
.counter-sublabel { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* === Section Headers === */
.section { padding: 80px 0; }
.section-alt { background: #f9f8ff; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block; padding: 4px 14px; border-radius: 16px;
  background: #ede8ff; color: #6c3ce0; font-size: 0.8rem;
  font-weight: 700; margin-bottom: 12px; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-light { background: rgba(255,255,255,0.15); color: #c4b5fd; }
.section-title { font-size: 2.25rem; font-weight: 900; margin-bottom: 12px; }
.section-sub { color: #666; max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* === Learn Blocks === */
.learn-block {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid #eee;
}
.learn-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.learn-number {
  font-size: 3rem; font-weight: 900; color: #ede8ff;
  line-height: 1;
}
.learn-content h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.learn-content > p { font-size: 1.05rem; color: #444; line-height: 1.8; margin-bottom: 20px; }
.learn-insight {
  display: flex; gap: 12px; padding: 16px 20px;
  background: #f8f6ff; border-radius: 10px; border-left: 4px solid #6c3ce0;
}
.insight-icon { font-size: 1.3rem; flex-shrink: 0; }
.learn-insight span { font-size: 0.95rem; color: #444; line-height: 1.6; }

/* CTR Bar Chart */
.ctr-visual { margin: 24px 0 20px; }
.ctr-bar-group { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ctr-bar-label { width: 130px; font-size: 0.85rem; font-weight: 600; color: #555; text-align: right; flex-shrink: 0; }
.ctr-bar-track { flex: 1; height: 36px; background: #f0eef5; border-radius: 8px; overflow: hidden; }
.ctr-bar {
  height: 100%; border-radius: 8px; display: flex; align-items: center;
  padding-left: 14px; font-weight: 700; font-size: 0.85rem; color: #fff;
  width: 0; transition: width 1.2s ease;
}
.ctr-bar-low { background: linear-gradient(90deg, #ef4444, #f87171); }
.ctr-bar-mid { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.ctr-bar-high { background: linear-gradient(90deg, #16a34a, #4ade80); }

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; }
.pillar-card {
  padding: 20px 16px; border-radius: 10px; background: #fff;
  border: 1px solid #e8e8f0; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(108,60,224,0.1); }
.pillar-icon { font-size: 1.8rem; margin-bottom: 10px; }
.pillar-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.pillar-card p { font-size: 0.8rem; color: #666; line-height: 1.5; }

/* === Dark Section (Science/Comparison) === */
.section-dark { background: #1a1a2e; padding: 80px 0; }
.light-text { color: #fff; }
.light-sub { color: rgba(255,255,255,0.6); }

.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comparison-card {
  background: #252540; border-radius: 14px; overflow: hidden;
  border: 1px solid #333355;
}
.comparison-toggle {
  display: flex; padding: 4px; margin: 12px; background: #1a1a2e;
  border-radius: 8px;
}
.toggle-btn {
  flex: 1; padding: 8px; border: none; border-radius: 6px;
  font-family: inherit; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; background: transparent; color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.toggle-btn.active { background: #6c3ce0; color: #fff; }
.comparison-view { display: none; padding: 0 16px 16px; }
.comparison-view.active { display: block; }
.comp-thumb-img {
  border-radius: 10px; overflow: hidden; margin-bottom: 12px;
}
.comp-thumb-img img { width: 100%; height: auto; display: block; border-radius: 10px; }
.comp-score {
  text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.score-val { font-size: 1.5rem; font-weight: 800; display: block; }
.score-val.bad { color: #ef4444; }
.score-val.good { color: #4ade80; }
.comp-analysis {
  padding: 16px; border-top: 1px solid #333355;
  font-size: 0.8rem; color: rgba(255,255,255,0.7);
}
.comp-analysis h4 { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.comp-analysis li { margin-bottom: 4px; line-height: 1.5; }

/* === Calculator === */
.calculator-box {
  max-width: 800px; margin: 0 auto;
  background: #fff; border-radius: 16px; padding: 40px;
  border: 1px solid #e8e8f0; box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.calc-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.calc-field input {
  width: 100%; padding: 12px 16px; border: 2px solid #e8e8f0;
  border-radius: 8px; font-size: 1.1rem; font-weight: 600;
  font-family: inherit; transition: border-color 0.2s;
}
.calc-field input:focus { outline: none; border-color: #6c3ce0; }
.calc-help { font-size: 0.75rem; color: #999; margin-top: 4px; display: block; }
.calc-results {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.calc-result-card {
  flex: 1; min-width: 140px; padding: 20px; border-radius: 12px;
  background: #f9f8ff; text-align: center;
}
.highlight-card { background: #ede8ff; }
.gain-card { background: #dcfce7; }
.calc-result-label { font-size: 0.75rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.calc-result-value { font-size: 1.75rem; font-weight: 900; }
.highlight-card .calc-result-value { color: #6c3ce0; }
.gain-card .calc-result-value { color: #16a34a; }
.calc-result-sub { font-size: 0.8rem; font-weight: 600; color: #16a34a; margin-top: 2px; }
.calc-result-arrow { font-size: 1.5rem; color: #6c3ce0; font-weight: 700; }
.calc-insight {
  text-align: center; padding: 16px 24px; background: #f8f6ff;
  border-radius: 10px; font-size: 0.95rem; color: #444; line-height: 1.6;
}

/* === Checklist === */
.checklist-grid {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.check-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 10px; background: #fff;
  border: 1px solid #e8e8f0; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.check-item:hover { border-color: #c4b5fd; }
.check-item input { display: none; }
.check-box {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid #d4d0e8;
  flex-shrink: 0; margin-top: 2px; position: relative;
  transition: all 0.2s;
}
.check-item input:checked + .check-box {
  background: #6c3ce0; border-color: #6c3ce0;
}
.check-item input:checked + .check-box::after {
  content: ''; position: absolute; top: 3px; left: 6px;
  width: 6px; height: 10px; border: 2px solid #fff;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.check-item input:checked ~ .check-text { color: #888; }
.check-text { font-size: 0.95rem; color: #444; line-height: 1.5; }
.check-text strong { color: #1a1a2e; }
.checklist-note {
  text-align: center; margin-top: 24px; font-size: 0.9rem; color: #888;
}
.checklist-note a { color: #6c3ce0; font-weight: 600; }
.checklist-note a:hover { text-decoration: underline; }

/* === Mistakes === */
.mistakes-list { max-width: 720px; margin: 0 auto; }
.mistake-item {
  display: flex; gap: 20px; margin-bottom: 32px;
  padding-bottom: 32px; border-bottom: 1px solid #eee;
}
.mistake-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.mistake-num {
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.1rem; font-weight: 800; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.bad-num { background: #fee2e2; color: #dc2626; }
.mistake-content h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.mistake-content p { font-size: 0.95rem; color: #555; line-height: 1.7; }

/* === Steps === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  padding: 32px; border-radius: 12px; background: #fff;
  border: 1px solid #e8e8f0; text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: #6c3ce0;
  color: #fff; font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: #666; font-size: 0.95rem; }

/* === Testimonials === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  padding: 28px; border-radius: 12px; background: #fff;
  border: 1px solid #e8e8f0;
}
.testimonial-result {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  background: #dcfce7; color: #16a34a; font-size: 0.8rem;
  font-weight: 700; margin-bottom: 12px;
}
.testimonial-card > p { font-size: 0.95rem; color: #444; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #ede8ff;
  color: #6c3ce0; font-weight: 700; display: flex; align-items: center;
  justify-content: center; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: #888; }

/* === Audit Form === */
.section-cta {
  background: linear-gradient(135deg, #6c3ce0, #4c1d95);
  color: #fff; padding: 80px 0;
}
.audit-box { max-width: 640px; margin: 0 auto; text-align: center; }
.audit-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.audit-box > p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; line-height: 1.7; }
.audit-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: rgba(255,255,255,0.9);
}
.form-group input {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus { outline: none; border-color: rgba(255,255,255,0.6); }
.form-note { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 12px; }
.form-success { padding: 32px; background: rgba(255,255,255,0.1); border-radius: 12px; }
.success-icon { font-size: 2.5rem; color: #4ade80; margin-bottom: 12px; }
.form-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.85); }
.form-error { padding: 16px; background: rgba(239,68,68,0.2); border-radius: 8px; margin-top: 16px; }
.form-error p { color: #fca5a5; font-size: 0.9rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  padding: 32px 24px; border-radius: 12px; background: #fff;
  border: 1px solid #e8e8f0; text-align: center; position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.pricing-card-popular {
  border-color: #6c3ce0; box-shadow: 0 4px 24px rgba(108,60,224,0.15);
  transform: scale(1.03);
}
.pricing-card-popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #6c3ce0; color: #fff; padding: 4px 16px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 700;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; }
.price-currency { font-size: 1.25rem; vertical-align: super; }
.price-mo { font-size: 1rem; font-weight: 500; color: #888; }
.pricing-period { font-size: 0.85rem; color: #888; }
.pricing-features { margin-bottom: 24px; flex: 1; }
.pricing-features li {
  padding: 8px 0; font-size: 0.9rem; color: #555;
  border-bottom: 1px solid #f0f0f5;
}
.pricing-features li:last-child { border-bottom: none; }

/* === Final CTA === */
.section-final {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, #f8f6ff 0%, #fff 100%);
}
.final-content { max-width: 560px; margin: 0 auto; }
.final-content h2 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; }
.final-content p { font-size: 1.05rem; color: #555; line-height: 1.7; margin-bottom: 24px; }

/* === Footer === */
.footer { background: #1a1a2e; color: #ccc; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-company { margin-top: 8px; }
.footer-company a { color: #a78bfa; }
.footer-company a:hover { color: #c4b5fd; }
.footer-links { display: flex; gap: 48px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85rem; color: #aaa; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a3e; padding-top: 20px; }
.footer-bottom p { font-size: 0.8rem; color: #666; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: #fff; padding: 20px 24px;
    border-bottom: 1px solid #e8e8f0; gap: 16px;
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 100px 0 60px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-visual { display: none; }

  .counter-number { font-size: 2.5rem; }

  .learn-block { grid-template-columns: 1fr; gap: 8px; }
  .learn-number { font-size: 2rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .ctr-bar-group { flex-direction: column; align-items: stretch; gap: 4px; }
  .ctr-bar-label { width: auto; text-align: left; }

  .comparison-grid { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-results { flex-direction: column; }
  .calc-result-arrow { transform: rotate(90deg); }

  .steps-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card-popular { transform: none; }
  .pricing-card-popular:hover { transform: translateY(-4px); }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
}
