/* ============================================================
   Serf Mobility LTD — Design System
   ============================================================ */
:root {
  --ink: #0e2b24;
  --ink-2: #123a30;
  --ink-3: #1a4a3d;
  --cream: #f7f4ee;
  --cream-2: #efece4;
  --white: #ffffff;
  --emerald: #10a374;
  --emerald-dark: #0c8a61;
  --emerald-soft: #e2f4ec;
  --mint: #34d399;
  --text: #23433a;
  --muted: #5f756d;
  --muted-2: #8a9b93;
  --line: #e5e0d5;
  --card-shadow: 0 1px 2px rgba(14, 43, 36, .04), 0 8px 24px rgba(14, 43, 36, .06);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(14,43,36,.25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(14,43,36,.05); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 43, 36, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 16px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  font-family: var(--font-body);
}
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.main-nav a:hover { background: rgba(14,43,36,.06); color: var(--ink); }
.main-nav a.active { color: var(--emerald); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-actions .support-link { font-size: 14px; font-weight: 500; color: var(--text); }
.header-actions .support-link:hover { color: var(--emerald); }
.btn-login {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.btn-login:hover { border-color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 20px; }
.hero p.lede { font-size: 17px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges .badge-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.badge-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--emerald-soft); display: grid; place-items: center; color: var(--emerald); font-size: 9px; }

.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.float-card {
  position: absolute;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(14,43,36,.35);
}
.float-card .fc-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.float-card .fc-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 2px; }
.float-card .fc-sub { font-size: 11px; color: rgba(255,255,255,.55); }
.fc-members { top: 24px; right: -18px; }
.fc-gateway { bottom: 48px; left: -28px; background: #fff; color: var(--ink); box-shadow: var(--card-shadow); }
.fc-gateway .fc-label { color: var(--muted-2); }
.fc-gateway .fc-value { color: var(--ink); }
.fc-gateway .fc-sub { color: var(--muted); }
.mini-bars { display: flex; gap: 3px; align-items: flex-end; margin-top: 8px; height: 22px; }
.mini-bars i { width: 5px; background: var(--emerald); border-radius: 2px; display: block; }

/* ---------- Stats bar ---------- */
.stats-bar { padding: 8px 0 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.stat-cell { padding: 30px 34px; border-left: 1px solid var(--cream-2); }
.stat-cell:first-child { border-left: none; }
.stat-cell .stat-value { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink); }
.stat-cell .stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); max-width: 20ch; }
.section-head .section-sub { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.link-arrow { color: var(--emerald); font-weight: 600; font-size: 14.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Module cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(14,43,36,.06), 0 18px 40px rgba(14,43,36,.1); }
.module-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--mint);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.module-icon svg { width: 20px; height: 20px; }
.module-card h3 { font-size: 17px; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: var(--muted); flex: 1; }
.card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-from .pf-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.price-from .pf-value { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 18px; }
.price-from .pf-value small { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------- Dark trust section ---------- */
.trust-section { background: var(--ink); color: #fff; padding: 88px 0; }
.trust-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.trust-section .eyebrow { color: var(--mint); }
.trust-section h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.trust-section .section-body { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 26px; }
.trust-list { display: grid; gap: 12px; margin-bottom: 30px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.trust-list .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52, 211, 153, .15); color: var(--mint);
  display: grid; place-items: center; font-size: 10px; flex-shrink: 0;
}
.trust-ctas { display: flex; gap: 14px; }
.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-on-dark:hover { background: rgba(255,255,255,.18); }

.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
}
.trust-card h4 { color: #fff; font-size: 15px; font-family: var(--font-display); margin-bottom: 8px; }
.trust-card p { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 14px; }
.trust-card .link-arrow { color: var(--mint); font-size: 13.5px; }
.trust-earth { grid-column: 1 / -1; }
.trust-earth img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); opacity: .9; }

