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

:root {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0b1f3a;
  --brand-mid: #1e3a5f;
  --accent: #2563eb;
  --teal: #0d9488;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; color: var(--brand);
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links {
  display: flex; gap: 1.5rem; align-items: center;
  font-size: 0.875rem; font-weight: 500; color: var(--text-soft);
}
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; padding: 0.625rem 1rem;
  font-weight: 600; font-size: 0.875rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-mid); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.btn-secondary:hover { background: #f8fafc; }
.btn-ghost { background: transparent; color: var(--accent); padding-inline: 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #071526 0%, #0b1f3a 100%);
  color: #fff; padding: 3.5rem 0 3rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: #93c5fd; font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  line-height: 1.2; letter-spacing: -0.025em;
  margin: 0.875rem 0 0.75rem; font-weight: 700;
}
.hero p.lead {
  font-size: 0.9375rem; color: #cbd5e1; max-width: 32rem;
  margin: 0; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.5rem; }
.hero .btn-secondary {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff;
}

.hero-panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.125rem;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.875rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 0.6875rem; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.panel-status { color: #34d399; font-weight: 600; font-size: 0.6875rem; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.metric {
  padding: 0.75rem; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.metric strong { display: block; font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.metric span { color: #94a3b8; font-size: 0.75rem; margin-top: 0.125rem; display: block; }

/* Trust bar */
.trust-bar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 0.875rem 0;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem;
  color: var(--muted); font-size: 0.8125rem; font-weight: 500;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 0.375rem; }
.trust-bar .ico {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--accent);
}

.section { padding: 3.25rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 2rem; }
.section-label {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.section-head h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  margin: 0 0 0.625rem; letter-spacing: -0.02em; font-weight: 700; line-height: 1.25;
}
.section-head p { color: var(--muted); margin: 0; font-size: 0.9375rem; }

.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.875rem;
}
.trust-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.125rem 1rem; text-align: center;
}
.trust-item .ico { width: 22px; height: 22px; margin: 0 auto 0.5rem; color: var(--accent); }
.trust-item strong { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.trust-item span { color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.875rem;
}
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.feature-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #eff6ff; display: grid; place-items: center;
  margin-bottom: 0.75rem; color: var(--accent);
}
.feature-icon .ico { width: 18px; height: 18px; }
.feature h3 { margin: 0 0 0.375rem; font-size: 0.9375rem; font-weight: 600; }
.feature p { color: var(--muted); margin: 0; font-size: 0.8125rem; line-height: 1.55; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem;
}
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan-badge {
  align-self: flex-start; font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); background: #eff6ff;
  padding: 0.25rem 0.5rem; border-radius: 4px;
}
.plan h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.price { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price small { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 0.8125rem; margin: 0; line-height: 1.45; min-height: auto; }
.plan ul {
  margin: 0.25rem 0 0; padding: 0; list-style: none;
  color: var(--text-soft); flex: 1; font-size: 0.8125rem;
}
.plan li { margin: 0.375rem 0; padding-left: 1rem; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.875rem; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.step-num {
  width: 28px; height: 28px; border-radius: 6px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.8125rem; margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.375rem; font-size: 0.9375rem; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.contact-card, .faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card .section-head { text-align: left; margin: 0 0 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-soft); }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.625rem 0.75rem; font: inherit; font-size: 0.875rem;
  background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}
textarea { min-height: 100px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.75rem; margin-top: 0.625rem; line-height: 1.5; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-status { margin-top: 0.75rem; font-weight: 600; font-size: 0.875rem; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }

.faq h3 { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.faq details:first-of-type { border-top: 0; padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 0.875rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.8125rem; line-height: 1.55; }

.site-footer { background: #071526; color: #94a3b8; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer .logo { color: #f1f5f9; }
.footer-tagline { margin-top: 0.75rem; max-width: 260px; font-size: 0.8125rem; line-height: 1.55; }
.site-footer h4 {
  color: #e2e8f0; margin: 0 0 0.75rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.footer-links p { margin: 0.3rem 0; }
.site-footer a { color: #94a3b8; font-size: 0.8125rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; font-size: 0.75rem;
}

.legal-page { padding: 2.5rem 0 3rem; }
.legal-page h1 { margin-top: 0; font-size: 1.5rem; font-weight: 700; }
.legal-page p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

.page-404 .wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.page-404 h1 { font-size: 3rem; margin: 0; font-weight: 700; color: var(--brand); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 400px; }
  .trust-row, .features, .steps, .split, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 2.5rem 0; }
}
