:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-dark: #0b1120;
  --bg-dark-soft: #131c33;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #312e81;
  --accent: #22d3ee;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(49, 46, 129, .35);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: rgba(79, 70, 229, .08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head);
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(79,70,229,.12), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(6,182,212,.12), transparent 55%),
              var(--bg);
  padding: 90px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--ink-muted); font-size: .9rem; }
.hero-trust strong { color: var(--ink); }
.hero-visual {
  position: relative; border-radius: 22px; padding: 26px;
  background: var(--bg-dark); color: #e5e7eb; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.rank-card { background: var(--bg-dark-soft); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.rank-card:last-child { margin-bottom: 0; }
.rank-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rank-row .kw { font-size: .95rem; color: #cbd5e1; }
.rank-row .pos { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.metric-mini { display: flex; gap: 18px; margin-top: 6px; }
.metric-mini div { flex: 1; }
.metric-mini .n { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; }
.metric-mini .l { font-size: .78rem; color: #94a3b8; }

/* Logos strip */
.logos { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; opacity: .8; }
.logos-row span { font-family: var(--font-head); font-weight: 700; color: var(--ink-muted); font-size: 1.1rem; letter-spacing: -.02em; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.stat .n { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--brand); line-height: 1; }
.stat .l { margin-top: 8px; color: var(--ink-soft); font-size: .95rem; }

/* Cards / services */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,70,229,.25); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12));
  color: var(--brand); margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 14px; font-size: .98rem; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-soft); font-size: .95rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(16,185,129,.15); }
.card ul li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 5px; height: 8px; border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; }
.feature-list li { position: relative; padding-left: 40px; margin-bottom: 20px; }
.feature-list li h4 { margin: 0 0 4px; font-size: 1.05rem; }
.feature-list li p { margin: 0; font-size: .96rem; }
.feature-list li .fi {
  position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-size: .8rem;
}
.media-panel {
  border-radius: var(--radius); padding: 30px; background: var(--bg-soft); border: 1px solid var(--line);
}
.process-step { display: flex; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.process-step .num { flex: 0 0 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.process-step h4 { margin: 4px 0 4px; }
.process-step p { margin: 0; font-size: .95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; font-family: var(--font-head); letter-spacing: .04em; }
.price-card h3 { font-size: 1.35rem; }
.price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--ink); margin: 8px 0 2px; }
.price small { font-size: .95rem; color: var(--ink-muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 20px 0 26px; padding: 0; }
.price-card ul li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink-soft); font-size: .96rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote-card p { font-size: 1.02rem; color: var(--ink); }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-author .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-author .who strong { display: block; color: var(--ink); font-size: .95rem; }
.quote-author .who span { font-size: .85rem; color: var(--ink-muted); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-ink), var(--brand)); color: #fff; border-radius: 24px; padding: 60px 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-ghost { background: #fff; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 22px; }
.faq-item .faq-body p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .info-item .ci { flex: 0 0 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12)); color: var(--brand); display: grid; place-items: center; }
.contact-info .info-item h4 { margin: 0 0 3px; }
.contact-info .info-item p { margin: 0; font-size: .97rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--ink-muted); margin-top: 14px; text-align: center; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 26px; filter: grayscale(.15); }
.form-success { display: none; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #047857; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .95rem; }
.form-success.show { display: block; }

/* Page hero (inner) */
.page-hero { background: radial-gradient(900px 400px at 20% -20%, rgba(79,70,229,.1), transparent 60%), var(--bg-soft); padding: 70px 0 56px; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero .lead { margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .85rem; color: var(--ink-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brand); }

/* Prose (legal pages) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer p { color: #94a3b8; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-head); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; font-size: .95rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .88rem; color: #64748b; }
.pay-badges { display: flex; align-items: center; gap: 10px; color: #94a3b8; font-size: .82rem; }
.pay-badges .pb { border: 1px solid rgba(255,255,255,.14); border-radius: 7px; padding: 4px 10px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; }

/* Responsive */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow);
  }
  .grid-3, .grid-2, .pricing-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
