/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal-deep: #085041;
  --teal: #0F6E56;
  --mint: #5DCAA5;
  --mint-light: #E1F5EE;
  --bg-dark: #061f1a;
  --bg-dark-alt: #0a2e24;
  --white: #ffffff;
  --grey-50: #f8faf9;
  --grey-100: #f1f3f2;
  --grey-200: #e2e5e4;
  --grey-600: #4a5553;
  --grey-800: #1a2b27;
  --text-dark: #0d1f1a;
  --text-muted: #4a5f58;
  --red: #E24B4A;
  --amber: #EF9F27;
  --green: #1D9E75;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* Network canvas layers above section backgrounds; content containers layer above canvas */
.container, .nav-inner, .footer-inner {
  position: relative;
  z-index: 2;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint);
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: #4bbf98;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(93, 202, 165, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--mint);
  border: 2px solid var(--mint);
}

.btn-secondary:hover {
  background: rgba(93, 202, 165, 0.1);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.125rem;
  border-radius: 10px;
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(6, 31, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(93, 202, 165, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-text span {
  color: var(--mint);
}

.nav-logo-img {
  height: 36px;
  width: auto;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(170deg, var(--bg-dark) 0%, var(--bg-dark-alt) 50%, var(--teal-deep) 100%);
  padding: calc(var(--nav-height) + 80px) 0 100px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 80%, rgba(15, 110, 86, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(93, 202, 165, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-trust-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border: 1px solid rgba(93, 202, 165, 0.25);
  border-radius: 20px;
  background: rgba(93, 202, 165, 0.08);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-link {
  color: var(--mint);
  font-weight: 500;
  transition: opacity var(--transition);
}

.hero-link:hover {
  opacity: 0.8;
}

/* ===== HERO COMPARISON VISUAL ===== */
.hero-comparison {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
  /* Height determined by tallest card; cards overlap via positioning */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.comp-card {
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.comp-card.visible {
  opacity: 1;
}

.comp-before {
  background: rgba(20, 10, 10, 0.75);
  border: 1px solid rgba(226, 75, 74, 0.2);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  transform: translateX(40px) translateY(24px) rotate(-1.5deg) scale(0.95);
  opacity: 0;
  z-index: 1;
}

.comp-before.visible {
  transform: translateX(40px) translateY(24px) rotate(-1.5deg) scale(0.95);
  opacity: 0.92;
}

.comp-after {
  background: rgba(10, 30, 22, 0.8);
  border: 1px solid rgba(29, 158, 117, 0.3);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(93, 202, 165, 0.12),
    0 0 120px rgba(93, 202, 165, 0.06);
  transform: translateX(-40px) rotate(1.5deg) scale(0.96);
  opacity: 0;
  z-index: 2;
}

.comp-after.visible {
  transform: translateX(-40px) rotate(1.5deg) scale(1);
  opacity: 1;
}


.comp-card-accent {
  height: 3px;
  width: 100%;
}

.comp-accent-red {
  background: linear-gradient(90deg, var(--red), rgba(226, 75, 74, 0.3));
}

.comp-accent-green {
  background: linear-gradient(90deg, var(--green), rgba(29, 158, 117, 0.3));
}

.comp-card-inner {
  padding: 28px 24px 24px;
}

.comp-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.comp-label-red { color: var(--red); }
.comp-label-green { color: var(--green); }

/* Gauges */
.comp-gauge {
  position: relative;
  width: 180px;
  height: 100px;
  margin: 16px auto 8px;
}

.comp-gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.comp-gauge-arc {
  transition: stroke-dasharray 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.comp-gauge-arc-before.animated {
  stroke-dasharray: 14 100;
}

.comp-gauge-arc-after.animated {
  stroke-dasharray: 94 100;
}

.comp-gauge-value {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.comp-score {
  font-size: 2.5rem;
  font-weight: 800;
}

.comp-score-red { color: var(--red); }
.comp-score-green { color: var(--green); }

.comp-score-max {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
}

.comp-verdict {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.comp-verdict-red { color: var(--red); }
.comp-verdict-green { color: var(--green); }

/* Issue / improvement lists */
.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.comp-list-item {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comp-x {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.comp-check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Snippet */
.comp-snippet {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-snippet-line {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.comp-snippet-key {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}


/* ===== PROBLEM SECTION ===== */
.problem {
  padding: 100px 0;
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.problem-card {
  text-align: center;
}

.problem-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.problem-icon.problem-icon-custom {
  width: auto;
  height: auto;
  max-width: 140px;
  background: none;
  border-radius: 0;
}

.problem-icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.problem-icon.problem-icon-custom svg {
  width: 100%;
  height: auto;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--bg-dark-alt) 0%, var(--bg-dark) 100%);
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-connector {
  display: none;
}

@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--mint), rgba(93, 202, 165, 0.2));
  }

  .step:last-child .step-connector {
    display: none;
  }
}

.hiw-screenshot {
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 600 / 400;
  border: 1px solid rgba(93, 202, 165, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.hiw-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--grey-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 36px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--mint);
  box-shadow: 0 8px 32px rgba(15, 110, 86, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.feature-icon-custom svg {
  width: auto;
  height: auto;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ===== SCORE PREVIEW ===== */
.score-preview {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--teal-deep) 0%, var(--bg-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.score-preview::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 202, 165, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.gauge-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 40px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 12;
}

.gauge-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 0 628;
  transition: stroke-dasharray 2s ease-out;
}

.gauge-fill.animated {
  stroke-dasharray: 144.44 628;
}

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-score {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.gauge-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

.score-preview .description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.plan-card {
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  background: var(--white);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.plan-card.popular {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(15, 110, 86, 0.12);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230F6E56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--grey-50);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--mint);
}

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

.faq-question:hover {
  color: var(--teal);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== AGENTIC COMMERCE EXPLAINER ===== */
.explainer {
  padding: 80px 0;
  background: var(--white);
}

.explainer-content {
  max-width: 760px;
  margin: 0 auto;
}

.explainer-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.explainer-content p:last-child {
  margin-bottom: 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--bg-dark) 0%, var(--teal-deep) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(93, 202, 165, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 700px;
  margin: 0 auto 16px;
  position: relative;
}

.final-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  position: relative;
}

.final-cta .btn {
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-text span {
  color: var(--mint);
}

.footer-logo-img {
  height: 28px;
  width: auto;
}



.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

/* ===== LEGAL PAGES (Privacy, Terms) ===== */
.legal-page {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: var(--white);
  min-height: 100vh;
}

.legal-container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-notice {
  background: var(--mint-light);
  border: 1px solid rgba(93, 202, 165, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 40px;
}

.legal-toc {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-toc h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.legal-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.legal-toc a {
  color: var(--teal);
  font-weight: 500;
  transition: color var(--transition);
}

.legal-toc a:hover {
  color: var(--teal-deep);
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page section h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-top: 8px;
}

.legal-page section h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  margin-top: 20px;
}

.legal-page section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.legal-page section ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.legal-page section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
}

.legal-page section a {
  color: var(--teal);
  font-weight: 500;
  transition: color var(--transition);
}

.legal-page section a:hover {
  color: var(--teal-deep);
}

.legal-page section code {
  background: var(--grey-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }
.fade-up.delay-6 { transition-delay: 0.6s; }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 31, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu .btn {
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--nav-height) + 48px) 0 64px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-comparison {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
  }

  .comp-card {
    max-width: 100%;
  }

  .comp-before, .comp-before.visible {
    transform: translateX(0) translateY(0) rotate(0deg) scale(0.97);
    z-index: 1;
  }

  .comp-after, .comp-after.visible {
    transform: translateX(0) translateY(-24px) rotate(0deg) scale(1);
    z-index: 2;
  }


  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-connector {
    display: none !important;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    align-items: center;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .plan-card {
    padding: 28px 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-body {
    font-size: 1rem;
  }

  .blog-share-links {
    justify-content: center;
  }
}

/* ===== BLOG LISTING PAGE ===== */
.blog-listing {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: var(--white);
  min-height: 100vh;
}

.blog-listing-header {
  text-align: center;
  margin-bottom: 64px;
}

.blog-listing-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.blog-listing-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}

.blog-card:hover {
  border-color: var(--mint);
  box-shadow: 0 8px 32px rgba(15, 110, 86, 0.08);
  transform: translateY(-2px);
}

.blog-card-body {
  padding: 28px;
}

.blog-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
}

.blog-card:hover .blog-card-link {
  color: var(--teal-deep);
}

/* ===== BLOG ARTICLE PAGE ===== */
.blog-article-page {
  padding: calc(var(--nav-height) + 40px) 0 80px;
  background: var(--white);
  min-height: 100vh;
}

.breadcrumbs {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 500;
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--teal-deep);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--grey-200);
}

.breadcrumb-current {
  color: var(--text-muted);
}

.blog-article {
  max-width: 720px;
  margin: 0 auto;
}

.blog-article-header {
  margin-bottom: 40px;
}

.blog-article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-article-author {
  font-weight: 600;
  color: var(--text-dark);
}

.blog-article-meta-sep {
  color: var(--grey-200);
}

/* Article body typography */
.blog-article-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.blog-article-body p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.blog-article-body h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.blog-article-body h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-article-body ul,
.blog-article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-article-body ul {
  list-style: none;
  padding-left: 0;
}

.blog-article-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.blog-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.blog-article-body ol li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.blog-article-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.blog-article-body em {
  font-style: italic;
}

.blog-article-body code {
  background: var(--grey-100);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text-dark);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.blog-article-body pre {
  background: var(--grey-800);
  color: rgba(255, 255, 255, 0.9);
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 0.88em;
  line-height: 1.6;
}

.blog-article-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

.blog-article-body blockquote {
  border-left: 3px solid var(--mint);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--grey-50);
  border-radius: 0 8px 8px 0;
}

.blog-article-body blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-dark);
}

.blog-article-body img {
  border-radius: 10px;
  margin: 32px 0;
}

.blog-article-body figure {
  margin: 32px 0;
}

.blog-article-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Blog CTA Box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-deep) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 56px 0 48px;
}

.blog-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.blog-cta-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Podcast Banner */
.blog-podcast-banner {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 0;
}

.blog-podcast-icon {
  flex-shrink: 0;
  color: #1D9E75;
}

.blog-podcast-text {
  flex: 1;
  min-width: 0;
}

.blog-podcast-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.blog-podcast-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.blog-podcast-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1DB954;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}

.blog-podcast-btn:hover {
  background: #1aa34a;
}

@media (max-width: 600px) {
  .blog-podcast-banner {
    flex-direction: column;
    text-align: center;
  }
  .blog-podcast-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Related Articles */
.blog-related {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}

.blog-related h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.blog-related-empty {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Social Sharing */
.blog-share {
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.blog-share-links {
  display: flex;
  gap: 10px;
}

.blog-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  font-family: inherit;
}

.blog-share-btn:hover {
  background: var(--mint-light);
  border-color: var(--mint);
  color: var(--teal);
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  background: var(--grey-800);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.blog-share-btn.copied .copy-tooltip {
  opacity: 1;
}

/* ===== COMING SOON MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 31, 26, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: inherit;
}

.modal-close-x:hover {
  background: var(--grey-100);
  color: var(--text-dark);
}

.modal-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
}

.modal h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.modal p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-blog-link {
  font-size: 0.95rem;
  color: var(--teal);
  font-weight: 600;
  transition: color var(--transition);
}

.modal-blog-link:hover {
  color: var(--teal-deep);
}

.modal-close-text {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: color var(--transition);
}

.modal-close-text:hover {
  color: var(--text-dark);
}

@media (max-width: 480px) {
  .modal {
    padding: 40px 24px 32px;
  }
}
