/* ==========================================================================
   OptinexPC — Design System
   Original design tokens and components for the OptinexPC marketing site.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces — dark navy premium default (overnight P0). */
  --bg: #060a16;
  --bg-elevated: #10162a;
  --surface: rgba(16, 22, 42, 0.72);
  --surface-solid: #10162a;
  --surface-2: #161d30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eef1f8;
  --text-muted: #9aa4ba;
  --text-faint: #7d8aa0;

  /* Brand — electric blue ONLY (no teal/violet rainbow). */
  --brand-blue: #3f6bff;
  --brand-blue-strong: #2a4fd6;
  --brand-teal: #3f6bff;
  --brand-violet: #2a4fd6;
  --brand-gradient: linear-gradient(135deg, #3f6bff 0%, #2a4fd6 100%);
  --brand-gradient-2: linear-gradient(135deg, #2a4fd6 0%, #3f6bff 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(63, 107, 255, 0.18), rgba(42, 79, 214, 0.10));
  --brand-glow: rgba(63, 107, 255, 0.35);

  /* Status */
  --amber: #f0b429;
  --amber-soft: rgba(163, 105, 12, 0.12);
  --red: #c93a55;
  --red-soft: rgba(201, 58, 85, 0.10);
  --green: #2dd4a8;
  --green-soft: rgba(15, 138, 95, 0.10);
  --blue-soft: rgba(63, 107, 255, 0.10);

  /* Dark-section tokens — the original all-dark palette, kept for the
     small set of sections deliberately styled as premium dark bands. */
  --dark-bg: #060a16;
  --dark-surface-solid: #10162a;
  --dark-surface-2: #161d30;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-strong: rgba(255, 255, 255, 0.16);
  --dark-text: #eef1f8;
  --dark-text-muted: #9aa4ba;
  --dark-text-faint: #7d8aa0;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Elevation — softer than the dark-mode system, since heavy shadows
     read as harsh rather than premium on a light background. */
  --shadow-card: 0 12px 40px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(63, 107, 255, 0.16), 0 20px 50px -20px rgba(63, 107, 255, 0.22);
  --shadow-pop: 0 18px 48px -24px rgba(0, 0, 0, 0.65);

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* One consistent light theme across every section — nav, hero, footer and
   the software-preview mockup all read the same light tokens as everything
   else now (previously re-scoped to a dark palette, which read as an
   inconsistent "dark band on a light site" rather than one coherent look). */

/* ==========================================================================
   Reset & base
   ========================================================================== */

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  min-height: 100%;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", Inter, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

p { color: var(--text-muted); }

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--brand-teal); }

img { max-width: 100%; display: block; }
svg.icon-svg { flex-shrink: 0; }

::selection { background: var(--brand-blue); color: #fff; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 2000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container-xl {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
}

.section-tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }

.section-header {
  max-width: 720px;
  margin: 0 0 3rem;
}

