/* ---------- Base / Theme ---------- */
:root{
  --bg: #0b0f14;
  --panel: #0f1722;
  --card: #111a27;
  --line: #1f2a37;
  --text: #e8eef5;
  --muted: #a7b2c0;
  --brand: #00d39a;
  --brand-2: #2ee6b8;
  --accent: #6cf0f5;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.6 }
img { max-width: 100%; display: block }
a { color: var(--brand); text-decoration: none }
a:hover { text-decoration: underline }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,14,20,.8), rgba(10,14,20,.6));
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px }
.logo { display:flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; color: var(--text) }
.logo-mark { width: 34px; height: 34px; display:grid; place-items:center; border-radius: 12px; font-weight:800; background: linear-gradient(135deg, var(--brand), var(--accent)); color:#061019; }
.logo-text span { color: var(--brand) }

.nav { display:flex; align-items:center; gap:16px }
.nav a { padding: 8px 10px; border-radius: 10px; color: var(--text) }
.nav a[aria-current="page"] { background: #162233; border: 1px solid #223243 }
.nav.open { display:block }

.nav-toggle {
  display:none; background:transparent; border:0; width:40px; height:32px; position:relative; cursor:pointer;
}
.nav-toggle span { position:absolute; left:8px; right:8px; height:2px; background:#cfe3ff; border-radius:2px; transition:.2s }
.nav-toggle span:nth-child(1){ top:9px } .nav-toggle span:nth-child(2){ top:15px } .nav-toggle span:nth-child(3){ top:21px }

@media (max-width: 860px){
  .nav-toggle{ display:block }
  .nav { position:absolute; top:68px; right:0; left:0; display:none; padding:14px 20px; background:#0e1622; border-bottom:1px solid var(--line) }
  .nav a, .nav .btn { display:block; width:100% }
}

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background: var(--brand); color: #051018;
  padding: 12px 18px; border-radius: 14px; font-weight: 700; border: 0; cursor: pointer; box-shadow: var(--shadow);
}
.btn:hover { filter: brightness(1.06); text-decoration: none }
.btn--ghost { background: #152232; color: var(--text); border: 1px solid #223243; box-shadow:none }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid #38506b }
.btn--brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color:#051018 }
.btn--sm { padding: 9px 12px; border-radius: 10px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position:relative; min-height: 72vh; display:grid; place-items:center; overflow:hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(0,211,154,.15), transparent 60%),
    radial-gradient(60% 50% at 90% 20%, rgba(108,240,245,.12), transparent 60%),
    #0b0f14;
}
.hero-wrap { position:relative; z-index:2; text-align:center; padding: 70px 0 }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); margin: 0 0 12px; letter-spacing: .2px }
.hero p { max-width: 800px; margin: 0 auto 22px; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem) }
.hero-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap }
.hero-visual {
  position:absolute; inset: -10% -10% auto -10%; height: 70vh;
  background: radial-gradient(40% 35% at 50% 40%, rgba(0,211,154,.15), transparent 60%);
  filter: blur(30px); opacity:.8; z-index:1;
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section--alt { background: linear-gradient(180deg, #0c141f 0%, #0b111a 100%); border-top:1px solid var(--line); border-bottom:1px solid var(--line) }

.grid { display:grid; gap:16px }
.grid--3 { grid-template-columns: repeat(3, 1fr) }
.grid--2 { grid-template-columns: repeat(2, 1fr) }
@media (max-width: 920px){ .grid--3 { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px){ .grid--3, .grid--2 { grid-template-columns: 1fr } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow);
}
.card h3 { margin: 6px 0 6px }
.card p { color: var(--muted) }

.feature { display:flex; gap:12px }
.feature .icon {
  width: 38px; height: 38px; border-radius: 12px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color:#061019; font-weight:800;
}

/* ---------- CTA band ---------- */
.cta-band { border-top:1px solid var(--line); border-bottom:1px solid var(--line) }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding: 22px 0 }

/* ---------- Lists, tables, forms ---------- */
.checklist { list-style:none; padding: 0 }
.checklist li { margin: 6px 0; padding-left: 28px; position: relative; color: var(--muted) }
.checklist li::before { content: '✓'; position:absolute; left: 0; top: 0; color: var(--brand); font-weight: 800 }

.form { display:grid; gap:12px; max-width: 760px }
.form.narrow { max-width: 440px }
label { display:grid; gap:6px; font-weight: 600 }
input, select, textarea {
  background:#0c1420; border:1px solid #243248; color:var(--text);
  border-radius: 12px; padding: 11px 12px; font-size: 1rem; outline: none;
}
input:focus, textarea:focus { border-color: var(--brand) }

.table {
  width:100%; border-collapse: collapse; background: var(--card);
  border:1px solid var(--line); border-radius: 14px; overflow:hidden;
}
.table th, .table td { padding: 12px; border-bottom:1px solid var(--line); text-align:left }
.table th { background:#0f1722; font-weight:700 }

.alert { padding: 12px 14px; border-radius: 12px; background:#102330; border:1px solid #1a3a4f }
.alert.success { background:#0f2d21; border-color:#104534 }
.alert.error { background:#2a0f10; border-color:#51252a }

.badge { display:inline-block; background:#132132; border:1px solid #203246; color:#dfeaf6; padding:4px 10px; border-radius:999px; font-size: .85rem; margin-right:6px }

/* ---------- Footer ---------- */
.site-footer { background: #0a121c; border-top:1px solid var(--line); margin-top: 40px }
.footer-grid { display:grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr; padding: 30px 0 }
.footer-logo { display:flex; align-items:center; gap:10px; font-weight:800 }
.footer-bottom { border-top: 1px solid var(--line); padding: 12px 0; color: var(--muted) }
.linklist { list-style: none; padding:0; margin:0 }
.linklist li { margin: 8px 0 }
.muted { color: var(--muted) }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr } }

/* ---------- Utilities ---------- */
.center { text-align:center }
.lead { font-size: 1.15rem; color: var(--muted) }
