:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: rgba(18, 18, 20, 0.82);
  --surface-strong: rgba(24, 24, 28, 0.96);
  --ink: #f5f5f7;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue: #0f62fe;
  --green: #198038;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 22px 60px rgba(0, 0, 0, 0.24);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: #050505;
  color: var(--ink);
}

.page-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: transparent;
  z-index: 0;
  overflow: hidden;
}

.page-gradient::before,
.page-gradient::after {
  content: "";
  display: none;
}

main,
header {
  position: relative;
  z-index: 1;
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.section-hero::before {
  display: none;
}

.site-nav {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(24, 24, 28, 0.78), rgba(12, 12, 14, 0.72));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.4s var(--ease-soft),
    background-color 0.4s var(--ease-soft),
    border-color 0.4s var(--ease-soft);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-accent {
  background: linear-gradient(180deg, #ffffff 0%, #9ebcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.value-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.value-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fb2ff;
}

.value-label-green {
  color: #7fd39a;
}

.primary-cta,
.secondary-cta,
.mode-toggle,
.stat-card,
.editorial-card,
.feature-column,
.mockup-card,
.trust-panel,
.sources-panel,
.preview-shell {
  transition:
    transform 0.6s var(--ease-soft),
    box-shadow 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft),
    background-color 0.6s var(--ease-soft);
}

.primary-cta {
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.94), rgba(15, 98, 254, 0.78));
  border: 1px solid rgba(143, 178, 255, 0.22);
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(15, 98, 254, 0.24);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px rgba(15, 98, 254, 0.28);
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.secondary-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.mode-selector,
.preview-shell,
.editorial-card,
.feature-column,
.stat-card,
.mockup-card,
.trust-panel,
.sources-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.86), rgba(18, 18, 22, 0.78));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mode-selector {
  background:
    linear-gradient(180deg, rgba(22, 22, 26, 0.9), rgba(14, 14, 18, 0.86));
}

.tab-indicator {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(15, 98, 254, 0.1), rgba(25, 128, 56, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.55s var(--ease-soft);
}

.mode-toggle {
  color: rgba(245, 245, 247, 0.72);
}

.mode-toggle[aria-pressed="true"] {
  color: var(--ink);
}

.preview-panel {
  background:
    linear-gradient(180deg, rgba(20, 20, 24, 0.96), rgba(14, 14, 18, 0.92));
  box-shadow: var(--shadow-soft);
}

.preview-panel.is-switching {
  opacity: 0.72;
  transform: translateY(4px);
}

.preview-main,
.preview-side,
.metric-card,
.mini-card,
.issue-item,
.feature-item,
.device-frame,
.insight-card,
.final-cta-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.preview-main,
.preview-side,
.device-frame {
  background:
    linear-gradient(180deg, rgba(24, 24, 28, 0.96), rgba(16, 16, 20, 0.92));
}

.insight-card {
  background:
    linear-gradient(180deg, rgba(24, 24, 28, 0.96), rgba(16, 16, 20, 0.94)),
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.12), transparent 42%),
    radial-gradient(circle at bottom right, rgba(25, 128, 56, 0.09), transparent 34%);
}

.progress-track {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.7s var(--ease-soft);
}

.progress-blue {
  background: linear-gradient(90deg, #0f62fe, #5f96ff);
}

.progress-green {
  background: linear-gradient(90deg, #198038, #38a85b);
}

.progress-gray {
  background: linear-gradient(90deg, #5f6368, #8a8f98);
}

.label-blue,
.label-green,
.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label-blue,
.section-kicker {
  color: #8fb2ff;
}

.label-green {
  color: #6fca89;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.section-copy {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

[data-mode-surface].is-active {
  border-color: rgba(15, 98, 254, 0.22);
  background:
    linear-gradient(180deg, rgba(26, 26, 30, 0.98), rgba(18, 18, 22, 0.94)),
    linear-gradient(180deg, rgba(15, 98, 254, 0.08), transparent 72%);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

[data-mode-surface="business"].is-active {
  background:
    linear-gradient(180deg, rgba(26, 26, 30, 0.98), rgba(18, 18, 22, 0.94)),
    linear-gradient(180deg, rgba(25, 128, 56, 0.08), transparent 72%);
}

.stat-card:hover,
.editorial-card:hover,
.feature-column:hover,
.mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.28);
}

.feature-item:hover,
.issue-item:hover {
  transform: translateX(3px);
}

.final-cta {
  background:
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(25, 128, 56, 0.16), transparent 26%),
    linear-gradient(180deg, #0f1114 0%, #17181d 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.final-cta-button {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  color: #0f1114 !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.final-cta-button:hover {
  transform: translateY(-2px);
}

.source-link {
  color: #8fb2ff;
  text-decoration: underline;
  text-decoration-color: rgba(143, 178, 255, 0.3);
  text-underline-offset: 3px;
}

.source-link:hover {
  color: #c6d7ff;
}

.bg-brand-paper {
  background-color: #0a0a0a !important;
}

.text-brand-ink,
.text-slate-700 {
  color: #f5f5f7 !important;
}

.text-brand-muted {
  color: #a1a1aa !important;
}

.border-brand-line {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-brand-ink {
  background-color: #111111 !important;
}

.bg-white {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.bg-white\/70 {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

.text-white {
  color: #ffffff !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s var(--ease-soft),
    transform 0.72s var(--ease-soft);
  will-change: opacity, transform;
}

.reveal[data-reveal="left"] {
  transform: translateX(-20px);
}

.reveal[data-reveal="right"] {
  transform: translateX(20px);
}

.reveal[data-reveal="scale"] {
  transform: translateY(14px) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 767px) {
  .section-title {
    letter-spacing: -0.04em;
  }

  .site-nav {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