/* ---------- Configurator band ---------- */
.config-band {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
.config-content { padding: 48px 52px; }
.config-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.config-content p { color: var(--muted); font-size: 15px; margin-bottom: 26px; max-width: 48ch; }
.config-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.config-step { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 14px; }
.config-step .cs-num { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 18px; }
.config-step .cs-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.config-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Explore trio ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.explore-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
}
.explore-card .module-icon { margin-bottom: 16px; }
.explore-card h3 { font-size: 17px; margin-bottom: 8px; }
.explore-card p { font-size: 14px; color: var(--muted); flex: 1; }
.explore-card .link-arrow { margin-top: 18px; font-size: 14px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(120deg, #0e9d6e, #0b7d58);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  padding: 64px 40px;
}
.final-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 28px; font-size: 15px; }
.final-cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 80px; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-mark { background: var(--emerald); }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 24px; max-width: 34ch; }
.newsletter-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: 2px solid var(--emerald); border-color: transparent; }
.newsletter-form .btn { padding: 11px 20px; }
.footer-col h5 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-col a.muted-link { color: rgba(255,255,255,.35); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ---------- Solutions page ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); max-width: 16ch; margin-bottom: 16px; }
.page-hero .lede { color: var(--muted); font-size: 16.5px; max-width: 60ch; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 36px; }
.filter-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--emerald); color: var(--emerald); }
.filter-chip.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream-2);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.config-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
}
.config-banner h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.config-banner p { color: rgba(255,255,255,.65); font-size: 14.5px; }

/* ---------- Pricing page ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured { background: var(--ink); color: rgba(255,255,255,.75); }
.price-card.featured h3, .price-card.featured .band-price { color: #fff; }
.price-card.featured .band-members, .price-card.featured .band-desc, .price-card.featured .band-impl { color: rgba(255,255,255,.6); }
.price-card.featured .feature-list li { color: rgba(255,255,255,.85); }
.price-card.featured .feature-list .check { background: rgba(52,211,153,.2); color: var(--mint); }
.badge-most {
  position: absolute;
  top: 26px; right: 26px;
  background: var(--emerald);
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
}
.band-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); }
.band-members { font-size: 12.5px; color: var(--muted); margin: 4px 0 18px; }
.band-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink); }
.band-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.band-impl { font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; }
.band-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.feature-list { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text); }
.feature-list .check {
  width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0;
  background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; font-size: 9px;
}
.price-card .btn { width: 100%; justify-content: center; }

.addons-section { margin-top: 80px; }
.addons-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; }
.addons-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  padding: 16px 22px;
  border-bottom: 1px solid var(--cream-2);
  background: #fcfbf8;
}
.addons-table td { padding: 18px 22px; border-bottom: 1px solid var(--cream-2); font-size: 14.5px; }
.addons-table tr:last-child td { border-bottom: none; }
.addons-table .td-name { font-weight: 600; color: var(--ink); }
.addons-table .td-cat { color: var(--muted); font-size: 13px; }
.addons-table .td-price { font-weight: 600; color: var(--ink); }
.addons-table .td-per { color: var(--muted); font-size: 13px; }

/* ---------- Simple content pages ---------- */
.content-page { padding: 64px 0 40px; max-width: 860px; }
.content-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
.content-page .lede { color: var(--muted); font-size: 16.5px; margin-bottom: 36px; max-width: 62ch; }
.content-block { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 32px 36px; margin-bottom: 22px; }
.content-block h3 { font-size: 18px; margin-bottom: 10px; }
.content-block p { font-size: 14.5px; color: var(--muted); }

