/* ============================================================
   GPTracker — Landing Page · Design System (dark-first)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --primary: #3b82f6;
  --primary-strong: #2f6fe0;
  --primary-bright: #60a5fa;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --success: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;

  --bg: #070c16;
  --bg-2: #0a1120;
  --surface: #0d1626;
  --surface-2: #111c30;
  --surface-3: #16233a;

  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);

  --text: #f1f5f9;
  --text-2: #c4d0e0;
  --muted: #8a99ad;

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.65);

  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--text); font-weight: 700; line-height: 1.14; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: var(--primary-bright); text-decoration: none; }
a:hover { color: var(--primary); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

/* ---------- Utility ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-bright); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 780px; }
.section-sub { font-size: 1.12rem; color: var(--muted); max-width: 720px; margin-bottom: 48px; }
.center { text-align: center; }
.center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }
.center .kicker::before { margin: 0 auto; }

.grad-text {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 55%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(100deg, #3b82f6, #2563eb);
  color: #fff; box-shadow: 0 10px 26px -8px rgba(59, 130, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(59, 130, 246, 0.65); color: #fff; }
.btn-ghost { background: rgba(148, 163, 184, 0.08); color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: rgba(148, 163, 184, 0.14); border-color: var(--border-strong); color: var(--text); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-bright); border-color: rgba(59, 130, 246, 0.4); }
.btn-outline:hover { background: rgba(59, 130, 246, 0.1); border-color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; margin-left: 4px; transition: transform 0.18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(148, 163, 184, 0.08); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px; font-size: 0.85rem;
  color: var(--text-2); font-weight: 500;
}
.chip svg { width: 15px; height: 15px; color: var(--primary-bright); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 12, 22, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand img { height: 34px; }
.brand em { font-style: normal; color: var(--primary-bright); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 0.94rem; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(148, 163, 184, 0.08);
  color: var(--text-2); cursor: pointer; transition: all 0.18s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--text); }
.theme-toggle svg { width: 19px; height: 19px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 78% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(520px 420px at 8% 6%, rgba(34, 211, 238, 0.14), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary-bright); border-radius: 999px; padding: 7px 14px;
  font-size: 0.82rem; font-weight: 600;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .n { font-size: 1.7rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.hero-stat .l { font-size: 0.85rem; color: var(--muted); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- Hero visual (dashboard mockup) ---------- */
