:root {
  --bg:#0a0a0b;
  --bg-2:#101114;
  --text:#e8eaf0;
  --muted:#a9afbf;
  --card:#15161a;
  --accent:#3b82f6;
  --accent-2:#2563eb;
  --border:#1f2330;
  --shadow:0 8px 30px rgba(0,0,0,.35);

  --grad-start:#3b82f6;
  --grad-mid:#9333ea;
  --grad-end:#fbbf24;
}

:root[data-theme="light"] {
  --bg:#ffffff;
  --bg-2:#f7f8fb;
  --text:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --accent:#1d4ed8;
  --accent-2:#1e40af;
  --border:#e5e7eb;
  --shadow:0 12px 30px rgba(2,6,23,.08);
}

a {text-decoration: none;}

* { box-sizing:border-box }
html,body { margin:0; padding:0 }
body {
  font-family:'Montserrat',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

.container {
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

img {
  max-width:100%;
  height:auto;
  display:block;
}

.logo-img { height:40px; border-radius:0 }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(120%) blur(8px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(10,10,11,.9);
}

:root[data-theme="light"] .site-header {
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid #e6e8ef;
}

@media (min-width:961px){
  :root[data-theme="light"] .site-header {
    background:rgba(255,255,255,.95);
    border-bottom:1px solid #e6e8ef;
  }
}

.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0 }
.logo { display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.5px }
.nav { display:flex; gap:18px; align-items:center }

.nav a,
.footer-nav a {
  padding:8px 14px;
  border-radius:9999px;
  border:1px solid var(--border);
  transition:all .25s ease;
}

.nav a:hover,
.footer-nav a:hover {
  color:#fff;
  border-color:transparent;
  background:linear-gradient(270deg,var(--grad-start),var(--grad-mid),var(--grad-end));
  box-shadow:0 6px 16px rgba(59,130,246,.35);
}

.btn {
  border:1px solid var(--border);
  background:var(--card);
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
}
.btn-ghost { background:transparent; border:1px solid var(--border); color:var(--text) }

.theme-switcher { position:relative }
.theme-dropdown {
  position:absolute; right:0; top:100%;
  background:var(--card); border:1px solid var(--border);
  border-radius:8px; display:none; flex-direction:column; min-width:150px;
  box-shadow:var(--shadow); z-index:100;
}
.theme-dropdown button {
  background:transparent; border:none; color:var(--text);
  padding:8px 12px; text-align:left; cursor:pointer; width:100%;
}
.theme-dropdown button:hover { background:var(--bg-2) }
.theme-switcher.open .theme-dropdown { display:flex }

/* ===== HERO ===== */
.hero {
  padding:110px 0 60px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,.25), transparent 40%),
    radial-gradient(900px 500px at 90% -10%, rgba(59,130,246,.2), transparent 40%);
}
.hero-inner { display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:center }
.hero-copy h1 { font-size:clamp(36px,6vw,56px); line-height:1.05; margin:0 0 12px; font-weight:600; letter-spacing:-.5px }
.hero-copy .lead { color:var(--muted); font-size:clamp(16px,2.2vw,18px); max-width:60ch }
.hero-cta { margin-top:20px; display:flex; gap:12px }
.accent {
  background:linear-gradient(90deg,var(--grad-start),var(--grad-mid),var(--grad-end));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-logo { width:100%; height:auto; object-fit:contain; border-radius:0; background:transparent }
@media (max-width:640px){
  .hero-logo { max-width:360px; margin-inline:auto }
}

/* Buttons */
.btn-primary {
  background:linear-gradient(90deg,var(--grad-start),var(--grad-mid),var(--grad-end));
  border:none; color:#fff; font-weight:700; text-transform:uppercase;
  border-radius:9999px;
}
.btn-primary:hover { opacity:.9 }
.btn-outline {
  background:linear-gradient(270deg,var(--grad-start),var(--grad-mid),var(--grad-end));
  background-size:600% 600%;
  animation:gradientMove 8s ease infinite;
  color:#fff; border:none;
  border-radius:9999px;
}
@keyframes gradientMove {
  0% { background-position:0% 50% }
  50% { background-position:100% 50% }
  100% { background-position:0% 50% }
}

/* ===== SECTIONS ===== */
.split-media img {
  max-width: 480px;
  max-height: 400px;
  width: 100%;
  height: auto;
  margin:0 auto;
  object-fit:contain;
  border-radius:0 !important;
  background:transparent; 
}

.feature { padding:80px 0; border-top:1px solid var(--border) }
.split { display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center }
.split-copy h2 { font-size:32px; margin:0 0 8px }
.split-copy p { color:var(--muted) }
.checklist { margin:14px 0 0 0; padding:0 0 0 18px }
.checklist li { margin:6px 0 }

.feature--contrast { background:var(--bg-2) }
.stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px }
.stat { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:16px; text-align:center }
.stat-kpi { display:block; font-size:20px; font-weight:800 }
.stat-label { color:var(--muted); font-size:13px }

.gtext {
  background:linear-gradient(90deg,#0ea5e9,#8b5cf6,var(--grad-end));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ===== PANELS / FOOTER ===== */
.panels { padding:80px 0 }
.panels h2 { font-size:32px; margin:0 0 24px }
.panel-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px }
.panel { background:var(--card); border:1px solid var(--border); padding:18px; border-radius:16px }
.panel h3 { margin:2px 0 6px }

.site-footer { border-top:1px solid var(--border); padding:22px 0 }
.footer-inner { display:flex; justify-content:space-between; align-items:center }
.footer-nav { display:flex; gap:14px }

/* ===== RESPONSIVE ===== */
@media (max-width:960px){
  .hero-inner,.split { grid-template-columns:1fr }
  .panel-grid { grid-template-columns:1fr 1fr }
  .stat-grid { grid-template-columns:1fr 1fr 1fr }
}
@media (max-width:640px){
  .panel-grid { grid-template-columns:1fr }
  .stat-grid { grid-template-columns:1fr }
}