/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1F2937; background: #ffffff; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITIES ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: #F4F6F8; }
.text-center { text-align: center; }
.muted { color: #6b7280; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: #6B7280; margin-bottom: 32px; }
h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
p  { font-size: 1.0625rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  border-radius: 8px; padding: 14px 32px; transition: all .2s ease; cursor: pointer; border: none;
}
.btn--primary { background: #2F5E8E; color: #fff; }
.btn--primary:hover { background: #254A72; }
.btn--outline { background: transparent; color: #2F5E8E; border: 1.5px solid #2F5E8E; }
.btn--outline:hover { background: #2F5E8E; color: #fff; }
.btn--large { padding: 16px 40px; font-size: 1.0625rem; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid #e5e7eb;
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; color: #1F2937; white-space: nowrap; }
.nav-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nav-logo span { color: #2E7D32; }
nav .btn { padding: 10px 24px; font-size: .9375rem; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative; padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #1F2937;
  position: absolute; left: 5px; transition: all .3s ease; border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 8px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); top: 15px; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* ── SUB-NAV ── */
.sub-nav { border-bottom: 1px solid #e5e7eb; background: #fff; }
.sub-nav ul {
  display: flex; justify-content: center; gap: 40px; list-style: none;
  padding: 14px 0; margin: 0;
}
.sub-nav a {
  font-size: .9375rem; font-weight: 500; color: #6B7280;
  transition: color .2s ease; white-space: nowrap;
}
.sub-nav a:hover { color: #2F5E8E; }
.sub-nav a.active { color: #2F5E8E; font-weight: 600; }

/* ── LANGUAGE FLAGS ── */
.lang-flags { display: flex; gap: 6px; }
.lang-btn {
  background: none; border: 2px solid transparent; border-radius: 4px;
  cursor: pointer; padding: 2px; line-height: 0; transition: all .2s ease; opacity: .5;
}
.lang-btn:hover { opacity: .8; }
.lang-btn.active { opacity: 1; border-color: #2F5E8E; }
.lang-btn svg { width: 24px; height: 18px; display: block; border-radius: 2px; }

/* ── HERO ── */
.hero { padding: 80px 0 96px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero h1 { max-width: 700px; }
.hero p { max-width: 560px; color: #6B7280; font-size: 1.125rem; }
.hero__sub { font-size: 1.2rem; font-weight: 600; color: #1F2937; margin-top: -8px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero__revenue { font-size: .95rem; font-weight: 500; color: #6B7280; margin-top: -8px; font-style: italic; }
.green { color: #2E7D32; }

/* ── FLOW DIAGRAM ── */
.flow {
  display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; justify-content: center;
  margin-top: 48px; padding: 32px 16px; background: #F4F6F8; border-radius: 16px; width: 100%; max-width: 720px;
}
.flow__step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px; min-width: 0; flex: 1 1 0; text-align: center;
}
.flow__icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: #EDF2F7; color: #2F5E8E;
}
.flow__label { font-size: .8125rem; font-weight: 500; color: #6B7280; }
.flow__arrow { font-size: 1.25rem; color: #9ca3af; }
.flow__note { width: 100%; max-width: 720px; text-align: right; font-size: .8125rem; color: #6B7280; margin-top: 0; padding-right: 4px; }
.flow__brand-icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin: 0 1px; }

/* ── PROBLEM ── */
.problems-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 40px;
}
.problem-card { width: calc(33.333% - 14px); min-width: 240px; }
.problem-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.problem-card__icon { flex-shrink: 0; font-size: 1.25rem; margin-top: 2px; }
.problem-card p { font-size: .9375rem; }
.problem-card--expanded {
  flex-direction: column; align-items: stretch; gap: 10px;
  width: calc(50% - 10px); min-width: 280px;
}
.card-divider { border: none; height: 1px; background: #E5E7EB; margin: 20px 0; }
.problem-card__title { font-size: 1.05rem; font-weight: 700; color: #1F2937; margin: 0; }
.problem-card__pain { font-size: .9rem; color: #6B7280; line-height: 1.5; margin: 0; display: flex; align-items: flex-start; gap: 8px; }
.problem-card__pain .icon-warn { flex-shrink: 0; line-height: 0; margin-top: 2px; }
.problem-card__fix { font-size: .95rem; color: #2E7D32; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.problem-card__fix .icon-tick { flex-shrink: 0; line-height: 0; margin-top: 1px; }

/* ── STEPS ── */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.step-card { text-align: center; padding: 24px 16px; flex: 1 1 200px; max-width: 260px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: #2F5E8E; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem; margin-bottom: 16px;
}
.step-card p { font-size: .9375rem; color: #6B7280; }
.step-arrow { display: flex; align-items: center; padding-top: 32px; }
.how-reassure { font-size: .95rem; color: #6B7280; margin-top: 40px; font-style: italic; }

/* ── EXAMPLE ── */
.example-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start;
}
.example-box {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; overflow: hidden;
}
.example-box--dark { background: #F4F6F8; }
.chat-bubble {
  background: #EDF2F7; padding: 14px 18px; border-radius: 16px 16px 16px 4px;
  display: inline-block; font-size: .9375rem; color: #1F2937;
}
.chat-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; margin-bottom: 8px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e5e7eb; font-size: .9375rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: #6b7280; }
.summary-row span:last-child { font-weight: 500; }

/* ── PRICING ── */
.pricing-layout { display: flex; gap: 32px; justify-content: center; align-items: flex-start; margin-top: 48px; flex-wrap: wrap; }
.pricing-card {
  flex: 1 1 420px; max-width: 480px; background: #fff; border: 2px solid #e5e7eb;
  border-radius: 20px; padding: 48px 40px; text-align: center;
}
.pricing-card:hover { border-color: #2F5E8E; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0; }
.price-label { font-size: 1rem; color: #6B7280; }
.price-value { font-size: 1.5rem; font-weight: 700; color: #1F2937; }
.guarantees { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.guarantee-item { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: #6B7280; }
.guarantee-item svg { flex-shrink: 0; }
.pricing-features { list-style: none; margin: 28px 0 0; text-align: left; }
.pricing-features li {
  padding: 10px 0; border-top: 1px solid #f0f0f0; font-size: .9375rem; color: #6B7280;
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '✓'; color: #2E7D32; font-weight: 700; }
.pricing-note {
  margin-top: 32px; font-size: 1rem; font-weight: 600; font-style: normal;
  color: #1F2937; background: #E8F5E9; border-left: 4px solid #2E7D32;
  padding: 16px 20px; border-radius: 8px; text-align: left;
}
/* ── ALTERNATIVES CARD ── */
.alternatives-card {
  flex: 1 1 340px; max-width: 420px; background: #fff; border: 2px solid #e5e7eb;
  border-radius: 20px; padding: 40px 32px; text-align: left;
}
.alternatives-title { font-size: 1.15rem; font-weight: 700; color: #1F2937; margin: 0 0 24px; }
.alt-row { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: #6B7280; margin: 12px 0; line-height: 1.5; }
.alt-row strong { color: #1F2937; }
.alt-row--bad strong { color: #DC2626; }
.alt-row--good { color: #2E7D32; font-weight: 600; font-size: 1rem; }
.alt-row--good strong { color: #2E7D32; }
.alt-icon { flex-shrink: 0; line-height: 0; margin-top: 2px; }
.alt-divider { border: none; height: 1px; background: #E5E7EB; margin: 20px 0; }
.alt-tagline { font-size: .9rem; color: #6B7280; font-style: italic; margin: 8px 0 0 28px; }

/* ── TRUST ── */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; margin-top: 40px;
}
.trust-item { text-align: center; padding: 24px 16px; }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-item p { font-size: .9375rem; color: #6B7280; }

/* ── FINAL CTA ── */
.cta-section { padding: 80px 0; text-align: center; background: #2F5E8E; color: #fff; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.8); }
.cta-section .btn--primary { background: #fff; color: #2F5E8E; }
.cta-section .btn--primary:hover { background: #f0f4f8; }

/* ── FOOTER ── */
footer { padding: 28px 0; text-align: center; font-size: .7rem; color: #b0b5bc; border-top: 1px solid #e5e7eb; line-height: 1.6; }
.footer-links { margin-top: 6px; }
.footer-links a { color: #b0b5bc; text-decoration: underline; transition: color .2s ease; }
.footer-links a:hover { color: #6B7280; }
.footer-links span { margin: 0 6px; color: #d1d5db; }

/* ── LEGAL PAGES ── */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; line-height: 1.8; }
.legal h1 { margin-bottom: 8px; }
.legal .legal-updated { color: #6B7280; font-size: .9375rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 12px; }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 8px; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-right {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
    flex-direction: column; align-items: center; justify-content: flex-start;
    padding: 32px 24px; gap: 24px;
    transform: translateY(-120%); transition: transform .35s ease;
    z-index: 99;
  }
  .nav-right.open { transform: translateY(0); }

  .sub-nav ul { gap: 16px; flex-wrap: wrap; padding: 12px 0; justify-content: flex-start; overflow-x: auto; }
  .sub-nav a { font-size: .8125rem; }

  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }

  .flow { flex-wrap: wrap; gap: 8px; padding: 24px 16px; }
  .flow__step { flex: 0 0 calc(50% - 16px); }
  .flow__arrow { display: none; }

  .problems-grid { gap: 12px; }
  .problem-card { width: 100%; min-width: 0; }
  .problem-card--expanded { width: 100%; }

  .steps { flex-wrap: wrap; gap: 20px; }
  .step-arrow { display: none; }
  .step-card { max-width: 100%; flex: 1 1 calc(50% - 20px); }

  .example-wrapper { grid-template-columns: 1fr; gap: 24px; }

  .pricing-card { padding: 32px 24px; }
  .alternatives-card { padding: 32px 24px; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-section { padding: 64px 0; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
   ══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 56px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; }
  .btn--large { padding: 14px 24px; font-size: 1rem; }

  .flow__step { flex: 0 0 100%; }

  .steps { gap: 16px; }
  .step-card { padding: 20px 12px; flex: 1 1 100%; }

  .example-box { padding: 24px 16px; }

  .pricing-card { padding: 28px 20px; }
  .alternatives-card { padding: 28px 20px; }
  .pricing-layout { gap: 20px; }
  .price-value { font-size: 1.25rem; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 16px 12px; }

  .sub-nav ul { gap: 12px; padding: 10px 0; }

  .cta-section { padding: 48px 0; }
  .cta-section .btn--large { width: 100%; text-align: center; }
}
