/*
 * Product of Scalovate Systems Solutions
 * Web: www.scalovate.com
 * Email: support@scalovate.com
 */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --ink: #0b1c30;
  --ink-soft: #1a3352;
  --ink-muted: #4a5f78;
  --surface: #f8f9ff;
  --surface-raised: #ffffff;
  --surface-tint: #e5eeff;
  --surface-tint-2: #dce9ff;
  --primary: #4648d4;
  --primary-hover: #3839b8;
  --primary-light: #6063ee;
  --primary-soft: rgba(70, 72, 212, 0.08);
  --accent-teal: #0d9488;
  --accent-teal-soft: rgba(13, 148, 136, 0.1);
  --success: #10b981;
  --border: rgba(11, 28, 48, 0.1);
  --border-strong: rgba(11, 28, 48, 0.16);
  --shadow-sm: 0 1px 2px rgba(11, 28, 48, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 28, 48, 0.08);
  --shadow-lg: 0 24px 64px rgba(11, 28, 48, 0.12);
  --shadow-xl: 0 32px 80px rgba(70, 72, 212, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --container: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  background: rgba(11, 28, 48, 0.06);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ── Typography ────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.eyebrow--muted {
  color: var(--ink-muted);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-lead,
.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 56ch;
}

.hero-lead {
  margin-bottom: 32px;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-intro--center {
  text-align: center;
  margin-inline: auto;
}

.section-intro--center .section-lead {
  margin-inline: auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(70, 72, 212, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(70, 72, 212, 0.4);
  color: #fff;
}

.btn-ghost {
  background: var(--surface-raised);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--ink-muted);
  color: var(--ink);
}

.btn-on-dark {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: none;
}

.btn-on-dark:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--primary-hover);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 20px;
  transition: gap 0.2s var(--ease-out);
}

.text-link:hover {
  gap: 10px;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(248, 249, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  color: var(--primary);
  display: flex;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.6875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease-out);
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-scalovate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.link-scalovate:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: var(--surface-tint);
  border-color: var(--border-strong);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-raised);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  border-top: 1px solid var(--border);
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 16px;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: var(--surface-tint);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 28, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 48, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(70, 72, 212, 0.12);
  top: -100px;
  right: 10%;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(13, 148, 136, 0.08);
  bottom: 10%;
  left: -5%;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.proof-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  max-width: 120px;
  line-height: 1.4;
}

/* Product UI mock */
.hero-visual {
  position: relative;
}

.product-frame {
  background: var(--surface-raised);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.product-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg);
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border);
}

