:root {
  --bg: #0b0e14;
  --surface: #ffffff;
  --ink: #0f1420;
  --muted: #5b6473;
  --line: #e7eaf0;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --accent: #06b6d4;
  --soft: #f6f7fb;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(15, 20, 32, 0.10);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px rgba(79,70,229,.30); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(79,70,229,.42); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--brand); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--brand); }
.logo span { color: var(--ink); }
.logo-light span { color: #fff; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 18px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(124,58,237,.12), transparent), radial-gradient(900px 500px at 0% 0%, rgba(6,182,212,.10), transparent); padding: 84px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 span { background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.12rem; margin: 20px 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.hero-card { display: flex; justify-content: center; }
.metric-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.metric-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--muted); }
.pill { background: #e7fbf0; color: #0a8a4d; padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; margin: 22px 0; }
.bar { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--brand), var(--brand-2)); border-radius: 8px 8px 4px 4px; opacity: .9; }
.bar:last-child { background: linear-gradient(180deg, var(--accent), var(--brand)); }
.metric-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.metric-foot strong { display: block; font-size: 1.05rem; font-weight: 800; }
.metric-foot span { color: var(--muted); font-size: .8rem; }

/* Logos */
.logos { padding: 36px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.logo-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.logo-row span { font-weight: 800; font-size: 1.25rem; color: #aab0bd; letter-spacing: -0.02em; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12)); color: var(--brand); font-size: 1.3rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-panel { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.about-panel h4 { font-size: 1.1rem; margin-bottom: 18px; }
.check { list-style: none; display: grid; gap: 14px; }
.check li { position: relative; padding-left: 30px; font-size: .98rem; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.about-content p { color: var(--muted); margin-top: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.about-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.about-stats span { color: var(--muted); font-size: .88rem; }

/* Cases */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tag { display: inline-block; background: var(--soft); color: var(--brand); font-weight: 700; font-size: .76rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.case h3 { margin-bottom: 8px; }
.case p { color: var(--muted); font-size: .95rem; }
.case-metrics { display: flex; gap: 28px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.case-metrics strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--brand); }
.case-metrics span { color: var(--muted); font-size: .82rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { font-size: 1.6rem; font-weight: 800; color: var(--brand); opacity: .35; }
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 1rem; color: var(--ink); }
.quote footer { margin-top: 18px; }
.quote strong { display: block; }
.quote span { color: var(--muted); font-size: .88rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.8rem; }
.cta-band p { opacity: .92; margin-top: 8px; max-width: 520px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info p { color: var(--muted); margin-top: 16px; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--soft); transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; color: #0a8a4d; font-weight: 600; font-size: .92rem; }

/* Footer */
.site-footer { background: var(--bg); color: #c7ccd6; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: #8a92a3; margin-top: 14px; max-width: 280px; font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #8a92a3; font-size: .92rem; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; color: #6b7280; font-size: .85rem; flex-wrap: wrap; gap: 8px; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 16px;
  }
}
@media (max-width: 560px) {
  .grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
