/* NextSens AI — Sober Executive NST Theme (Light Default + System/Dark Toggle) */
:root {
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --brand: #233F9B;
  --brand-2: #2946BC;
  --brand-soft: #EEF2FF;
  --emerald: #047857;
  --emerald-bg: #ECFDF5;
  --amber: #B45309;
  --amber-bg: #FFFBEB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none !important; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 2px 8px rgba(35,63,155,0.25);
}
.brand span b { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.main-nav a { color: #334155; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none !important; transition: all 0.15s;
}
.btn:hover { background: #F8FAFC; border-color: #CBD5E1; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff !important; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-emerald { background: var(--emerald-bg); color: var(--emerald) !important; border-color: #A7F3D0; }
.btn-emerald:hover { background: var(--emerald); color: #fff !important; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

.theme-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; color: #334155;
  font: 600 12.5px/1 inherit; cursor: pointer;
}
.theme-btn svg { width: 14px; height: 14px; color: var(--brand); }

.hero {
  padding: 64px 0 52px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF2FF 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.12; margin: 16px 0 14px; letter-spacing: -0.025em; max-width: 860px; }
.hero p.lead { max-width: 720px; font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 34px; }
.trust-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.trust-item strong { display: block; font-size: 20px; color: var(--brand); }
.trust-item span { font-size: 12.5px; color: var(--muted); }

.section { padding: 52px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 { margin: 0 0 6px; font-size: 27px; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 700px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.8px; color: var(--ink); flex: 1; }
.pill { display: inline-block; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill-blue { background: var(--brand-soft); color: var(--brand); }
.pill-emerald { background: var(--emerald-bg); color: var(--emerald); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }

.price { font-size: 28px; font-weight: 800; color: var(--brand); }
.price span { font-size: 13px; font-weight: 500; color: var(--muted); }

.cta-band {
  background: linear-gradient(135deg, #233F9B 0%, #1D3585 100%);
  color: #fff; border-radius: 18px; padding: 38px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.cta-band p { margin: 0; color: #DBEAFE; max-width: 580px; font-size: 14.5px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0; margin-top: 32px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.footer-grid strong { display: block; margin-bottom: 10px; }
.footer-grid a { display: block; color: var(--muted); margin-bottom: 7px; }
.footer-grid a:hover { color: var(--brand); }

@media screen {
  html.dark {
    color-scheme: dark;
    --bg: #0B1120;
    --surface: #111827;
    --ink: #F1F5F9;
    --muted: #94A3B8;
    --line: #1E293B;
    --brand: #3B82F6;
    --brand-2: #60A5FA;
    --brand-soft: rgba(59, 130, 246, 0.16);
    --emerald: #34D399;
    --emerald-bg: rgba(16, 185, 129, 0.16);
    --amber: #FBBF24;
    --amber-bg: rgba(245, 158, 11, 0.16);
  }
  html.dark .site-header { background: rgba(15, 23, 42, 0.94); }
  html.dark .hero { background: linear-gradient(180deg, #0F172A 0%, #0B1120 100%); }
  html.dark .main-nav a { color: #CBD5E1; }
  html.dark .theme-btn { background: #1E293B; border-color: #334155; color: #E2E8F0; }
  html.dark .theme-btn svg { color: #60A5FA; }
}