.hero-visual { position: relative; }
.mock {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(7, 12, 22, 0.4); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar i:nth-child(1){ background: #f87171; } .mock-bar i:nth-child(2){ background: #fbbf24; } .mock-bar i:nth-child(3){ background: #34d399; }
.mock-bar .url { margin-left: 10px; flex: 1; max-width: 260px; background: var(--surface-3); border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }
.mock-body { padding: 18px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 12px; }
.kpi .k { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.kpi .v { font-size: 1.18rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.kpi .v em { font-style: normal; font-size: 0.72rem; color: var(--success); font-weight: 700; }
.mock-map { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #0a1322; }
.mock-map svg { display: block; width: 100%; height: auto; }
.mock-map .legend { position: absolute; left: 10px; top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.mock-map .legend span { background: rgba(7, 12, 22, 0.85); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-size: 0.64rem; color: var(--text-2); font-weight: 600; }
.mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mk-col { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; }
.mk-col .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.7rem; font-weight: 700; color: var(--text-2); }
.mk-col .h span { background: rgba(148, 163, 184, 0.14); border-radius: 999px; padding: 1px 7px; font-size: 0.64rem; }
.mk-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin-bottom: 7px; }
.mk-card .t { font-size: 0.72rem; font-weight: 700; color: var(--text); }
.mk-card .s { font-size: 0.64rem; color: var(--muted); margin-top: 2px; }
.mk-card.pend { border-left: 3px solid var(--amber); }
.mk-card.route { border-left: 3px solid var(--primary); }
.mk-card.done { border-left: 3px solid var(--success); }

.hero-float {
  position: absolute; background: rgba(13, 22, 38, 0.92); border: 1px solid var(--border-strong);
  border-radius: 13px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 0.83rem;
  display: flex; align-items: center; gap: 10px; backdrop-filter: blur(8px);
}
.hero-float b { color: var(--text); }
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; }
.float-a { top: -16px; right: -10px; }
.float-b { bottom: -16px; left: -14px; }

/* ---------- Trust strip ---------- */
.trust { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-inner span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.trust-inner svg { width: 20px; height: 20px; color: var(--primary-bright); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.22s ease; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--pillar-color, var(--primary)), transparent);
  opacity: 0; transition: opacity 0.22s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.pillar:hover::before { opacity: 1; }
.pillar .icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--pillar-color, var(--primary)) 16%, transparent);
  color: var(--pillar-color, var(--primary-bright)); border: 1px solid color-mix(in srgb, var(--pillar-color, var(--primary)) 30%, transparent);
}
.pillar .icon svg { width: 27px; height: 27px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); }
.pillar li svg { width: 16px; height: 16px; color: var(--success); flex: 0 0 auto; margin-top: 3px; }
.pillar .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 0.9rem; color: var(--primary-bright); }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 16px; }
.bento-card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: all 0.2s ease;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.bento-card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--bento-color, var(--primary-bright)); background: color-mix(in srgb, var(--bento-color, var(--primary)) 16%, transparent); }
.bento-card .ic svg { width: 21px; height: 21px; }
.bento-card h4 { font-size: 1.05rem; margin: 0 0 4px; }
.bento-card p { font-size: 0.86rem; color: var(--muted); margin: 0; }
.bento-card .n { position: absolute; top: 18px; right: 20px; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

/* ---------- USP grid ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usp {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all 0.2s ease;
}
.usp:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.usp .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.usp .ic svg { width: 21px; height: 21px; }
.usp h3 { font-size: 1.08rem; margin-bottom: 6px; }
.usp p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.ic-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ic-cyan { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.ic-green { background: linear-gradient(135deg, #34d399, #059669); }
.ic-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
.ic-violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ic-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong); padding: 60px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(59, 130, 246, 0.28), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: var(--muted); max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.84rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Resources page ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 44px; border-bottom: 1px solid var(--border); }
.page-hero .bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 50% -20%, rgba(59, 130, 246, 0.2), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; position: relative; z-index: 1; }
.back-link:hover { color: var(--text); }

.area-nav {
  position: sticky; top: 72px; z-index: 90;
  background: rgba(7, 12, 22, 0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); padding: 14px 0;
}
.area-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.area-nav-inner::-webkit-scrollbar { display: none; }
.area-nav a {
  flex: 0 0 auto; padding: 7px 15px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-2); border: 1px solid var(--border); background: rgba(148, 163, 184, 0.06); transition: all 0.15s ease;
}
.area-nav a:hover { border-color: var(--border-strong); color: var(--text); }
.area-nav a.active { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.4); color: var(--primary-bright); }

.area { padding: 64px 0 0; }
.area-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.area-head .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; color: var(--area-color, var(--primary-bright)); background: color-mix(in srgb, var(--area-color, var(--primary)) 15%, transparent); border: 1px solid color-mix(in srgb, var(--area-color, var(--primary)) 28%, transparent); }
.area-head .ic svg { width: 24px; height: 24px; }
.area-head h2 { font-size: 1.6rem; margin: 0; }
.area-head .count { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.area-desc { color: var(--muted); max-width: 760px; margin: 0 0 28px 66px; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.screen-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; transition: all 0.18s ease; display: flex; flex-direction: column; gap: 7px;
}
.screen-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.screen-card h3 { font-size: 1rem; margin: 0; }
.screen-card p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column; padding: 22px; gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .usp-grid, .bento, .screen-grid { grid-template-columns: 1fr; }
  .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-float { display: none; }
  .cta { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-desc { margin-left: 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

/* ---------- Light theme (toggle) ---------- */
body.light {
  --bg: #f4f6fa; --bg-2: #eef1f6; --surface: #ffffff; --surface-2: #f6f8fb; --surface-3: #eef2f7;
  --border: rgba(16, 24, 40, 0.12); --border-strong: rgba(16, 24, 40, 0.22);
  --text: #101828; --text-2: #344054; --muted: #667085;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06); --shadow-md: 0 12px 28px -12px rgba(16,24,40,.18); --shadow-lg: 0 30px 60px -24px rgba(16,24,40,.25);
}
body.light .site-header { background: rgba(255, 255, 255, 0.8); }
body.light .area-nav { background: rgba(255, 255, 255, 0.8); }
body.light .mock-bar { background: rgba(244, 246, 250, 0.6); }
body.light .mock-map { background: #eaf0f6; }
body.light .mock-map .legend span { background: rgba(255,255,255,0.9); }
body.light .hero-float { background: rgba(255, 255, 255, 0.94); }


/* ============ Assistente de IA ============ */
.ai-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.ai-grid .kicker { color: #a78bfa; }
.ai-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ai-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--text-2); }
.ai-list li svg { width: 18px; height: 18px; color: var(--violet); flex: 0 0 auto; margin-top: 3px; }

.chat-mock { background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(7, 12, 22, 0.4); }
.chat-head .avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; font-weight: 700; flex: 0 0 auto; }
.chat-head b { display: block; font-size: 0.92rem; color: var(--text); }
.chat-head small { font-size: 0.72rem; color: var(--muted); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 0.87rem; line-height: 1.45; }
.msg.user { align-self: flex-end; background: linear-gradient(100deg, #3b82f6, #2563eb); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-3); border: 1px solid var(--border); color: var(--text-2); border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--text); }
.msg.action { align-self: flex-start; width: 84%; background: var(--surface-3); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 12px 14px; }
.msg.action span { display: block; font-size: 0.8rem; color: var(--text-2); margin-bottom: 9px; }
.msg.action button { background: var(--success); color: #06281a; border: none; border-radius: 8px; padding: 7px 14px; font-weight: 700; font-size: 0.8rem; cursor: default; font-family: inherit; }

/* ============ Cadastro por upload ============ */
.cad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.upload-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.upload-head { display: flex; gap: 13px; align-items: center; margin-bottom: 18px; }
.upload-head .emoji { font-size: 1.8rem; line-height: 1; }
.upload-head b { display: block; color: var(--text); }
.upload-head small { color: var(--muted); font-size: 0.78rem; }
.drop { border: 2px dashed var(--border-strong); border-radius: 12px; padding: 24px; text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; background: rgba(59, 130, 246, 0.05); }
.drop u { color: var(--primary-bright); text-decoration: none; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.f { background: var(--surface-3); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.f label { display: block; font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.f span { font-size: 0.92rem; color: var(--text); font-weight: 600; }
.f i { font-style: normal; color: var(--success); margin-left: 5px; font-weight: 700; }
.upload-note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.mini-feat { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.mini-feat .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.mini-feat .ic svg { width: 21px; height: 21px; }
.mini-feat h4 { font-size: 1rem; margin: 0 0 4px; }
.mini-feat p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* ============ Tecnologia NB2 ============ */
.proto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proto { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.2s ease; }
.proto:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.proto .tag { display: inline-block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary-bright); background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.proto h3 { font-size: 1.12rem; margin-bottom: 6px; }
.proto p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.nb2-note { text-align: center; color: var(--muted); font-size: 0.95rem; max-width: 720px; margin: 30px auto 0; }
.nb2-note strong { color: var(--text-2); }

/* ============ App do motorista ============ */
.app-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.phone-wrap { display: grid; place-items: center; }
.phone { width: 278px; max-width: 100%; background: #0a0d16; border-radius: 40px; padding: 16px; box-shadow: var(--shadow-lg); border: 1px solid #1f2937; }
.phone-notch { width: 92px; height: 22px; background: #05070f; border-radius: 12px; margin: 0 auto 12px; }
.phone-screen { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: 26px; padding: 18px 15px; }
.ph-status { font-size: 0.82rem; font-weight: 700; color: var(--success); margin-bottom: 2px; }
.ph-state { font-size: 0.72rem; color: var(--muted); margin-bottom: 14px; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ph-btns button { background: linear-gradient(100deg, #3b82f6, #2563eb); color: #fff; border: none; border-radius: 10px; padding: 10px; font-size: 0.76rem; font-weight: 600; cursor: default; font-family: inherit; }
.ph-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.ph-card .t { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.ph-card .s { font-size: 0.72rem; color: var(--muted); margin: 3px 0 9px; }
.ph-card button { border: none; border-radius: 8px; padding: 7px 12px; font-size: 0.75rem; font-weight: 700; cursor: default; font-family: inherit; }
.ph-card button.confirm { background: var(--success); color: #06281a; }
.ph-card button.ghost { background: rgba(148, 163, 184, 0.14); color: var(--text-2); }
.ph-foot { font-size: 0.72rem; color: var(--success); margin-top: 4px; }
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.driver-funcs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.driver-funcs li { display: flex; gap: 13px; align-items: flex-start; }
.driver-funcs .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.driver-funcs .ic svg { width: 20px; height: 20px; }
.driver-funcs h4 { font-size: 0.98rem; margin: 0 0 3px; }
.driver-funcs p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* Bento: altura mínima com folga (evita estouro do texto) */
.bento { grid-auto-rows: minmax(160px, auto); }

/* ============ Responsivo (novos blocos) ============ */
@media (max-width: 1024px) {
  .ai-grid, .cad-grid, .app-grid { grid-template-columns: 1fr; }
  .proto-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-mock, .upload-card { max-width: 540px; }
  .phone-wrap { order: -1; }
}
@media (max-width: 760px) {
  .two-up, .driver-funcs { grid-template-columns: 1fr; }
  .proto-grid { grid-template-columns: 1fr; }
}
