/* ============ FONT (self-hosted, variable 400–800 latin) ============ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 44, 34, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

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

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lang-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover { color: var(--primary); }

.lang-btn:focus-visible,
.btn:focus-visible,
.mobile-cta:focus-visible,
.faq-q:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.72);
  outline-offset: 3px;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding-bottom: 72px;
}

.hero-inner { padding-top: 40px; }

.badge {
  display: inline-block;
  background: #ccfbf1;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title em {
  color: var(--primary);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 420px;
  margin: 0 auto 32px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 1rem; color: var(--text); font-weight: 600; }
.stat-src { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 16px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-list li::before {
  content: '✓';
  margin-right: 6px;
  color: var(--primary);
  font-weight: 800;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover { box-shadow: 0 12px 26px rgba(15, 118, 110, 0.4); }

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

.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============ SECTIONS ============ */
.section { padding: 72px 0; text-align: center; }

.section:nth-child(even) { background: var(--bg-soft); }

/* Decorative section emojis added height without improving comprehension. */
.section-emoji { display: none; }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-title em { color: var(--primary); font-style: normal; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ============ CARDS ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-emoji {
  display: inline-block;
  margin-right: 9px;
  font-size: 1.4rem;
  line-height: 1;
  vertical-align: -0.16em;
}

.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-emoji + h3 { display: inline; }
.card-emoji + h3 + p { margin-top: 12px; }

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

/* ============ TIMELINE ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.phase {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.phase-warning {
  border-color: #fca5a5;
  background: #fef2f2;
}

.phase-age {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  white-space: nowrap;
}

.phase-warning .phase-age { color: #dc2626; }

.phase h3 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }

.phase-bold { font-weight: 700; margin-bottom: 8px; }

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

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
  margin-bottom: 32px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

.cert-highlight {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cert-highlight-body { flex: 1; min-width: 0; }
.cert-highlight-title { display: block; margin-bottom: 12px; }
.cert-highlight-title,
.scheme-list strong,
.scheme-list span { overflow-wrap: break-word; }

.scheme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.scheme-list li {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
}

.scheme-list strong,
.scheme-list span { display: block; }
.scheme-list strong { margin-bottom: 3px; color: var(--primary-dark); }
.scheme-list span { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.cert-highlight-body > p { margin-top: 12px; color: var(--text); font-size: 0.92rem; }

/* ============ NUMBERED ============ */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}

.num-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.num {
  font-size: 2rem;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.num-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.num-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ CHECK LIST ============ */
.check-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.check-list li {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.check-list li:last-child { border-bottom: none; }

/* ============ PRICING ============ */
.pricing-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.price-top { padding: 32px 32px 24px; text-align: center; }

.price-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.price { display: flex; flex-direction: column; gap: 4px; }

.price-old {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: line-through;
}

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

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

.price-features {
  list-style: none;
  text-align: left;
  padding: 0 32px 24px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

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

.pricing-box .btn-block { margin: 0 32px 8px; width: auto; }

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

/* ============ FAQ ============ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ FINAL CTA ============ */
.section.final-cta {
  background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
  color: #fff;
}

.final-cta .section-title { color: #fff; }
.final-cta .section-title em { color: #99f6e4; }
.final-cta p { color: #ccfbf1; max-width: 560px; margin: 0 auto 28px; }
.final-cta .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.final-cta .trust-list { color: #ccfbf1; }
.final-cta .trust-list li::before { color: #99f6e4; }

/* ============ FOOTER ============ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 40px 0;
}

.footer strong { color: #fff; }
.footer p { margin-bottom: 6px; }
.footer-copy { font-size: 0.8rem; color: #64748b; margin-top: 12px; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand img { width: 30px; height: 30px; flex: 0 0 auto; }
.footer-brand p { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.footer-brand p span::before { content: '— '; }

/* The persistent conversion action is mobile-only. */
.mobile-cta { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  .container { padding-inline: 20px; }

  .section {
    padding: 48px 0 56px;
    scroll-margin-top: 12px;
  }

  .card-grid, .timeline, .steps, .numbered-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav {
    min-height: 60px;
    padding: 12px 108px 12px 20px;
  }

  .nav-brand {
    min-width: 0;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.15;
    text-align: left;
  }

  .nav-logo { width: 28px; height: 28px; }
  .nav > .btn { display: none; }

  .lang-switcher {
    position: absolute;
    top: 13px;
    right: 16px;
    z-index: 10;
    border-radius: 10px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(8px);
  }

  .lang-btn {
    min-width: 38px;
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .hero { padding-bottom: 52px; }
  .hero-inner { padding-top: 24px; }

  .badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .hero-title {
    max-width: 21rem;
    margin: 0 auto 18px;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .hero-sub {
    max-width: 34ch;
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.72;
    text-wrap: pretty;
  }

  .stat-card {
    max-width: 100%;
    margin-bottom: 24px;
    padding: 22px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 94, 89, 0.08);
  }

  .stat-value { font-size: 2.55rem; }
  .hero-inner > .btn { display: none; }
  .trust-list {
    gap: 5px 12px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .section-emoji { font-size: 1.8rem; margin-bottom: 10px; }
  .section-title {
    max-width: 22rem;
    margin: 0 auto 14px;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .section-sub {
    max-width: 35ch;
    margin-bottom: 28px;
    font-size: 0.96rem;
    line-height: 1.7;
    text-wrap: pretty;
  }

  .card, .phase, .step, .num-card { padding: 20px; }
  .card p, .phase p, .step p, .num-card p { line-height: 1.65; }

  .timeline { position: relative; }
  .phase { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .phase-age { margin: 2px 0 0; font-size: 1rem; line-height: 1.25; }
  .phase-body { min-width: 0; }

  .steps { counter-reset: step; }
  .step { padding-left: 66px; }
  .step-num {
    position: absolute;
    top: 20px;
    left: 18px;
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 1rem;
  }

  .cert-highlight { padding: 18px; }
  .scheme-list { grid-template-columns: 1fr; gap: 8px; }
  .scheme-list li { padding: 12px; }
  .check-list li { padding: 13px 2px; line-height: 1.55; }

  .price-top { padding: 24px 20px 20px; }
  .price-badge { padding: 7px 12px; font-size: 0.78rem; }
  .price-new { font-size: 1.45rem; }
  .price-features { padding: 0 20px 20px; }
  .pricing-box .btn-block { margin: 0 20px 6px; }
  .guarantee { padding: 18px 20px 24px; }

  .faq-q { padding: 17px 18px; font-size: 0.94rem; line-height: 1.45; }
  .faq-a p { padding: 0 18px 18px; }

  .final-cta .btn-lg { width: 100%; padding-inline: 18px; }
  .footer { padding: 32px 0; font-size: 0.88rem; }
  .footer-brand { align-items: flex-start; }
  .footer-brand p { display: grid; gap: 1px; text-align: left; line-height: 1.35; }
  .footer-brand p span { color: #94a3b8; font-size: 0.78rem; }
  .footer-brand p span::before { content: ''; }

  .mobile-cta {
    position: fixed;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 62px;
    padding: 10px 18px;
    color: #fff;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 94, 89, 0.34);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-cta:active { transform: scale(0.985); }
  .mobile-cta-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    color: var(--primary-dark);
    background: #fff;
    border-radius: 11px;
    font-size: 1.2rem;
    font-weight: 800;
  }

  .mobile-cta span:last-child { display: grid; line-height: 1.2; }
  .mobile-cta small { font-size: 0.69rem; font-weight: 600; opacity: 0.82; }
  .mobile-cta strong { font-size: 0.93rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