.section-header.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.text-gradient {
  background: var(--brand-gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.admin-body .reveal,
.admin-body .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

.btn-primary {
  background: var(--brand-gradient);
  color: #04101a;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -20px rgba(91, 140, 255, 0.5);
  color: #04101a;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-disabled,
.btn[disabled] {
  background: var(--surface-2);
  color: var(--text-faint);
  border-color: var(--border);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-disabled:hover { transform: none; }

.btn-block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .navbar { padding-top: 0.55rem; padding-bottom: 0.55rem; }

.navbar-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}

.navbar-brand-mark .brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 16px var(--brand-glow);
}

.main-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.4rem 0.7rem !important;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.active {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.05);
}

.main-nav .dropdown-menu {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 0.6rem;
  min-width: 280px;
}

.main-nav .dropdown-item {
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.main-nav .dropdown-item small { color: var(--text-faint); font-size: 0.78rem; }
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  background: rgba(91, 140, 255, 0.12);
  color: var(--text);
}

.navbar-toggler {
  border-color: var(--border-strong) !important;
}

.nav-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list li a { color: var(--text-faint); }
.breadcrumb-list li a:hover { color: var(--brand-teal); }
.breadcrumb-list li[aria-current="page"] { color: var(--text-muted); font-weight: 600; }
.breadcrumb-list li + li::before {
  content: "/";
  margin: 0 0.6rem;
  color: var(--border-strong);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 70% 0%, rgba(63,107,255,0.22), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container-xl { position: relative; z-index: 1; }

.hero-content { max-width: 720px; }
.hero-content.center { max-width: 780px; margin: 0 auto; text-align: center; }

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  margin-bottom: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 720;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 640px;
}
.hero-content.center .hero-subtitle { margin-inline: auto; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.hero-content.center .hero-actions { justify-content: center; }

.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.hero-content.center .hero-meta { justify-content: center; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { color: var(--brand-teal); }

.hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-pop);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Dashboard mockup ("product screenshot" stand-in)
   ========================================================================== */

.mockup-window {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  animation: float 7s ease-in-out infinite;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mockup-dot.red { background: #f5617a; }
.mockup-dot.amber { background: #f5a524; }
.mockup-dot.green { background: #34e4a0; }
.mockup-titlebar-label { margin-left: 0.5rem; font-size: 0.78rem; color: var(--text-faint); font-weight: 600; }
.mockup-body { padding: 1.75rem 1.5rem 1.25rem; text-align: center; }
.mockup-score { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.mockup-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--border); stroke-width: 10; }
.ring-progress {
  fill: none;
  stroke: url(#optinexMockupRing);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 72;
}
.mockup-score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mockup-score-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.mockup-score-unit { font-size: 0.75rem; color: var(--text-faint); }
.mockup-score-caption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.mockup-module-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mockup-module-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.mockup-module-list .mockup-value { margin-left: auto; color: var(--text); font-weight: 600; font-size: 0.82rem; }
.mockup-dot-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mockup-dot-status.good { background: var(--green); box-shadow: 0 0 8px rgba(52, 228, 160, 0.6); }
.mockup-dot-status.warn { background: var(--amber); box-shadow: 0 0 8px rgba(245, 165, 36, 0.6); }
.mockup-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-align: center;
}

/* Real product screenshots (actual app windows, not illustrative mockups) */
.screenshot-window {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.screenshot-window img {
  width: 100%;
  display: block;
}
.screenshot-caption h3 { font-size: 1.05rem; margin: 1.1rem 0 0.35rem; }
.screenshot-caption p { margin: 0; font-size: 0.9rem; }

/* Metric bars (used in in-page sample/illustrative dashboard cards) */
.metric-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.metric-row:last-child { margin-bottom: 0; }
.metric-row-top { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.84rem; color: var(--text-muted); }
.metric-row-top span:last-child { color: var(--text); font-weight: 600; }
.metric-track { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.metric-fill { height: 100%; border-radius: 999px; background: var(--brand-gradient); }

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-bar-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 2.25rem;
  margin: 0;
  padding: 0;
}
.trust-bar-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-bar-list svg { color: var(--brand-teal); }

/* ==========================================================================
   Badges & status labels
   ========================================================================== */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.badge-planned { background: var(--blue-soft); color: var(--brand-blue); border-color: rgba(91, 140, 255, 0.3); }
.badge-preview { background: var(--amber-soft); color: var(--amber); border-color: rgba(245, 165, 36, 0.3); }
.badge-development { background: rgba(63, 107, 255, 0.14); color: var(--brand-violet); border-color: rgba(63, 107, 255, 0.3); }
.badge-live { background: var(--green-soft); color: var(--green); border-color: rgba(52, 228, 160, 0.3); }
.badge-danger { background: var(--red-soft); color: var(--red); border-color: rgba(245, 97, 122, 0.3); }
.badge-neutral { background: var(--surface-2); color: var(--text-faint); border-color: var(--border); }

.badge-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-surface {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card-feature {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-feature:hover {
  border-color: rgba(91, 140, 255, 0.28);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }

.card-feature h3 { font-size: 1.15rem; margin: 0; }
.card-feature p { margin: 0; font-size: 0.94rem; }
.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link:hover { color: var(--brand-teal); }
.card-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card-feature:hover .card-link svg { transform: translateX(4px); }

.stat-tile {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.stat-tile .stat-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat-tile .stat-label { color: var(--text-faint); font-size: 0.82rem; margin-top: 0.25rem; }

/* Timeline (How It Works) */
.timeline { position: relative; }
.timeline-item {
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 2.6rem;
  bottom: -0.5rem;
  width: 2px;
  background: linear-gradient(var(--border-strong), transparent);
}
.timeline-item:last-child::before { display: none; }
.timeline-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #04101a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg), 0 0 20px var(--brand-glow);
}
.timeline-badge svg { width: 18px; height: 18px; }

/* Inline mid-page CTA bar */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--brand-gradient-soft);
}
.inline-cta p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.16), rgba(52, 228, 192, 0.08)), var(--surface-solid);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.cta-banner p { max-width: 560px; margin: 0 auto 1.75rem; }
.cta-banner .hero-actions { justify-content: center; }

/* Quote / testimonial */
.quote-card {
  border-left: 3px solid var(--brand-teal);
  padding-left: 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
}
.quote-card cite { display: block; margin-top: 0.75rem; font-style: normal; color: var(--text-faint); font-size: 0.85rem; }

/* Accordion (FAQ) overrides */
.accordion-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(91, 140, 255, 0.08);
  color: var(--text);
}
.accordion-body { color: var(--text-muted); }

/* Pricing */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card.featured {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}
.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0.5rem 0;
}
.pricing-card .price span { font-size: 1rem; color: var(--text-faint); font-weight: 500; }
.pricing-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.pricing-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); font-size: 0.92rem; }
.pricing-list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--brand-teal); margin-top: 2px; }

