@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #121316;
  --surface: #181a1f;
  --elevated: #22252c;
  --card: #1c1e24;
  --text: #f5f5f5;
  --muted: #949bab;
  --accent: #2dd4bf;
  --accent-fg: #121316;
  --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 92%); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 19, 22, 0.82);
  backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(45, 212, 191, 0.45);
}
.nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 10px 40px rgba(45, 212, 191, 0.28);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.14), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(18, 19, 22, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.grad {
  background: linear-gradient(120deg, #99f6e4, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 22px;
  max-width: 52ch;
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(245, 245, 245, 0.78);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hero-note { margin: 0; font-size: 13px; color: var(--muted); }

.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: 0; }
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0 0 28px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--muted); font-size: 14px; }
.card li { margin-bottom: 6px; }
.card.featured { border-color: rgba(45, 212, 191, 0.45); }

.price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.price-note { font-size: 13px; color: var(--muted); }

.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.related a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.related a:hover { border-color: rgba(45, 212, 191, 0.5); color: var(--accent); }

.article {
  width: min(720px, 92%);
  margin: 0 auto;
  padding: 48px 0 64px;
}
.article h1 { font-size: clamp(28px, 4.5vw, 40px); max-width: none; }
.article-meta { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.article h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.article p, .article li {
  font-size: 16px;
  color: rgba(245, 245, 245, 0.82);
  margin: 0 0 14px;
}
.article ul, .article ol { padding-left: 1.25em; margin: 0 0 16px; }
.article li { margin-bottom: 8px; }
.article .callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
}
.article .callout p { margin: 0; font-size: 15px; }
.article h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.article th,
.article td,
.table-wrap th,
.table-wrap td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article th,
.table-wrap th {
  background: var(--elevated);
  font-weight: 600;
  color: var(--text);
}
.article td,
.table-wrap td {
  color: rgba(245, 245, 245, 0.82);
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }

.form-wrap { max-width: 560px; margin: 0 auto; }
.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--elevated);
  color: var(--text);
  font: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.55);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }
.status { min-height: 1.3em; margin: 12px 0 0; font-size: 14px; color: var(--accent); }
.status.is-error { color: #f87171; }

.footer {
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
