:root {
  --bg: #0b0b14;
  --bg-2: #12121f;
  --card: #171728;
  --line: #26263d;
  --text: #ececf5;
  --muted: #9a9ab5;
  --brand: #7c5cff;
  --brand-2: #19d3a2;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,20,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--brand-2); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--muted); font-weight: 500; font-size: 15px; }
.menu a:hover { color: var(--text); text-decoration: none; }
.menu-toggle, .menu-btn { display: none; }

.btn { display: inline-block; background: linear-gradient(135deg, var(--brand), #9b7bff); color: #fff !important; padding: 14px 26px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 700px; height: 700px; background: radial-gradient(circle, rgba(124,92,255,.35), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); background: rgba(25,211,162,.1); border: 1px solid rgba(25,211,162,.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(36px, 5.5vw, 60px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
h1 .grad, h2 .grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.card-visual { aspect-ratio: 1.586; border-radius: 22px; padding: 28px; background: linear-gradient(135deg, #7c5cff 0%, #4b2fd1 45%, #19d3a2 130%); box-shadow: 0 30px 80px rgba(124,92,255,.35); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-6deg); color: #fff; max-width: 420px; margin-left: auto; }
.card-visual .chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg,#f5d98b,#c9a44a); }
.card-visual .num { font-size: 20px; letter-spacing: .16em; font-weight: 600; }
.card-visual .row { display: flex; justify-content: space-between; align-items: end; font-size: 13px; opacity: .9; }
.card-visual .brandname { font-weight: 800; font-size: 22px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { margin: 14px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,.15); color: var(--brand); font-size: 22px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.cta { text-align: center; background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(25,211,162,.12)); border: 1px solid var(--line); border-radius: 28px; padding: 56px 24px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
th { background: var(--card); font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--brand-2); }

/* Legal / long text */
.page-hero { padding: 64px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); }
.page-hero p { color: var(--muted); margin: 0; }
.prose { max-width: 820px; padding: 48px 0 80px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: #cfcfe0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.notice { background: rgba(124,92,255,.1); border: 1px solid rgba(124,92,255,.35); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand-2); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Forms */
form.contact { display: grid; gap: 14px; }
label { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-grid a:not(.logo) { display: block; color: var(--text); opacity: .85; margin-bottom: 9px; font-size: 15px; }
.footer-grid .muted { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 36px; font-size: 13px; color: var(--muted); }
.footer-legal p { margin: 0 0 10px; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .card-visual { margin: 20px auto 0; transform: rotate(-4deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; width: 40px; height: 40px; cursor: pointer; position: relative; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--text); }
  .menu-btn span { top: 19px; }
  .menu-btn span::before { left: 0; top: -7px; }
  .menu-btn span::after { left: 0; top: 7px; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .menu a { padding: 12px 4px; }
  .menu .btn { text-align: center; margin-top: 8px; }
  .menu-toggle:checked ~ .menu { display: flex; }
}
@media (max-width: 560px) {
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
}