/* Forms */
.form-control-dark,
textarea.form-control-dark,
select.form-control-dark {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.form-control-dark:focus {
  background: var(--surface-solid);
  border-color: var(--brand-blue);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.2);
}
.form-control-dark::placeholder { color: var(--text-faint); }
.form-label-dark { color: var(--text-muted); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }

/* Tables */
.table-dark-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table-dark-custom th, .table-dark-custom td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
}
.table-dark-custom th { color: var(--text-faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.02); }
.table-dark-custom tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-brand { max-width: 300px; }
.footer-col h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--brand-teal); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.footer-social a:hover { border-color: var(--brand-teal); color: var(--brand-teal); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 900;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.back-to-top svg { transform: rotate(-90deg); width: 20px; height: 20px; }

/* Utilities */
.divider-line { height: 1px; background: var(--border); border: none; margin: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; font-size: 0.82rem; color: var(--text-muted); }
.text-muted-soft { color: var(--text-muted); }
.icon-inline { width: 1em; height: 1em; vertical-align: -0.15em; }

@media (max-width: 991.98px) {
  .hero-visual-wrap { margin-top: 2.5rem; }
}

/* ==========================================================================
   Admin shell — dark/navy sidebar + light workspace, scoped to .admin-body
   only (Views/Admin/_ViewStart.cshtml routes admin pages here; the public
   site's own header/footer in _Layout.cshtml are untouched by any of this).
   ========================================================================== */

.admin-body { background: var(--bg-elevated); }

.admin-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.admin-sidebar {
  width: 264px;
  flex-shrink: 0;
  background: var(--dark-bg);
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark-text) !important;
  padding: 0.5rem 0.6rem 1.25rem;
}
.admin-sidebar-brand small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--dark-text-faint); }

.admin-sidebar-group { margin-bottom: 0.85rem; }
.admin-sidebar-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-text-faint);
  padding: 0 0.6rem 0.4rem;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--dark-text-muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.admin-sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-sidebar-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--dark-text) !important; }