.product-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.product-chrome span:first-child { background: #ff5f57; }
.product-chrome span:nth-child(2) { background: #febc2e; }
.product-chrome span:nth-child(3) { background: #28c840; }

.product-url {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--ink-muted);
  font-family: ui-monospace, monospace;
}

.product-ui {
  display: grid;
  grid-template-columns: 48px 1fr 120px;
  min-height: 340px;
}

.ui-sidebar {
  background: var(--ink);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.ui-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--primary);
  margin-bottom: 8px;
}

.ui-nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ui-nav-item--active {
  background: var(--primary);
}

.ui-main {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.ui-channel {
  font-weight: 600;
  font-size: 0.875rem;
}

.ui-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
}

.ui-messages {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ui-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ui-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ui-avatar--a { background: linear-gradient(135deg, #6063ee, #4648d4); }
.ui-avatar--b { background: linear-gradient(135deg, #0d9488, #0f766e); }
.ui-avatar--ai {
  background: var(--ink);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-bubble {
  flex: 1;
}

.ui-bubble strong {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.ui-bubble p {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.ui-bubble--ai {
  background: var(--primary-soft);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.ui-composer {
  height: 44px;
  margin: 0 16px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.ui-panel {
  background: var(--surface-tint);
  padding: 12px;
  border-left: 1px solid var(--border);
}

.ui-panel-title {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.ui-panel-block {
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.ui-panel-block--short {
  height: 32px;
  width: 70%;
}

.product-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  animation: float 5s ease-in-out infinite;
}

.product-badge--1 {
  top: 8%;
  left: -8%;
  color: var(--primary);
}

.product-badge--2 {
  bottom: 12%;
  right: -6%;
  animation-delay: -2.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Trust strip ───────────────────────────────────────────── */
.trust-strip {
  padding: 32px 0;
  border-block: 1px solid var(--border);
  background: var(--surface-raised);
}

.trust-inner {
  text-align: center;
}

.trust-inner > p {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-tags li {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-problem {
  background: var(--surface-raised);
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.problem-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.problem-icon svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Comparison */
.section-compare {
  background: var(--ink);
  color: #fff;
}

.compare-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.compare-copy .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.compare-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.compare-table tbody th {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  width: 30%;
}

.compare-table tbody td {
  color: rgba(255, 255, 255, 0.55);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.col-highlight {
  background: rgba(70, 72, 212, 0.2);
  color: #fff !important;
}

/* Feature tabs */
.feature-tabs {
  margin-bottom: 48px;
}

.feature-tablist {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-tint);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  overflow-x: auto;
}

.feature-tablist button {
  flex: 1;
  min-width: max-content;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.feature-tablist button[aria-selected="true"] {
  background: var(--surface-raised);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.feature-tablist button:hover:not([aria-selected="true"]) {
  color: var(--ink);
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.feature-panel.is-active {
  display: grid;
  animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-panel-copy p {
  color: var(--ink-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-panel-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  min-height: 280px;
}

.feature-panel-visual img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  object-position: top left;
  display: block;
  background: var(--surface-tint);
}

/* Feature tab UI mocks (when screenshots unavailable) */
.mock-ui {
  background: var(--surface-raised);
}

.mock-ui-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border);
}

.mock-ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-ui-dot:nth-child(1) { background: #ff5f57; }
.mock-ui-dot:nth-child(2) { background: #febc2e; }
.mock-ui-dot:nth-child(3) { background: #28c840; }

.mock-ui-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.mock-ai-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-ai-query,
.mock-ai-response {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.mock-ai-query {
  background: var(--surface);
  align-self: flex-end;
  max-width: 85%;
}

.mock-ai-response {
  background: var(--primary-soft);
  border-color: rgba(70, 72, 212, 0.15);
  max-width: 92%;
}

.mock-ai-user,
.mock-ai-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mock-ai-user { color: var(--ink-muted); }
.mock-ai-label { color: var(--primary); }

.mock-ai-query p,
.mock-ai-response p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.mock-ai-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mock-ai-sources span {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border: 1px solid rgba(70, 72, 212, 0.2);
}

.mock-ai-scope {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-teal);
  padding: 10px 14px;
  background: var(--accent-teal-soft);
  border-radius: var(--radius-sm);
}

/* Capability row */
.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  padding: 32px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.capability-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-soft);
  color: rgba(70, 72, 212, 0.25);
  margin-bottom: 12px;
  line-height: 1;
}

.capability-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Architecture */
.section-arch {
  background: var(--surface-tint);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.arch-diagram {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.arch-layer {
  text-align: center;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
}

.arch-connector {
  width: 2px;
  height: 20px;
  background: var(--border-strong);
  margin: 0 auto;
}

.arch-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.arch-node {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(70, 72, 212, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
}

.arch-node--store {
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
  border-color: rgba(13, 148, 136, 0.2);
}

.arch-node--optional {
  background: var(--surface);
  color: var(--ink-muted);
  border-color: var(--border);
  font-weight: 500;
}

.arch-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 20px;
  font-style: italic;
}

/* Security */
.section-security {
  background: linear-gradient(165deg, var(--ink) 0%, #152a45 100%);
  color: #fff;
}

.security-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.security-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: background 0.3s, border-color 0.3s;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.security-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.security-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.security-card code {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

/* Verticals */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vertical-card {
  padding: 28px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vertical-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.vertical-card h3 {
  margin-bottom: 16px;
}

.vertical-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.vertical-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Ownership */
.section-ownership {
  background: var(--surface-raised);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.ownership-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.ownership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ownership-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ownership-icon svg {
  width: 24px;
  height: 24px;
}

.ownership-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.ownership-card > p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.ownership-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ownership-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.ownership-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.ownership-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px;
  background: linear-gradient(135deg, var(--ink) 0%, #152a45 100%);
  border-radius: var(--radius-xl);
  color: #fff;
}

.ownership-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ownership-banner-copy strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.ownership-banner-copy span {
  font-size: 0.9375rem;
  opacity: 0.75;
}

.ownership-banner .btn {
  flex-shrink: 0;
}

/* Why */
.section-why {
  background: var(--surface);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.why-list li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.why-list strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.why-list p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* CTA */
.section-cta {
  padding-bottom: 120px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #3839b8 50%, var(--ink) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.cta-copy h2 {
  margin-bottom: 12px;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  max-width: 48ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 220px;
}

.cta-actions .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-lockup--footer .brand-mark {
  color: #fff;
}

.brand-lockup--footer .brand-text strong {
  color: #fff;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid-layout,
  .compare-layout,
  .arch-layout,
  .why-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .product-frame {
    transform: none;
  }

  .product-badge--1 { left: 0; }
  .product-badge--2 { right: 0; }

  .problem-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vertical-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-panel.is-active {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: 1fr;
  }

  .ownership-grid {
    grid-template-columns: 1fr;
  }

  .ownership-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .ownership-banner .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    flex: none;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .cta-copy p {
    margin-inline: auto;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .site-nav,
  .link-scalovate {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-nav-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
    min-height: auto;
  }

  .hero-proof {
    flex-direction: column;
    gap: 20px;
  }

  .problem-grid,
  .security-grid,
  .vertical-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }

  .compare-table {
    font-size: 0.8125rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-badge {
    animation: none;
  }

  .product-frame {
    transform: none;
  }
}
