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

:root {
  --green-dark: #1a3d2b;
  --green-mid: #2d6a4f;
  --green-bright: #22c55e;
  --green-headline: #1db954;
  --green-text: #2d6a4f;
  --green-bg: #f0faf4;
  --green-bg-mid: #d1fae5;
  --orange: #e8622a;
  --orange-hover: #d4521a;
  --dark: #1a1a1a;
  --dark-2: #2d2d2d;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --white: #ffffff;
  --off-white: #f9fafb;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */

/* Primary section headline — subsections use a slightly smaller size than the hero */
.section-headline-dark,
.section-title-green,
.features-main-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

/* Green subheadline below the main headline — centered, medium weight */
.section-subheadline-green-bold {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-headline);
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Override: when section-title-green is used AS the main headline (Why Us) */
h2.section-title-green {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

/* Green subtext used under dark headlines */
.section-sub-green {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-headline);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.section-subheadline-orange {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-headline);
  margin-bottom: 0;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.95rem;
  padding: 12px 24px;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,98,42,0.35);
}

.btn-outline-green {
  background: transparent;
  color: #1db954;
  border: 2px solid #1db954;
}
.btn-outline-green:hover {
  background: #1db954;
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 8px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.logo-bold { font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav-mobile a {
  color: var(--gray);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--dark); }
.nav-mobile .btn { margin-top: 12px; }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
}

/* Full-width hero content — stretches edge to edge with padding */
.hero-content-full {
  position: relative;
  width: 100%;
  padding: 0 48px;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--green-headline);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 680px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== ICON STRIP (SCROLLING MARQUEE) ===== */
.icon-strip {
  padding: 48px 0 56px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.icon-strip-label-wrap {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 24px;
}

.icon-strip-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

/* Marquee container — clips the overflow */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* The scrolling track — contains two identical sets of icons */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.marquee-item img {
  height: 56px;
  width: auto;
  display: block;
  /* Keep the hand-drawn black-on-white look */
  filter: none;
  transition: transform 0.2s ease;
}

.marquee-item:hover img {
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: #f3f4f6;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-bright);
}

.feature-img-wrap {
  background: #f3f4f6;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 500/279;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-img-placeholder {
  background: #f3f4f6;
}

.placeholder-icon {
  font-size: 3.5rem;
}

.feature-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.feature-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.feature-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: #f3f4f6;
}

.comparison-table {
  background: #1db954;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.3fr;
  gap: 0;
}

.comparison-header {
  background: rgba(0,0,0,0.15);
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.comparison-row {
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.comparison-row:last-child { border-bottom: none; }
.comparison-row:hover { background: rgba(255,255,255,0.04); }

.col-risk {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  padding-right: 16px;
}

.comparison-header .col-risk {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

.col-without {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 0 16px;
  font-style: italic;
}

.comparison-header .col-without {
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.col-with {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.comparison-header .col-with {
  font-weight: 700;
  color: var(--white);
}

/* ===== STATS ===== */
.stats {
  padding: 100px 0;
  background: #ffffff;
}

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

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-bright);
}

.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stat-number span {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--orange);
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.stat-source {
  font-size: 0.75rem;
  color: var(--gray-light);
  font-style: italic;
}

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

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.toggle-btn {
  background: var(--off-white);
  border: 1.5px solid var(--border-dark);
  color: var(--gray);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.active {
  background: #1db954;
  border-color: #1db954;
  color: var(--white);
}

.save-badge {
  background: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.pricing-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--off-white);
  border: 2px solid #1db954;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-block;
  background: #1db954;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 32px;
}

.price-amount {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-meta {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

.price-period {
  font-size: 1.2rem;
  color: var(--gray);
  font-weight: 600;
  line-height: 1;
}

.price-subtitle {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
  margin-top: 4px;
}

.pricing-fine {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 12px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark);
}

.pf-check {
  width: 20px;
  height: 20px;
  background: rgba(26,61,43,0.1);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== CALCULATOR ===== */
.calculator {
  padding: 100px 0;
  background: #f3f4f6;
}

.calc-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.calc-question {
  margin-bottom: 32px;
}

.calc-question p {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.calc-btns {
  display: flex;
  gap: 12px;
}

.calc-btn {
  flex: 1;
  padding: 12px;
  background: var(--off-white);
  border: 1.5px solid var(--border-dark);
  color: var(--gray);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-btn:hover {
  border-color: #1db954;
  color: #1db954;
}

.calc-btn.selected-yes {
  border-color: #1db954;
  background: rgba(29,185,84,0.08);
  color: #1db954;
}

.calc-btn.selected-no {
  border-color: var(--orange);
  background: rgba(232,98,42,0.08);
  color: var(--orange);
}

#checkRiskBtn {
  width: 100%;
  margin-top: 8px;
  opacity: 0.5;
  cursor: not-allowed;
}

#checkRiskBtn:not([disabled]) {
  opacity: 1;
  cursor: pointer;
}

.calc-result {
  text-align: center;
}

.calc-result.hidden { display: none; }

.result-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.calc-result h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.calc-result p {
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.7;
}

.result-rec {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px !important;
  font-size: 0.9rem;
}

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

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

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

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

.faq-q:hover { color: #1db954; }

.faq-arrow {
  font-size: 0.7rem;
  color: var(--gray-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-q.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 0 24px;
}

.faq-a p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-a.open { display: block; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 120px 0;
  background: #1db954;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.final-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
}

.final-fine {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.7) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--orange);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

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

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 360px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-cta-link {
  color: var(--green-bright) !important;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .comparison-header, .comparison-row { padding: 16px 20px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-headline { font-size: 2.4rem; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }

  .comparison-header, .comparison-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 20px;
  }
  .col-without, .col-with { padding: 0; }

  .pricing-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .calc-card { padding: 32px 24px; }

  .icon-strip-grid { gap: 24px 28px; }
  .icon-item { width: 80px; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}
