:root {
  --ink: #16132b;
  --ink-soft: #4a4763;
  --muted: #6e6b86;
  --bg: #ffffff;
  --bg-alt: #f6f4fb;
  --line: #e6e2f0;
  --brand: #6d3ff2;
  --brand-dark: #5229d6;
  --teal: #12b3a3;
  --grad: linear-gradient(135deg, #6d3ff2 0%, #9b5cf6 45%, #12b3a3 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 20, 100, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  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-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.wordmark { font-weight: 800; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.btn { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; border: 2px solid var(--brand);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(109, 63, 242, 0.3); }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: #f1ecff; border-color: #f1ecff; color: var(--brand-dark); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 100px; background: var(--bg-alt); }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(155, 92, 246, 0.28), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px;
  background: radial-gradient(circle, rgba(18, 179, 163, 0.22), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); background: #ece5ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.page-hero { padding: 80px 0 64px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero p { font-size: 1.15rem; max-width: 680px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: #efe9ff; color: var(--brand); margin-bottom: 18px;
}
.icon.teal { background: #def6f3; color: var(--teal); }

.step-num {
  font-size: 0.85rem; font-weight: 800; color: var(--brand); letter-spacing: 0.1em;
  margin-bottom: 10px; display: block;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel {
  background: var(--grad); border-radius: 22px; padding: 44px; color: #fff; box-shadow: var(--shadow);
}
.panel h3 { color: #fff; }
.panel p { color: rgba(255, 255, 255, 0.88); }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; }
.panel li:last-child { border-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: #efe9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d3ff2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Service detail rows */
.service-row {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row h2 { font-size: 1.7rem; }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 64px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-item p { margin: 0; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 0.98rem; color: var(--ink); background: #fcfbff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109, 63, 242, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal ul { color: var(--ink-soft); padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.updated { font-size: 0.95rem; color: var(--muted); }

/* Footer */
.site-footer { background: #121026; color: #c9c5df; padding: 64px 0 28px; margin-top: 0; }
.site-footer p { color: #a9a4c4; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #c9c5df; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2645; padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.9rem; color: #8d88a8;
}
.footer-bottom a { color: #8d88a8; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .service-row { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links a.btn { width: auto; margin-top: 8px; padding: 10px 20px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .form, .panel { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
