/* ============================================================
   KBilling – style.css
   Design: Swiss / Minimalist + Flat Design
   Font: Plus Jakarta Sans (Google Fonts)
   Brand: blue→green gradient (KBilling 2026 identity)
   ============================================================ */

/* ── 1. CSS Custom Properties (Design Tokens) ─────────────── */
:root {
  /* Colors */
  --color-primary:   #0F172A;
  --color-text:      #0F172A;
  --color-accent:    #2563EB;
  --color-accent-h:  #1D4ED8;
  --color-green:     #10B981;
  --color-red:       #EF4444;
  --color-amber:     #F59E0B;
  --color-bg:        #F8FAFC;
  --color-border:    #E2E8F0;
  --color-white:     #FFFFFF;
  --color-muted:     #64748B;
  --color-surface:   #FFFFFF;
  --color-surface2:  #F1F5F9;
  --color-navy:      #0B1220;

  /* Brand gradient (blue → green) */
  --brand-grad:       linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #38BDF8 100%);
  --brand-grad-hover: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 55%, #0EA5E9 100%);
  --brand-grad-ring:  0 0 0 6px rgba(37,99,235,.14);
  --brand-grad-shadow: 0 8px 20px -6px rgba(29,78,216,.5);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --lh-tight:  1.25;
  --lh-snug:   1.375;
  --lh-normal: 1.5;
  --lh-relaxed:1.625;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-extra:  800;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders */
  --radius-sm:  0.25rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgba(15,23,42,.06);
  --shadow-md:  0 4px 6px -1px rgba(15,23,42,.08),0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg:  0 10px 15px -3px rgba(15,23,42,.08),0 4px 6px -4px rgba(15,23,42,.04);
  --shadow-xl:  0 20px 25px -5px rgba(15,23,42,.08),0 8px 10px -6px rgba(15,23,42,.04);

  /* Transitions */
  --transition-fast:   150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow:   400ms ease-out;
  --transition-base:   250ms ease-out;

  /* Layout */
  --container-max: 1280px;
  --nav-h: 72px;
}

/* Dark Mode Tokens */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary:  #F1F5F9;
    --color-text:     #F1F5F9;
    --color-bg:       #0F172A;
    --color-border:   #1E293B;
    --color-surface:  #1E293B;
    --color-surface2: #0F172A;
    --color-muted:    #94A3B8;
    --color-white:    #0F172A;
    --shadow-sm:  0 1px 2px 0 rgba(0,0,0,.3);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.4),0 2px 4px -2px rgba(0,0,0,.3);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.4),0 4px 6px -4px rgba(0,0,0,.3);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3);
  }
}

/* ── 2. CSS Reset / Normalize ─────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--color-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: var(--fw-bold); line-height: var(--lh-tight); }

/* ── 3. Accessibility: Focus Visible ──────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 4. Container & Layout Helpers ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px)  { .container { padding-inline: var(--space-8); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-12); } }

.section { padding-block: var(--space-20); }
.section--alt { background-color: var(--color-surface2); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: #1D4ED8;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(56,189,248,.10));
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-extra);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.brand-grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 48ch;
  line-height: var(--lh-relaxed);
}
.section-header { text-align: center; margin-bottom: var(--space-16); }
.section-header .section-desc { margin-inline: auto; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  padding: 0.6875rem var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}
.btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(37,99,235,.6); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-outline:hover { border-color: #2563EB; color: #2563EB; background: rgba(37,99,235,.05); }
@media (prefers-color-scheme: dark) {
  .btn-outline { background: rgba(255,255,255,.04); }
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }

.btn-green {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}
.btn-green:hover { background: #1D4ED8; border-color: #1D4ED8; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(37,99,235,.6); }

.btn-lg { padding: 0.875rem var(--space-8); font-size: var(--text-lg); border-radius: var(--radius-xl); }
.btn-sm { padding: 0.4375rem var(--space-4); font-size: var(--text-sm); min-height: 36px; }

/* ── 6. Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition-fast);
}
@media (prefers-color-scheme: dark) {
  .navbar { background: rgba(15,23,42,.9); }
}
.navbar.scrolled { box-shadow: 0 10px 30px -20px rgba(15,23,42,.45); }
.navbar { position: sticky; }
.navbar > .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: var(--space-6);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.navbar__logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.navbar__logo-text {
  font-size: 1.3rem;
  font-weight: var(--fw-extra);
  color: var(--color-primary);
  letter-spacing: -.02em;
}
.navbar__nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: var(--space-2);
}
@media (min-width: 768px) { .navbar__nav { display: flex; } }

.navbar__link {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--color-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.navbar__link:hover, .navbar__link.active {
  color: var(--color-primary);
  background: rgba(37,99,235,.055);
}
.navbar__link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: #2563EB;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.navbar__cta {
  display: none;
  min-height: 40px;
  padding-inline: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 18px -10px rgba(37,99,235,.85);
}
@media (min-width: 640px) { .navbar__cta { display: inline-flex; } }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  align-items: center;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger:hover { background: var(--color-surface2); }
.hamburger__bar {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  display: block;
}
.hamburger.open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--color-surface);
  z-index: 999;
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  transition: background var(--transition-fast);
}
.mobile-menu__link:hover { background: var(--color-surface2); }
.mobile-menu__divider { height: 1px; background: var(--color-border); margin: var(--space-2) 0; }

/* ── 7. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-20), 12vw, 7rem);
  overflow: hidden;
  background: var(--color-bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230F172A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, rgba(37,99,235,.07), rgba(56,189,248,.07)), var(--color-surface);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-muted);
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero__title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
  font-weight: var(--fw-extra);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--color-primary);
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(var(--text-base), 2.5vw, var(--text-xl));
  color: var(--color-muted);
  max-width: 52ch;
  line-height: var(--lh-relaxed);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  justify-content: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  width: 100%;
  max-width: 680px;
}
.hero__stat { text-align: center; }
.hero__stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--fw-extra);
  color: var(--color-primary);
  letter-spacing: -.02em;
}
.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--fw-medium);
}

/* ── Hero Dashboard Preview ────────────────────────────────── */
.hero__dashboard {
  width: 100%;
  max-width: 1060px;
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hero__dashboard:hover {
  box-shadow: 0 35px 80px -15px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.dashboard__window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface2);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-3);
}