.admin-sidebar-link.active { background: var(--brand-gradient); color: #fff !important; }

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-sidebar-logout { font: inherit; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-solid);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar-title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.admin-topbar-user { margin-left: auto; }

.admin-sidebar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}
.admin-sidebar-toggle span { width: 18px; height: 2px; background: var(--text); display: block; }

.admin-content { padding: 1.75rem; flex: 1; min-width: 0; overflow-x: auto; }

/* Live-chat inbox: fill the right pane under the topbar, no double page scroll. */
.admin-body:has(.ox-support[data-ox-support]) .admin-shell,
.admin-body:has(.ox-support[data-ox-support]) .admin-main {
  height: 100vh;
  overflow: hidden;
}
.admin-body:has(.ox-support[data-ox-support]) .admin-content {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.25s var(--ease);
    box-shadow: var(--shadow-pop);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-toggle { display: flex; }
}


.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.admin-filter-bar .form-control-dark { max-width: 22rem; }
.kpi-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.kpi-link:hover .stat-tile { border-color: var(--brand-blue); }
.evidence-letterhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 2px solid var(--text);
  margin-bottom: 1.5rem;
}
.evidence-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.evidence-doc-title { font-weight: 650; font-size: 1.05rem; }
.evidence-generated { font-size: 0.82rem; color: var(--text-faint); }
.evidence-dl {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 0.55rem 1.25rem;
  margin: 0;
}
.evidence-dl dt {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}
.evidence-dl dd { margin: 0; color: var(--text); }

@media print {
  .admin-sidebar, .admin-topbar, .no-print { display: none !important; }
  .admin-content { padding: 0; }
  .admin-shell, .admin-main { display: block; }
  .evidence-report .card-surface { border: 1px solid #c9ced8; box-shadow: none; break-inside: avoid; background: #fff; }
  body.admin-body { background: #fff; color: #111; }
  .evidence-letterhead { display: flex !important; border-bottom-color: #111; }
  .badge-pill { border: 1px solid #999; }
}

/* Product screenshots — captured from running Windows apps, not mock UI.
   Files are cropped to the real app-window pixels. Product pages show that
   frame at column width (max-width:100%; height:auto). Hub cards use a
   compact 16:9 preview so the UI stays readable. */
.product-shot {
  margin: 0;
}
.product-shot-frame {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.product-shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: var(--dark-surface-solid);
  border-bottom: 1px solid var(--dark-border);
}
.product-shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.product-shot-dot--close { background: var(--red); }
.product-shot-dot--min { background: var(--amber); }
.product-shot-dot--max { background: var(--brand-teal); }
.product-shot-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: var(--surface-2);
}
.product-shot-caption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
}
.product-hub-card .product-shot {
  margin-top: 0.25rem;
}
.product-hub-card .product-shot-frame {
  border-radius: var(--radius-sm);
}
.product-hub-card .product-shot-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top left;
}

/* ==========================================================================
   Header search
   ========================================================================== */

.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0.75rem 0 0;
  max-width: 16rem;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  outline: none;
}
.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.header-search-btn:hover,
.header-search-btn:focus-visible { color: var(--brand-blue); }
.header-search svg { width: 18px; height: 18px; }

@media (min-width: 992px) {
  .header-search { margin: 0 0.75rem 0 0; }
}

.site-search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  text-align: left;
}
.site-search-form input { flex: 1; }
.search-hit:hover { border-color: var(--brand-blue); }

.positioning-band { padding: 2rem; }
.detail-stack { max-width: 760px; }
.detail-stack h3 { margin-top: 2rem; margin-bottom: 0.6rem; font-size: 1.15rem; }
.detail-stack h3:first-child { margin-top: 0; }
.detail-steps { padding-left: 1.2rem; color: var(--text-muted); }
.detail-steps li { margin-bottom: 0.45rem; }
.btn-link-inline {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand-blue);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   First-party live chat
   ========================================================================== */

