:root {
  --bg: #0b0d12;
  --bg-card: #141822;
  --border: #232838;
  --text: #e8eaf0;
  --text-muted: #9aa3b5;
  --accent: #10a37f;
  --accent-hover: #0d8a6b;
  --accent-soft: rgba(16, 163, 127, 0.12);
  --warn: #f0b429;
  --radius: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

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

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 50;
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }

.lang-switch a {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lang-switch a:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #04140f;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,163,127,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16,163,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,163,127,0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 56px 0;
}
.stat {
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
}
.stat .num { font-size: 1.9rem; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.stat .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* Sections */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section-intro {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }
.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* Timeline / steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
}
.faq-item .faq-body p { margin: 0 0 12px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Callout / notice */
.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  background: rgba(240, 180, 41, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.notice strong { color: var(--text); }

/* Lead form */
.lead-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.lead-section h2 { margin-top: 0; }
form.lead-form {
  display: grid;
  gap: 16px;
  max-width: 480px;
  margin-top: 28px;
}
form.lead-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
form.lead-form input,
form.lead-form select,
form.lead-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
form.lead-form input:focus,
form.lead-form select:focus,
form.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
form.lead-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); }
form.lead-form .consent input { width: auto; margin-top: 3px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.form-success, .form-error {
  display: none;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-weight: 600;
}
.form-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.form-error {
  background: rgba(240, 90, 41, 0.08);
  border: 1px solid #f05a29;
  color: #f0825a;
}
.form-success.visible, .form-error.visible { display: block; }
form.lead-form button[disabled] { opacity: 0.65; cursor: not-allowed; }

@media (max-width: 640px) {
  form.lead-form .field-row { grid-template-columns: 1fr; }
  .lead-section { padding: 28px; }
  .nav-links { gap: 16px; }
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }
footer.site-footer .footer-links { display: flex; gap: 20px; }
footer.site-footer .footer-links a { color: var(--text-muted); font-size: 0.88rem; }

/* Article / guide content */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; font-size: 1.15rem; }
.prose p { color: var(--text-muted); }
.prose ul, .prose ol { color: var(--text-muted); }
.prose li { margin-bottom: 6px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-header { padding: 48px 0 16px; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 12px; }
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 680px; }