.dashboard__controls {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 60px;
}
.dashboard__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dashboard__dot--red { background: #EF4444; }
.dashboard__dot--yellow { background: #F59E0B; }
.dashboard__dot--green { background: #10B981; }

.dashboard__address-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-muted);
  max-width: 440px;
  width: 100%;
  justify-content: center;
}
.dashboard__address-bar strong {
  color: var(--color-primary);
  font-weight: var(--fw-semi);
}

.dashboard__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-green);
  font-weight: var(--fw-semi);
  white-space: nowrap;
}

.dashboard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface2);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.dashboard__nav-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.dashboard__nav-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.dashboard__nav-tab {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--color-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: default;
  white-space: nowrap;
}
.dashboard__nav-tab--active {
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.12));
  color: #1D4ED8;
}

.dashboard__metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface);
}

.dash-metric-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}
.dash-metric-card__label {
  font-size: 11px;
  color: var(--color-muted);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}
.dash-metric-card__val {
  font-size: var(--text-xl);
  font-weight: var(--fw-extra);
  color: var(--color-primary);
  line-height: 1.2;
}
.dash-metric-card__sub {
  font-size: 11px;
  color: var(--color-green);
  font-weight: var(--fw-medium);
  margin-top: 3px;
}

.dashboard__main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding: 0 var(--space-5) var(--space-5);
  background: var(--color-surface);
}
@media (max-width: 800px) {
  .dashboard__main-grid {
    grid-template-columns: 1fr;
  }
}

.dash-panel {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.dash-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}
.dash-panel__title {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dash-feed-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}
.dash-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dash-feed-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-feed-content {
  flex: 1;
  min-width: 0;
}
.dash-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.dash-feed-name {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.dash-feed-badge {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semi);
}
.dash-feed-badge--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green);
}
.dash-feed-badge--blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-accent);
}
.dash-feed-badge--purple {
  background: rgba(124, 58, 237, 0.15);
  color: #1D4ED8;
}
.dash-feed-desc {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.dash-client360-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-2);
}
.dash-tab-pill {
  font-size: 10px;
  font-weight: var(--fw-semi);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
}
.dash-tab-pill--active {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}

/* ── Hero Screenshot Frame & Tab Switching ─────────────────── */
.hero-screenshot-container {
  width: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.hero-screenshot-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0b1120;
}
.hero-screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hero-screenshot-frame:hover img {
  transform: scale(1.018);
}
.hero-tab-pane {
  display: none;
}
.hero-tab-pane.active {
  display: block !important;
}

.dashboard__nav-tab {
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dashboard__nav-tab:hover {
  color: var(--color-primary);
  background: var(--color-surface2);
}
.dashboard__nav-tab.active,
.dashboard__nav-tab--active {
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.12));
  color: #1D4ED8;
  font-weight: var(--fw-bold);
}

/* ── Panel Tour & Showcase Section ─────────────────────────── */
.panel-showcase {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  margin-top: var(--space-8);
}

.panel-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface2);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.panel-showcase__title-box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.panel-showcase__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.panel-showcase__tabs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  padding: 4px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.panel-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--color-muted);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.panel-tab-btn:hover {
  color: var(--color-primary);
  background: var(--color-surface2);
}
.panel-tab-btn.active {
  background: #2563EB;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.panel-showcase__body {
  padding: var(--space-6);
}

.panel-view-pane {
  display: none;
}
.panel-view-pane.active {
  display: block !important;
}