.site-chat { position: relative; z-index: 940; }
.site-chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.site-chat-fab-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.75rem;
  box-shadow: var(--shadow-card);
}
.site-chat-fab-bubble {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--brand-glow), 0 14px 32px rgba(63, 107, 255, 0.45), var(--shadow-pop);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.site-chat-fab-bubble svg { width: 26px; height: 26px; color: #fff; }
.site-chat-fab:hover .site-chat-fab-bubble,
.site-chat-fab:focus-visible .site-chat-fab-bubble {
  background: var(--brand-blue-strong);
  transform: scale(1.06);
}
.site-chat-fab[aria-expanded="true"] { display: none; }

.site-chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  width: min(24.5rem, calc(100vw - 1.5rem));
  max-height: min(36rem, calc(100vh - 2rem));
  overflow: auto;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.site-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface-solid);
}
.site-chat-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-chat-close svg { width: 16px; height: 16px; }
.site-chat-body { padding: 1rem; }
.site-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.site-chat-quick a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}
.site-chat-quick a:hover { color: var(--brand-blue); border-color: var(--brand-blue); }

.chat-dept-grid { display: grid; gap: 0.55rem; }
.chat-dept {
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  color: var(--text);
}
.chat-dept strong { display: block; font-size: 0.92rem; }
.chat-dept small { display: block; color: var(--text-faint); font-size: 0.78rem; margin-top: 0.15rem; }
.chat-dept:hover,
.chat-dept:focus-visible { border-color: var(--brand-blue); }

.back-to-top { bottom: 6.5rem; }

@media (max-width: 575.98px) {
  .site-chat-fab-label { display: none; }
  .header-search { max-width: none; width: 100%; }
}



/* ==========================================================================
   Device plans, SKU grid, checkout tiles, invoice form
   ========================================================================== */

.sku-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .sku-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.sku-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sku-card-body { padding: 1.75rem 1.75rem 1.5rem; }
.sku-card h2 { font-size: 1.45rem; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.sku-card p { margin-bottom: 1rem; }
.sku-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.55rem;
}
.sku-price {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
  margin: 0.75rem 0 1.1rem;
}
.sku-price span { color: var(--text-faint); font-weight: 500; font-size: 0.9rem; }
.sku-card .product-shot { margin: 0; border-radius: 0; }
.sku-card .product-shot-frame { border: 0; border-top: 1px solid var(--border); border-radius: 0; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .plan-grid { grid-template-columns: repeat(5, 1fr); }
}
.plan-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
  min-height: 8.2rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.plan-tile:hover { color: inherit; border-color: var(--brand-blue); }
