:root {
  --indigo: #4F46E5;
  --indigo-dark: #3730A3;
  --cyan: #06B6D4;
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FF;
  --line: #E2E8F0;
  --grad: linear-gradient(135deg, var(--indigo), var(--cyan));
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--indigo); margin-bottom: .75em;
}
.eyebrow.light { color: #C7D2FE; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; color: #fff; background: var(--grad);
  box-shadow: 0 8px 20px rgba(79, 70, 229, .3); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(79, 70, 229, .38); }
.btn-ghost { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 2px var(--indigo); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--indigo); background: #EEF2FF; }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-white { background: #fff; color: var(--indigo-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--indigo); }

/* Hero */
.hero {
  padding: 96px 0 88px; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(79, 70, 229, .12), transparent),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(6, 182, 212, .12), transparent);
}
.hero-inner { max-width: 860px; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 680px; margin: 0 auto 2em; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.4em; font-size: .95rem; color: var(--muted); }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section > .container > h2 { max-width: 720px; margin-bottom: 1.4em; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 0; }
.card h3 + p { margin-top: .2em; }

.problem h2 { text-align: center; margin-left: auto; margin-right: auto; }
.pain .ico { font-size: 1.8rem; display: block; margin-bottom: .5em; }
.pain p { color: var(--ink); font-weight: 500; }
.problem-close { text-align: center; font-size: 1.15rem; max-width: 680px; margin: 2.2em auto 0; color: var(--ink); font-weight: 600; }

.badge { display: inline-block; font-weight: 800; font-size: .85rem; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 8px; margin-bottom: 14px; }
.usecase { border-left: 4px solid var(--indigo); }
.more { margin-top: 2em; font-weight: 600; color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.steps p { margin: 0; }

/* CTA */
.cta-section { background: var(--bg-alt); }
.cta-box {
  max-width: 880px; background: linear-gradient(135deg, #312E81, var(--indigo) 50%, #0891B2);
  color: #E0E7FF; border-radius: 24px; padding: 56px 48px; text-align: center; box-shadow: 0 20px 50px rgba(55, 48, 163, .3);
}
.cta-box h2 { color: #fff; }
.cta-box > p { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-list { list-style: none; padding: 0; margin: 1.6em auto 2em; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.cta-list li::before { content: "✓ "; color: #67E8F9; font-weight: 800; }
.cta-list li { color: #fff; font-weight: 600; }
.cta-alt { margin-top: 1.4em; font-size: .95rem; color: #C7D2FE; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .95rem; color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer p { margin: 0; }
.footer a { color: var(--muted); }

/* Legal page */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-4, .steps { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 22px; border-radius: 18px; }
  .btn { width: 100%; text-align: center; }
  .btn-small { width: auto; }
}
