:root {
  --bg: #07111f;
  --bg-soft: #0c1a2e;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --text: #13233a;
  --text-soft: #526176;
  --white: #ffffff;
  --accent: #6c5ce7;
  --accent-2: #2fc9b4;
  --accent-3: #f3b645;
  --border: #dde4ee;
  --shadow: 0 18px 50px rgba(8, 23, 44, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--surface-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .77rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; letter-spacing: -.035em; }
h1 { font-size: clamp(2.9rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 20px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text-soft); max-width: 760px; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: white; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221,228,238,.75);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.025em; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #8b7cf4 55%, var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 8px 20px rgba(108,92,231,.28);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text small { display: block; color: var(--text-soft); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--text); margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 21px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 12px 28px rgba(108,92,231,.28); }
.btn-primary:hover { background: #5c4bd9; }
.btn-secondary { border-color: var(--border); background: white; color: var(--text); }
.btn-ghost { color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(47,201,180,.28), transparent 28%),
    radial-gradient(circle at 70% 100%, rgba(108,92,231,.38), transparent 34%),
    linear-gradient(135deg, #07111f, #0a1930 58%, #142342);
  padding: 110px 0 92px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { max-width: 860px; }
.hero .lead { color: rgba(255,255,255,.75); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.77); font-weight: 700; font-size: .91rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { width: 7px; height: 7px; background: var(--accent-2); border-radius: 50%; }
.dashboard-card {
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.dashboard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #bff7ea; font-size: .82rem; font-weight: 800; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px rgba(47,201,180,.13); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 17px; padding: 18px; }
.metric strong { display: block; font-size: 1.5rem; margin-bottom: 3px; }
.metric span { color: rgba(255,255,255,.63); font-size: .82rem; }
.flow-list { margin-top: 12px; display: grid; gap: 10px; }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: white; color: var(--text); padding: 14px 15px; border-radius: 14px; }
.flow-label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .87rem; }
.flow-icon { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; background: #eeeafd; color: var(--accent); }
.pill { border-radius: 999px; padding: 5px 9px; font-size: .7rem; font-weight: 900; background: #e6f9f5; color: #138878; }

.trust-strip { border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); align-items: center; gap: 20px; padding: 24px 0; color: var(--text-soft); font-weight: 800; }
.trust-grid strong { color: var(--text); }
.platform { text-align: center; padding: 10px; border-radius: 12px; background: var(--surface-soft); }

.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head > div:first-child { max-width: 790px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: white; box-shadow: 0 10px 30px rgba(8,23,44,.05); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); transition: .25s ease; }
.card-number { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.card-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #eeeafd; color: var(--accent); margin: 18px 0; font-weight: 900; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--text-soft); }
.card li { position: relative; padding-left: 18px; margin: 8px 0; }
.card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.dark-section { background: var(--bg); color: white; }
.dark-section .lead { color: rgba(255,255,255,.67); }
.platform-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 36px; }
.platform-chip { text-align: center; padding: 18px 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); border-radius: 15px; font-weight: 850; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { position: relative; padding: 28px; border-radius: var(--radius); background: white; border: 1px solid var(--border); }
.step-no { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font-weight: 900; margin-bottom: 20px; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 36px; z-index: 2; color: var(--accent); font-size: 1.6rem; font-weight: 900; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: start; }
.check { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e6f9f5; color: #138878; font-weight: 900; }
.audit-panel { background: linear-gradient(145deg, #f0edff, #e7faf6); border: 1px solid #d8d1ff; padding: 34px; border-radius: 28px; }
.audit-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(19,35,58,.12); }
.audit-row:last-child { border: 0; }
.audit-row span { color: var(--text-soft); }
.audit-row strong { text-align: right; }

.faq { max-width: 900px; margin: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-button { width: 100%; border: 0; background: none; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; text-align: left; font-weight: 850; cursor: pointer; color: var(--text); }
.faq-answer { display: none; padding: 0 0 24px; color: var(--text-soft); }
.faq-item.open .faq-answer { display: block; }
.faq-icon { font-size: 1.4rem; color: var(--accent); }

.cta { padding: 76px 0; }
.cta-box { background: linear-gradient(135deg, var(--accent), #5948d2 60%, #2b9c9e); color: white; padding: 48px; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; gap: 35px; box-shadow: 0 24px 60px rgba(108,92,231,.26); }
.cta-box p { color: rgba(255,255,255,.78); max-width: 680px; }

.site-footer { background: #050c16; color: rgba(255,255,255,.72); padding: 66px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 42px; }
.site-footer h3, .site-footer h4 { color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; }
.site-footer a:hover { color: white; }
.legal-note { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: .83rem; }
.address { font-style: normal; }

.page-hero { background: var(--bg); color: white; padding: 86px 0 68px; }
.page-hero .lead { color: rgba(255,255,255,.68); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 52px; align-items: start; }
.legal-nav { position: sticky; top: 100px; border: 1px solid var(--border); border-radius: 18px; padding: 18px; background: white; }
.legal-nav a { display: block; padding: 8px 10px; color: var(--text-soft); border-radius: 9px; }
.legal-nav a:hover { color: var(--accent); background: #f3f0ff; }
.legal-content h2 { font-size: 2rem; margin-top: 44px; }
.legal-content h3 { margin-top: 30px; }
.legal-content ul { color: var(--text-soft); }
.notice { padding: 18px 20px; border-left: 4px solid var(--accent); background: #f2efff; border-radius: 0 14px 14px 0; margin: 26px 0; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.contact-card { background: var(--bg); color: white; padding: 34px; border-radius: 24px; }
.contact-card p, .contact-card address { color: rgba(255,255,255,.72); }
.contact-detail { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-detail:last-child { border-bottom: 0; }
.form-card { border: 1px solid var(--border); padding: 34px; border-radius: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: .9rem; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; background: white; color: var(--text); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(108,92,231,.15); border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--text-soft); font-size: .82rem; }
.honeypot { position: absolute; left: -9999px; }

.cookie-notice { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 2000; max-width: 780px; margin: auto; background: white; border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: none; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-notice.show { display: flex; }
.cookie-notice p { margin: 0; color: var(--text-soft); font-size: .9rem; }

@media (max-width: 1000px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .dashboard-card { max-width: 620px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 76px; display: none; flex-direction: column; align-items: stretch; background: white; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: 0 15px 30px rgba(8,23,44,.08); }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .brand-text small { display: none; }
  .hero { padding: 82px 0 70px; }
  .hero-points { display: grid; gap: 10px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > strong { grid-column: 1 / -1; }
  .section-head { display: block; }
  .cards, .process-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .field.full { grid-column: auto; }
  .cta-box { display: block; padding: 34px 25px; }
  .cta-box .btn { margin-top: 10px; }
  .legal-note { display: block; }
  .cookie-notice { display: none; flex-direction: column; align-items: stretch; }
  .cookie-notice.show { display: flex; }
}