/* ---------- Status page ---------- */
.status-banner--warn { background: #fef3c7; border-color: rgba(217,119,6,.3); color: #92400e; }

/* ---------- CMS page content (block editor output) ---------- */
.page-cms-content { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 32px 36px; margin-top: 8px; }
.page-cms-content h2 { font-size: 22px; margin: 26px 0 10px; }
.page-cms-content h2:first-child { margin-top: 0; }
.page-cms-content h3 { font-size: 18px; margin: 22px 0 8px; }
.page-cms-content p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.page-cms-content ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.page-cms-content li { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.page-cms-content a { color: var(--emerald); text-decoration: underline; }
.page-cms-content img { border-radius: 12px; margin: 16px 0; }

.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; background: #fff; border-radius: 9px; border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.pagination .page-numbers.current { background: var(--emerald); border-color: var(--emerald); color: #fff; }

.status-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 163, 116, .25);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 30px;
  color: var(--emerald-dark);
  font-weight: 600;
}
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--emerald); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,163,116,.4);} 50% { box-shadow: 0 0 0 6px rgba(16,163,116,0);} }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--cream-2); }
.status-row:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
.status-row:last-of-type { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
.status-rows { box-shadow: var(--card-shadow); border-radius: var(--radius); }
.status-row .sr-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 14px; }
.pill-ok { background: var(--emerald-soft); color: var(--emerald-dark); }
.pill-warn { background: #fef3c7; color: #92400e; }

/* ---------- Admin dashboard ---------- */
.admin-body { background: #f2f1ec; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}
.side-logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; border-bottom: 1px solid var(--cream-2); margin-bottom: 16px; }
.side-logo .logo-mark { width: 34px; height: 34px; font-size: 14px; }
.side-logo .sl-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.2; }
.side-logo .sl-sub { font-size: 11px; color: var(--muted); }
.side-section { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; padding: 16px 12px 7px; }
.side-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1px;
}
.side-link svg { width: 16px; height: 16px; opacity: .75; flex-shrink: 0; }
.side-link:hover { background: rgba(14,43,36,.05); }
.side-link.active { background: var(--emerald-soft); color: var(--emerald-dark); font-weight: 600; }
.side-footer { margin-top: auto; border-top: 1px solid var(--cream-2); padding-top: 14px; }

.admin-main { flex: 1; padding: 30px 36px; min-width: 0; }
.admin-title { font-size: 26px; margin-bottom: 24px; }

.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.kpi-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 22px;
  color: #fff;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.kpi-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.kpi-icon svg { width: 20px; height: 20px; }
.kpi-icon.green { background: rgba(52,211,153,.15); color: var(--mint); }
.kpi-icon.blue { background: rgba(96,165,250,.15); color: #7ab5fb; }
.kpi-icon.purple { background: rgba(192,132,252,.18); color: #cf9bfc; }
.kpi-icon.amber { background: rgba(251,191,36,.15); color: #fcd34d; }
.kpi-icon.red { background: rgba(248,113,113,.15); color: #f87171; }
.kpi-icon.teal { background: rgba(45,212,191,.15); color: #2dd4bf; }
.kpi-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.kpi-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.1; margin: 3px 0 2px; }
.kpi-sub { font-size: 12px; color: rgba(255,255,255,.5); }

.panel-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-bottom: 18px; }
.admin-panel {
  background: var(--ink);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
}
.admin-panel h3 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.admin-panel .panel-sub { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.panel-empty { color: rgba(255,255,255,.45); font-size: 14px; padding: 40px 0; text-align: center; }

.chart-area { position: relative; height: 240px; display: flex; align-items: flex-end; gap: 26px; padding: 0 6px; }
.chart-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; height: 100%; justify-content: flex-end; position: relative; }
.chart-bars { display: flex; gap: 5px; align-items: flex-end; width: 100%; justify-content: center; flex: 1; }
.chart-bars i { width: 16px; border-radius: 5px 5px 0 0; display: block; transition: opacity .15s; }
.chart-bars i.bar-leads { background: var(--emerald); }
.chart-bars i.bar-quotes { background: rgba(52,211,153,.35); }
.chart-bars i:hover { opacity: .8; }
.chart-month { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; }
.chart-legend { display: flex; gap: 20px; margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.65); }
.chart-legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }

.list-panel-item { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.list-panel-item:last-child { border-bottom: none; }
.lpi-left { min-width: 0; }
.lpi-word { font-family: var(--font-display); font-weight: 600; color: rgba(255,255,255,.9); }
.lpi-sub { color: rgba(255,255,255,.5); font-size: 12.5px; }
.lpi-amount { color: var(--mint); font-weight: 600; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .trust-grid { grid-template-columns: 1fr; }
  .cards-grid, .pricing-grid, .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .config-band { grid-template-columns: 1fr; }
  .config-visual { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: 0 12px 24px rgba(14,43,36,.12); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .support-link { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .cards-grid, .pricing-grid, .explore-grid, .stats-grid, .kpi-grid, .trust-cards, .config-steps, .footer-grid { grid-template-columns: 1fr; }
  .stat-cell { border-left: none; border-top: 1px solid var(--cream-2); }
  .stat-cell:first-child { border-top: none; }
  .config-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 20px; }
  .float-card { display: none; }
  .hero-visual > img { height: 300px; }
  .addons-table { display: block; overflow-x: auto; }
}