.panel-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}
.panel-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.panel-frame:hover img {
  transform: scale(1.015);
}

.panel-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.panel-hl-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.panel-hl-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.panel-hl-card__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-hl-card__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.panel-hl-card__desc {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}

/* ── 9. Features Grid ─────────────────────────────────────── */
.features-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.feature-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: #2563EB; }
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(56,189,248,.10));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: #1D4ED8;
}
.feature-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}

/* ── 10. How It Works ─────────────────────────────────────── */
.steps {
  display: grid;
  gap: var(--space-8);
  position: relative;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  position: relative;
}
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(100% + 12px);
    width: calc(100% - 52px - 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-border) 0%, var(--color-border) 100%);
    background-image: repeating-linear-gradient(90deg, var(--color-border) 0, var(--color-border) 6px, transparent 6px, transparent 12px);
  }
}
.step__num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1D4ED8, #38BDF8);
  color: #fff;
  font-weight: var(--fw-extra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--brand-grad-ring);
}
.step__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.step__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}
.step__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

/* ── 11. Comparison Table ─────────────────────────────────── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-xl); border: 1px solid var(--color-border); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 480px;
}
.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: var(--fw-medium); color: var(--color-primary); }
.compare-table thead th {
  background: var(--color-surface2);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  font-size: var(--text-base);
}
.compare-table thead th.col-kb {
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(56,189,248,.10));
  color: #1D4ED8;
  position: relative;
}
.compare-table thead th.col-kb::after {
  content: 'BEST';
  display: block;
  font-size: 0.625rem;
  letter-spacing: .08em;
  color: var(--color-green);
  font-weight: var(--fw-semi);
  margin-top: 2px;
}
.compare-table td.col-kb { background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(56,189,248,.05)); font-weight: var(--fw-medium); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--color-surface2); }
.compare-table .icon-yes { color: var(--color-green); }
.compare-table .icon-no  { color: var(--color-red); }

/* ── 12. Integrations ─────────────────────────────────────── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (min-width: 640px) { .integrations-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }
@media (min-width: 1024px) { .integrations-grid { grid-template-columns: repeat(5, 1fr); } }

.integration-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}
.integration-badge:hover {
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-color: #2563EB;
}
.integration-badge__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}
.integration-badge:hover .integration-badge__icon {
  transform: scale(1.06);
}
.integration-badge__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-align: center;
}

/* ── 13. Testimonials ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-amber);
}
.testimonial-quote {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--color-primary);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: #fff;
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ── 14. Pricing ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.pricing-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-xl); }
.pricing-card--featured {
  border-color: #2563EB;
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12), var(--shadow-xl);
  z-index: 1;
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1D4ED8, #38BDF8);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--brand-grad-shadow);
}
.pricing-card__tier {
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-card__price {
  display: flex;
  align-items: flex-end;
  gap: var(--space-1);
}
.pricing-price-val {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extra);
  color: var(--color-primary);
  letter-spacing: -.04em;
  line-height: 1;
}
.pricing-price-unit {
  font-size: var(--text-base);
  color: var(--color-muted);
  padding-bottom: var(--space-2);
}
.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-primary);
}
.pricing-feature svg { color: var(--color-green); flex-shrink: 0; margin-top: 2px; }

/* ── 15. Download CTA ─────────────────────────────────────── */
.download-section {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 420px at 10% 120%, rgba(37,99,235,.35), transparent 60%),
    linear-gradient(135deg, var(--color-primary) 0%, #0B1E3F 100%);
  color: #fff;
  text-align: center;
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.download-section__inner { position: relative; z-index: 1; }
.download-section__title {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
  font-weight: var(--fw-extra);
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -.03em;
}
.download-section__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
  line-height: var(--lh-relaxed);
}
.download-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.requirements-badges {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.req-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.85);
  font-weight: var(--fw-medium);
  backdrop-filter: blur(4px);
}

/* ── 16. FAQ Accordion ────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: #2563EB; }
.faq-item.open { border-color: #2563EB; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--color-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
  min-height: 44px;
}
.faq-question:hover { color: #1D4ED8; }
.faq-item.open .faq-question { color: #1D4ED8; }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
  color: var(--color-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #2563EB;
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}
.faq-answer-inner a { color: var(--color-accent); text-decoration: underline; }

/* ── 17. Footer ───────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0B1220 0%, var(--color-primary) 55%);
  color: rgba(255,255,255,.7);
  padding-block: var(--space-16) var(--space-10);
}
@media (prefers-color-scheme: dark) {
  .footer { background: #020817; }
}
.footer__top {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer__logo { display: flex; align-items: center; gap: var(--space-3); }
.footer__logo-text { font-size: var(--text-xl); font-weight: var(--fw-extra); color: #fff; }
.footer__tagline { font-size: var(--text-sm); line-height: var(--lh-relaxed); max-width: 30ch; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition-fast);
}
.footer__social-link:hover { background: #2563EB; border-color: #2563EB; color: #fff; }
.footer__col-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--transition-fast);
}
.footer__link:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__legal { font-size: var(--text-xs); }
.footer__legal-links { display: flex; gap: var(--space-5); flex-wrap: wrap; justify-content: center; }
.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  transition: color var(--transition-fast);
}
.footer__legal-link:hover { color: #fff; }

/* ── 18. Scroll Reveal Animations ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ── 19. Misc Utilities ───────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
.text-green { color: var(--color-green); }
.font-bold { font-weight: var(--fw-bold); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.divider {
  height: 1px;
  background: var(--color-border);
  border: none;
  margin: 0;
}

/* Product badge */
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.28);
  color: var(--color-green);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
}