.plan-tile.is-selected,
.plan-tile.featured {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px rgba(63, 107, 255, 0.25);
}
.plan-tile .plan-count {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}
.plan-tile .plan-price {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan-tile .plan-note { font-size: 0.78rem; color: var(--text-faint); }
button.plan-tile { width: 100%; cursor: pointer; font: inherit; }

.invoice-panel {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.invoice-panel h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.dodo-access-prompt {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.dodo-access-prompt[hidden] { display: none; }
.checkout-split { display: grid; gap: 1.5rem; }
@media (min-width: 992px) {
  .checkout-split { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
.order-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.order-summary h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: 0; font-weight: 700; color: var(--text); }
.quiet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.section-header.left { text-align: left; margin-inline: 0; }
.faq-slim { max-width: 720px; }
.nav-cta .btn-sm { border-radius: 8px; }
.main-nav .dropdown-menu { min-width: 260px; }


/* ==========================================================================
   Admin workspace — vendor console, not a marketing template
   ========================================================================== */

.admin-body .card-surface {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.15rem 1.25rem;
}

.admin-body .section { padding-top: 0.25rem; padding-bottom: 1.5rem; }
.admin-body .section-header { margin-bottom: 1.15rem; }
.admin-body .section-header .h3 { margin-bottom: 0.25rem; }

.admin-body code {
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  word-break: keep-all;
  white-space: nowrap;
}

.admin-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.admin-body .table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.admin-body .table-scroll > .table-dark-custom,
.admin-table-wrap > .table-dark-custom {
  width: max-content;
  min-width: 100%;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.admin-body .table-dark-custom th,
.admin-body .table-dark-custom td {
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 0.88rem;
}

.admin-body .table-dark-custom td.cell-wrap,
.admin-body .table-dark-custom th.cell-wrap {
  white-space: normal;
  max-width: 22rem;
}

.admin-body .table-dark-custom th.col-actions,
.admin-body .table-dark-custom td.col-actions {
  position: sticky;
  right: 0;
  background: var(--surface-solid);
  box-shadow: -10px 0 10px -12px rgba(15, 23, 42, 0.28);
  z-index: 1;
  white-space: nowrap;
}

.admin-body .table-dark-custom .card-link {
  white-space: nowrap;
}

.utc-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
}
.product-badge-optinexpc { background: var(--blue-soft); color: var(--brand-blue); border-color: rgba(91, 140, 255, 0.3); }
.product-badge-uninstaller { background: rgba(63, 107, 255, 0.14); color: var(--brand-violet); border-color: rgba(63, 107, 255, 0.3); }
.product-badge-shield { background: #dcf6f1; color: #086773; border-color: #aadbd3; }
.product-badge-service { background: var(--amber-soft); color: var(--amber); border-color: rgba(245, 165, 36, 0.3); }

.admin-body .badge-pill { text-transform: none; letter-spacing: 0.02em; font-size: 0.72rem; }

.id-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-faint);
  font-size: 0.78rem;
}
.id-copy-prefix {
  color: var(--text-faint) !important;
  background: transparent !important;
  font-size: 0.75rem !important;
  padding: 0 !important;
}
.id-copy-btn {
  font: inherit;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
}
.id-copy-btn:hover { border-color: var(--brand-blue); color: var(--text); }

.admin-body .stat-tile {
  padding: 0.85rem 0.75rem;
  border-radius: 8px;
}
.admin-body .stat-tile .stat-value {
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-body .stat-tile-metric .stat-value {
  font-size: 1.7rem;
  font-weight: 800;
}

.admin-kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem 1.25rem;
}
.admin-kv-row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 0.45rem 1rem;
  align-items: start;
}
.admin-kv-label {
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}
.admin-kv-value { color: var(--text); font-size: 0.92rem; }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.admin-empty {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.admin-secondary {
  color: var(--text-faint);
  font-size: 0.78rem;
}

@media print {
  .admin-toolbar, .id-copy-btn { display: none !important; }
}


/* ==========================================================================
   Site-complete: header, homepage sections, account, responsive
   ========================================================================== */

html:not(:has(body.admin-body)) { overflow-x: hidden; }
body:not(.admin-body) { overflow-x: hidden; }
html:has(body.admin-body),
body.admin-body { overflow-x: auto; }

.site-header .nav-link:focus,
.site-header .nav-link:focus-visible,
.site-header .dropdown-item:focus,
.site-header .dropdown-item:focus-visible,
.site-header .btn:focus,
.site-header .btn:focus-visible,
.site-header .header-search-btn:focus-visible,
.nav-account-link:focus,
.nav-account-link:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.site-header .header-search:focus-within {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.navbar-toggler {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}
.navbar-toggler-icon {
  width: 1.15rem;
  height: 2px;
  display: block;
  position: relative;
  background: var(--text);
  border-radius: 1px;
  background-image: none !important;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.navbar-toggler-icon::before { top: -6px; }
.navbar-toggler-icon::after { top: 6px; }

.nav-account-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
}
.nav-account-link:hover { color: var(--text); }

.site-header .btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
}

.capability-grid,
.why-grid,
.shot-gallery,
.pricing-teaser {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.capability-grid .card-surface,
.why-grid .card-surface,
.pricing-teaser .card-surface {
  height: 100%;
}
.capability-grid h3,
.why-grid h3 { margin-bottom: 0.4rem; }

.safety-panel { max-width: 820px; }
.safety-panel .lead { max-width: 640px; }

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.license-journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: journey;
  max-width: 760px;
}
.license-journey li {
  counter-increment: journey;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  align-items: start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.license-journey li::before {
  content: counter(journey);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
}
.license-journey strong {
  grid-column: 2;
  color: var(--text);
  font-size: 0.95rem;
}
.license-journey span {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.help-section { scroll-margin-top: 5.5rem; }

.trust-bar-list a { color: inherit; }
.trust-bar-list a:hover { color: var(--brand-blue); }

@media (min-width: 576px) {
  .pricing-teaser { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .shot-gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1200px) {
  .header-search { margin: 0 0.75rem 0 0; max-width: 14rem; }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    padding: 0.75rem 0 1.1rem;
  }
  .main-nav {
    width: 100%;
    margin: 0 !important;
    padding: 0.25rem 0 0.5rem;
  }
  .main-nav .dropdown-menu {
    position: static;
    float: none;
    min-width: 0;
    width: 100%;
    margin: 0.25rem 0 0.65rem;
    box-shadow: none;
    border: 1px solid var(--border);
  }
  .header-search {
    width: 100%;
    max-width: none;
    margin: 0.5rem 0 0.85rem;
  }
  .nav-cta {
    width: 100%;
    flex-wrap: wrap;
  }
  .nav-cta .btn {
    white-space: normal;
    text-align: center;
  }
  .nav-cta .btn-sm { flex: 1 1 auto; }
  .nav-account-link { width: 100%; }
}

@media (max-width: 1024px) {
  .container-xl { padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero-title { font-size: clamp(1.85rem, 5vw, 2.8rem); }
  .sku-card-body { padding: 1.25rem; }
  .cta-banner { padding: clamp(1.6rem, 4vw, 3rem) 1.25rem; }
  .invoice-panel { padding: 1.25rem; }
}

@media (max-width: 768px) {
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 0.75rem 1.1rem; }
  .trust-bar-list {
    justify-content: flex-start;
    gap: 0.85rem 1.25rem;
  }
  .trust-bar-list li { white-space: normal; }
  .section { padding: clamp(2.4rem, 7vw, 4rem) 0; }
  .section-tight { padding: clamp(1.6rem, 5vw, 2.6rem) 0; }
  .footer-grid > [class*="col-"] { min-width: 0; }
  .table-dark-custom th,
  .table-dark-custom td { padding: 0.7rem 0.8rem; }
  .pricing-card .price { font-size: 2rem; }
  .site-search-form { flex-direction: column; }
  .checkout-split,
  .order-summary { min-width: 0; }
}

@media (max-width: 575.98px) {
  .container-xl { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding: 2.4rem 0 1.6rem; }
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 1.02rem; margin-bottom: 1.35rem; }
  .card-surface { padding: 1.15rem; }
  .sku-card-body { padding: 1.1rem; }
  .plan-grid { grid-template-columns: 1fr; }
  .pricing-teaser,
  .why-grid,
  .shot-gallery,
  .capability-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 1.35rem; }
  .site-footer { padding: 2.5rem 0 5.5rem; margin-top: 2.5rem; }
  .site-chat-fab { right: 0.85rem; bottom: 0.85rem; }
  .site-chat-panel {
    right: 0.6rem;
    bottom: 0.6rem;
    width: calc(100vw - 1.2rem);
  }
  .back-to-top { right: 0.85rem; bottom: 5.4rem; }
  .form-control-dark { max-width: 100%; }
  .btn { white-space: normal; }
}

/* Keep page-level horizontal scroll off; tables still scroll inside. */
.table-scroll,
.admin-table-wrap {
  max-width: 100%;
}
img, svg, video { max-width: 100%; }
.product-shot, .product-shot-frame, .sku-card { min-width: 0; }