/* ── 20. Page Sections unique to features.html / pricing.html */
.page-hero {
  padding-block: var(--space-20);
  background: linear-gradient(135deg, rgba(37,99,235,.07) 0%, var(--color-bg) 60%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--fw-extra);
  letter-spacing: -.03em;
  margin-bottom: var(--space-4);
}
.page-hero__desc {
  font-size: var(--text-xl);
  color: var(--color-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: var(--lh-relaxed);
}

/* Feature detail sections */
.feature-detail {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .feature-detail { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .feature-detail--reverse .feature-detail__visual { order: -1; }
}
.feature-detail__visual {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-detail__visual-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
}
.code-block {
  background: #0F172A;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  font-family: 'Fira Mono', 'Cascadia Code', monospace;
  font-size: var(--text-xs);
  color: #94A3B8;
  overflow-x: auto;
  border: 1px solid #1E293B;
  width: 100%;
}
.code-block .kw  { color: #1D4ED8; }
.code-block .str { color: #10B981; }
.code-block .num { color: #F59E0B; }
.code-block .cm  { color: #475569; }
.code-block .fn  { color: #3B82F6; }

/* Pricing comparison full table */
.pricing-compare { margin-top: var(--space-16); }
.pricing-compare .compare-wrap { border-radius: var(--radius-xl); }

/* Pricing FAQ specific layout */
.pricing-faq { max-width: 720px; margin-inline: auto; }

/* ── 21. Hero: split SaaS layout ───────────────────────────── */
.hero__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: var(--space-12);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-6);
}
.hero__copy .hero__sub { margin: 0; }
.hero__copy .hero__actions { justify-content: flex-start; }
.hero__copy .hero__stats {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  max-width: none;
  justify-content: flex-start;
  text-align: left;
}
.hero__copy .hero__stat { text-align: left; }

.hero__visual { position: relative; }
.hero__visual-glow {
  position: absolute;
  inset: -12% -10%;
  background:
    radial-gradient(420px 300px at 70% 20%, rgba(56,189,248,.18), transparent 70%),
    radial-gradient(420px 320px at 20% 80%, rgba(37,99,235,.18), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.hero__frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 32px 70px -18px rgba(15,23,42,.28), 0 0 0 1px rgba(15,23,42,.04);
}
.hero__frame img { display: block; width: 100%; height: auto; }
.hero__frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--color-surface2);
  border-bottom: 1px solid var(--color-border);
}
.hero__frame-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero__frame-address {
  margin-inline: auto;
  font-size: var(--text-xs);
  font-family: var(--font-mono, ui-monospace, monospace);
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px 14px;
}
.hero__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  box-shadow: var(--shadow-xl);
  animation: hero-float 6s ease-in-out infinite;
}
.hero__float strong { display: block; font-size: var(--text-sm); color: var(--color-primary); line-height: 1.25; }
.hero__float small { display: block; font-size: 11px; color: var(--color-muted); }
.hero__float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.12));
  color: #1D4ED8;
  flex-shrink: 0;
}
.hero__float-icon--green { color: var(--color-green); }
.hero__float--revenue { left: -28px; bottom: 18%; }
.hero__float--provision { right: -22px; top: 12%; animation-delay: -3s; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1023px) {
  .hero__split { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__copy { align-items: center; text-align: center; }
  .hero__copy .hero__sub { margin-inline: auto; }
  .hero__copy .hero__actions { justify-content: center; }
  .hero__copy .hero__stats { justify-content: center; }
  .hero__copy .hero__stat { text-align: center; }
  .hero__title { max-width: 18ch; }
  .hero__float--revenue { left: 8px; }
  .hero__float--provision { right: 8px; }
}

/* ── 22. Versus comparison (SaaS duel layout) ──────────────── */
.versus { max-width: 980px; margin-inline: auto; }
.versus__products {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.versus__product {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.versus__product--kb {
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12), var(--shadow-xl);
}
.versus__product-badge {
  position: absolute;
  top: -12px; right: 18px;
  background: #2563EB;
  color: #fff;
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  box-shadow: var(--brand-grad-shadow);
}
.versus__product-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.versus__product-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  font-weight: var(--fw-extra);
  color: var(--color-muted);
  font-size: var(--text-xl);
}
.versus__product-name { font-size: var(--text-lg); font-weight: var(--fw-extra); color: var(--color-primary); line-height: 1.2; }
.versus__product-tag { font-size: var(--text-xs); color: var(--color-muted); margin-top: 2px; }
.versus__product-price { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.versus__product-price strong { font-size: var(--text-2xl); color: var(--color-primary); font-weight: var(--fw-extra); letter-spacing: -.02em; margin-right: 4px; }
.versus__product--kb .versus__product-price strong { color: #2563EB; }

.versus__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}
.versus__row {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) 1.1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 13px 18px;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.versus__row:hover {
  border-color: rgba(37,99,235,.55);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.versus__feature { font-size: var(--text-sm); font-weight: var(--fw-semi); color: var(--color-primary); margin: 0; }
.versus__kb, .versus__wm { margin: 0; font-size: var(--text-sm); line-height: 1.45; }
.versus__kb { color: var(--color-green); font-weight: var(--fw-semi); }
.versus__wm { color: var(--color-muted); }
.versus__check { font-size: var(--text-lg); font-weight: var(--fw-extra); }
.versus__mutedok { color: var(--color-green); font-weight: var(--fw-medium); }
.versus__cta { text-align: center; }
.versus__cta-note { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 860px) {
  .versus__products { grid-template-columns: 1fr; }
  .versus__row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .versus__row:hover { transform: none; }
  .versus__wm { padding-left: 2px; }
}

/* ── 23. Mobile refinements ───────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  html { font-size: 15.5px; }
  /* Hero */
  .hero { padding-block: var(--space-12) var(--space-16); }
  .hero__title { font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: var(--space-4) var(--space-6); }
  .hero__stat-value { font-size: 1.35rem; }
  .hero__float { padding: 8px 11px; }
  .hero__float strong { font-size: 12px; }
  .hero__float small { font-size: 10px; }
  .hero__float--revenue { left: 4px; bottom: 10%; }
  .hero__float--provision { right: 4px; top: 6%; }
  .hero__frame-bar { padding: 8px 10px; }
  .hero__frame-address { font-size: 10px; padding: 2px 10px; }
  /* Buttons & sections */
  .btn { padding-inline: var(--space-5); }
  .section { padding-block: var(--space-12); }
  .section-header { margin-bottom: var(--space-10); }
  /* Comparison duel */
  .versus__product { padding: var(--space-4) var(--space-4) var(--space-4) var(--space-4); }
  .versus__product-price strong { font-size: var(--text-xl); }
  .versus__cta .btn { width: 100%; }
  /* Tables scroll cleanly */
  .compare-wrap { margin-inline: calc(var(--space-5) * -1); border-radius: 0; border-inline: 0; }
  /* Integrations grid */
  .integrations-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Code blocks */
  .code-block { font-size: 11px; }
  /* FAQ */
  .faq-question { padding: var(--space-4) var(--space-4); font-size: var(--text-sm); }
  .faq-answer-inner { padding: 0 var(--space-4) var(--space-4); }
  /* Footer */
  .footer { padding-block: var(--space-12) var(--space-8); }
  .footer__bottom { text-align: center; }
}

@media (max-width: 400px) {
  .integrations-grid { grid-template-columns: 1fr 1fr !important; }
  .hero__stats { width: 100%; }
}
@media (min-width: 641px) and (max-width: 767px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ── 21. Print Styles ──────────────────────────────────────── */
@media print {
  .navbar, .hamburger, .mobile-menu, .footer__social, .btn { display: none !important; }
  body { font-size: 12pt; background: #fff; color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #666; }
  .section { padding-block: 1rem; }
  .feature-card, .testimonial-card, .pricing-card { box-shadow: none; border: 1px solid #ccc; }
  @page { margin: 1.5cm; }
}

/* versus: WHMCS side - muted, no accent */
.versus__product--wm { opacity: .92; }
.versus__product--wm .versus__product-name { color: var(--color-muted); }

/* feature-detail content column needs no special grid styling but ensure min-width fix */
.feature-detail__content { min-width: 0; }

/* ── 24. UI polish ──────────────────────────────────────────── */
/* Feature labels on versus rows keep readable on mobile */
@media (max-width: 860px) {
  .versus__feature { color: var(--color-muted); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; }
  .versus__kb { color: var(--color-green); }
}
/* versus product cards: align badge nicely */
.versus__product { position: relative; }
/* ensure images never overflow their cards */
.panel-frame, .hero__frame, .feature-detail__visual { max-width: 100%; }
.panel-frame img, .hero__frame img { max-width: 100%; height: auto; }
/* buttons: consistent inline svg alignment */
.btn svg { flex-shrink: 0; }
/* prevent horizontal scroll globally */
html, body { overflow-x: clip; }
/* footer link colors readable in both themes */
.footer__bottom a { color: rgba(255,255,255,.65); }
.footer__bottom a:hover { color: #fff; }

/* Reveal safety: if JS is disabled, never hide content */
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__float { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── 25. Company pages ────────────────────────────────────── */
.company-hero { padding-block: clamp(84px, 10vw, 144px) clamp(64px, 8vw, 112px); }
.company-hero__inner { max-width: 900px; }
.company-hero h1 { max-width: 13ch; margin: 0 0 var(--space-6); font-size: clamp(3rem, 7vw, 5.75rem); line-height: .98; letter-spacing: -.04em; }
.company-hero p { max-width: 68ch; margin: 0; color: var(--color-muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.7; }
.company-band { border-block: 1px solid var(--color-border); background: #fff; }
.company-band__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 112px); padding-block: clamp(64px, 8vw, 112px); align-items: start; }
.company-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em; }
.company-copy { max-width: 70ch; color: var(--color-muted); font-size: 1.05rem; line-height: 1.85; }
.company-copy p { margin: 0 0 var(--space-5); }
.company-copy strong { color: var(--color-text); }
.company-principles { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.company-principles li { display: grid; grid-template-columns: minmax(150px, .65fr) 1.35fr; gap: var(--space-8); padding-block: var(--space-7); border-bottom: 1px solid var(--color-border); }
.company-principles strong { color: var(--color-text); font-size: 1rem; }
.company-principles span { color: var(--color-muted); line-height: 1.7; }
.company-proof { padding-block: clamp(72px, 9vw, 120px); }
.company-proof__frame { overflow: hidden; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 31, 53, .16); }
.company-proof__frame img { display: block; width: 100%; height: auto; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(48px, 8vw, 120px); padding-block: clamp(72px, 9vw, 120px); }
.contact-list { margin: var(--space-9) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-6); padding-block: var(--space-6); border-bottom: 1px solid var(--color-border); }
.contact-list strong { color: var(--color-text); }
.contact-list a { color: var(--color-primary); font-weight: 700; text-underline-offset: 4px; }
.contact-aside { padding: clamp(28px, 4vw, 48px); border-radius: 16px; background: var(--color-navy); color: #fff; }
.contact-aside h2 { margin: 0 0 var(--space-4); color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.025em; }
.contact-aside p { margin: 0 0 var(--space-7); color: #c8d6e8; line-height: 1.75; }
.contact-aside .btn { width: 100%; justify-content: center; }
.contact-note { margin-top: var(--space-5); color: #9fb0c7 !important; font-size: .875rem; }
@media (max-width: 780px) {
  .company-band__inner, .contact-layout { grid-template-columns: 1fr; }
  .company-principles li { grid-template-columns: 1fr; gap: var(--space-2); }
  .contact-list li { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* About: operational ownership */
.about-stage { position: relative; overflow: hidden; padding-block: clamp(76px, 10vw, 144px); background: #f8fbff; }
.about-stage::after { content: ''; position: absolute; width: 480px; height: 480px; right: -190px; top: -210px; border-radius: 50%; background: #e8f2ff; }
.about-stage__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(56px, 9vw, 128px); align-items: center; }
.about-stage__copy h1, .contact-stage__copy h1 { max-width: 11ch; margin: 0 0 var(--space-6); color: var(--color-text); font-size: clamp(3.3rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.04em; }
.about-stage__copy > p, .contact-stage__copy > p { max-width: 62ch; margin: 0; color: var(--color-muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.72; }
.about-stage__actions { display: flex; align-items: center; gap: var(--space-6); margin-top: var(--space-8); flex-wrap: wrap; }
.text-link { color: var(--color-text); font-weight: 700; text-decoration: underline; text-decoration-color: #a9c6e8; text-underline-offset: 6px; }
.text-link:hover { color: var(--color-primary); text-decoration-color: currentColor; }
.about-system { padding: 10px 0; color: var(--color-text); }
.about-system__brand { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-border); }
.about-system__brand img { border-radius: 14px; box-shadow: 0 14px 30px rgba(30, 58, 138, .18); }
.about-system__brand strong, .about-system__brand span { display: block; }
.about-system__brand strong { font-size: 1.25rem; }
.about-system__brand span { margin-top: 2px; color: var(--color-muted); font-size: .88rem; }
.about-system ul { margin: 0; padding: 0; list-style: none; }
.about-system li { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-5); padding-block: var(--space-5); border-bottom: 1px solid var(--color-border); }
.about-system li span { color: var(--color-primary); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.about-system li strong { font-size: .98rem; }
.about-manifesto { padding-block: clamp(72px, 9vw, 128px); background: var(--color-navy); color: #fff; }
.about-manifesto__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(56px, 9vw, 128px); align-items: start; }
.about-manifesto__statement { margin: 0; color: #fff; font-size: clamp(2rem, 4.2vw, 4rem); font-weight: 700; line-height: 1.14; letter-spacing: -.035em; }
.about-manifesto .company-copy { color: #b9c9dc; }
.about-manifesto .company-copy strong { color: #fff; }
.about-proof { padding-block: clamp(72px, 9vw, 124px); }
.about-proof__intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 100px); align-items: end; margin-bottom: var(--space-10); }
.about-proof__intro h2, .about-principles h2 { max-width: 16ch; margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.25rem); line-height: 1.05; letter-spacing: -.035em; }
.about-proof__intro p { margin: 0; color: var(--color-muted); font-size: 1.05rem; line-height: 1.75; }
.about-proof__figure { position: relative; overflow: hidden; margin: 0; border-radius: 16px; box-shadow: 0 30px 70px rgba(15, 31, 53, .18); }
.about-proof__figure img { display: block; width: 100%; height: auto; }
.about-proof__figure figcaption { position: absolute; left: 20px; bottom: 18px; padding: 8px 12px; border-radius: 8px; background: rgba(15, 31, 53, .92); color: #fff; font-size: .78rem; font-weight: 700; }
.about-principles { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--color-border); background: #fff; }
.about-principles h2 { margin-bottom: var(--space-9); }

/* Contact: route visitors immediately */
.contact-stage { padding-block: clamp(76px, 10vw, 144px); background: #f8fbff; }
.contact-stage__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(56px, 9vw, 128px); align-items: center; }
.contact-stage__copy .btn { margin-top: var(--space-8); }
.contact-routes { border-top: 1px solid var(--color-border); }
.contact-routes a { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 2px var(--space-6); padding: var(--space-6) 44px var(--space-6) 0; border-bottom: 1px solid var(--color-border); text-decoration: none; }
.contact-routes a::after { content: '→'; position: absolute; right: 2px; top: 50%; color: var(--color-primary); font-size: 1.4rem; transform: translateY(-50%); transition: transform .2s ease; }
.contact-routes a:hover::after { transform: translate(5px, -50%); }
.contact-routes span { grid-row: span 2; color: var(--color-primary); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-routes strong { color: var(--color-text); font-size: 1.05rem; }
.contact-routes small { color: var(--color-muted); font-size: .86rem; line-height: 1.5; }
.contact-customer { padding-block: clamp(64px, 8vw, 100px); background: var(--color-navy); color: #fff; }
.contact-customer__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.contact-customer h2 { margin: 0 0 var(--space-4); color: #fff; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.contact-customer p { max-width: 54ch; margin: 0; color: #b9c9dc; font-size: 1.03rem; line-height: 1.75; }
.contact-customer__action { padding-left: clamp(0px, 4vw, 48px); border-left: 1px solid rgba(255,255,255,.18); }
.contact-customer__action p { margin-top: var(--space-5); font-size: .88rem; }
.contact-safe { padding-block: clamp(72px, 9vw, 120px); }
.contact-safe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(52px, 9vw, 128px); align-items: start; }
.contact-safe h2 { margin: 0; font-size: clamp(2.15rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.contact-safe p { color: var(--color-muted); line-height: 1.8; }
.contact-safe__warning { margin-top: 0; color: var(--color-text) !important; font-weight: 700; }
@media (max-width: 900px) {
  .about-stage__grid, .about-manifesto__grid, .contact-stage__grid { grid-template-columns: 1fr; }
  .about-system { max-width: 620px; }
  .about-proof__intro, .contact-customer__grid, .contact-safe__grid { grid-template-columns: 1fr; }
  .contact-customer__action { padding: var(--space-7) 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 560px) {
  .about-stage__copy h1, .contact-stage__copy h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .contact-routes a { grid-template-columns: 1fr; padding-right: 34px; }
  .contact-routes span { grid-row: auto; }
}

/* Clear company-page layout */
.simple-hero { padding-block: clamp(64px, 8vw, 96px); border-bottom: 1px solid var(--color-border); background: #f8fafc; text-align: center; }
.simple-hero h1 { margin: 0 0 var(--space-4); font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.simple-hero p { max-width: 720px; margin: 0 auto; color: var(--color-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; }
.simple-section { padding-block: clamp(64px, 7vw, 96px); }
.simple-section--soft { background: #f8fafc; }
.simple-section--border { border-top: 1px solid var(--color-border); }
.simple-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 8vw, 112px); align-items: start; }
.simple-split h2, .simple-heading h2, .contact-clear h2, .customer-help h2, .privacy-note h2 { margin: 0 0 var(--space-4); font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.2; letter-spacing: -.025em; }
.simple-lead { max-width: 42ch; margin: 0; color: var(--color-muted); font-size: 1.05rem; line-height: 1.75; }
.simple-copy { max-width: 68ch; color: var(--color-muted); line-height: 1.8; }
.simple-copy p { margin: 0 0 var(--space-5); }
.simple-actions { display: flex; gap: var(--space-3); margin-top: var(--space-7); flex-wrap: wrap; }
.simple-heading { max-width: 700px; margin-bottom: var(--space-9); }
.simple-heading h2 { margin-bottom: var(--space-3); }
.simple-heading p { margin: 0; color: var(--color-muted); line-height: 1.7; }
.simple-heading--row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: var(--space-8); }
.scope-list { margin: 0; border-top: 1px solid var(--color-border); }
.scope-list > div { display: grid; grid-template-columns: minmax(150px, .55fr) 1.45fr; gap: var(--space-8); padding-block: var(--space-6); border-bottom: 1px solid var(--color-border); }
.scope-list dt { color: var(--color-text); font-weight: 750; }
.scope-list dd { margin: 0; color: var(--color-muted); line-height: 1.7; }
.simple-screenshot { overflow: hidden; margin: 0; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: 0 18px 45px rgba(15,31,53,.12); }
.simple-screenshot img { display: block; width: 100%; height: auto; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 7vw, 96px); margin: 0; padding: 0; border-top: 1px solid var(--color-border); list-style: none; }
.principle-grid li { display: grid; gap: var(--space-2); padding-block: var(--space-6); border-bottom: 1px solid var(--color-border); }
.principle-grid strong { color: var(--color-text); }
.principle-grid span { color: var(--color-muted); line-height: 1.65; }
.simple-cta { padding-block: clamp(52px, 6vw, 76px); background: var(--color-navy); color: #fff; }
.simple-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); }
.simple-cta h2 { margin: 0 0 var(--space-2); color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.simple-cta p { margin: 0; color: #b9c9dc; }
.contact-clear { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: clamp(48px, 8vw, 112px); align-items: start; }
.contact-clear .btn { margin-top: var(--space-7); }
.clear-routes { border-top: 1px solid var(--color-border); }
.clear-routes > div { padding-block: var(--space-6); border-bottom: 1px solid var(--color-border); }
.clear-routes h3 { margin: 0 0 var(--space-2); font-size: 1.05rem; }
.clear-routes p { margin: 0 0 var(--space-3); color: var(--color-muted); line-height: 1.65; }
.clear-routes a { color: var(--color-primary); font-weight: 700; text-underline-offset: 4px; }
.customer-help { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 112px); }
.customer-help p { max-width: 58ch; color: var(--color-muted); line-height: 1.75; }
.customer-help .btn { margin-top: var(--space-4); }
.customer-help h3 { margin: 0 0 var(--space-4); font-size: 1.15rem; }
.customer-help ul { margin: 0; padding-left: 1.2rem; color: var(--color-muted); line-height: 1.8; }
.privacy-note { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 112px); }
.privacy-note p { margin: 0 0 var(--space-4); color: var(--color-muted); line-height: 1.75; }
.privacy-note strong { color: var(--color-text); }
@media (max-width: 760px) {
  .simple-split, .contact-clear, .customer-help, .privacy-note { grid-template-columns: 1fr; }
  .simple-heading--row, .simple-cta__inner { align-items: flex-start; flex-direction: column; }
  .scope-list > div { grid-template-columns: 1fr; gap: var(--space-2); }
  .principle-grid { grid-template-columns: 1fr; }
}

/* Unified inner-page color system */
.page-hero,
.simple-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 92px);
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 189, 248, .22), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, .30), transparent 38%),
    linear-gradient(135deg, #071326 0%, #0F2A52 52%, #164E8A 100%);
  color: #fff;
  text-align: center;
}
.page-hero::after,
.simple-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .8), transparent);
}
.page-hero .container,
.simple-hero .container { position: relative; z-index: 1; }
.page-hero__title,
.simple-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(2, 8, 23, .18); }
.page-hero__desc,
.simple-hero p { color: #C9D9EC; }
.page-hero .section-label {
  color: #E0F2FE;
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(125, 211, 252, .30);
}
.page-hero .btn-primary { background: #2563EB; border-color: #60A5FA; color: #fff; box-shadow: 0 10px 24px rgba(2, 8, 23, .20); }
.page-hero .btn-primary:hover { background: #1D4ED8; border-color: #93C5FD; color: #fff; }
.page-hero .btn-outline { border-color: #38BDF8; color: #7DD3FC; }
.page-hero .btn-outline:hover { background: rgba(56,189,248,.12); border-color: #7DD3FC; color: #BAE6FD; }

.simple-section { background: var(--color-surface); }
.simple-section--soft {
  background: linear-gradient(180deg, #EEF6FF 0%, #F8FAFC 100%);
}
.simple-section--border { border-top-color: #D6E5F5; }
.scope-list,
.principle-grid,
.clear-routes { border-top-color: #CFE0F2; }
.scope-list > div,
.principle-grid li,
.clear-routes > div { border-bottom-color: #D6E5F5; }
.simple-cta {
  background: linear-gradient(135deg, #071326 0%, #0F2A52 58%, #164E8A 100%);
}

