/* ============================================================
   Benchmark Budgeting — Marketing Website Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:        #0A1628;
  --navy-dark:   #060F1C;
  --navy-mid:    #112040;
  --blue:        #2979FF;
  --blue-light:  #5B8FFF;
  --blue-pale:   #E8F0FF;
  --green:       #0B9E6E;
  --green-light: #D1FAE5;
  --amber:       #F59E0B;
  --amber-light: #FEF3C7;
  --red:         #EF4444;
  --red-light:   #FEE2E2;
  --purple:      #7C3AED;
  --purple-light:#EDE9FE;

  --bg:          #F0F4FA;
  --bg-white:    #FFFFFF;
  --border:      #D6E0F0;
  --border-mid:  #B8CCDF;

  --text:        #0A1628;
  --text-mid:    #2A3A52;
  --text-muted:  #6B7FA3;
  --text-light:  #9EB0C8;

  --font-body:   'Manrope', system-ui, sans-serif;
  --font-head:   'Manrope', 'DM Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 16px rgba(10,22,40,.08), 0 1px 4px rgba(10,22,40,.05);
  --shadow-lg:   0 12px 40px rgba(10,22,40,.12), 0 4px 12px rgba(10,22,40,.07);
  --shadow-xl:   0 24px 60px rgba(10,22,40,.16);

  --transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.14s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
svg { display: block; flex-shrink: 0; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.title-lg    { font-size: clamp(1.4rem, 2.5vw, 1.875rem); }
.title-md    { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.title-sm    { font-size: 1.125rem; }
.body-lg     { font-size: 1.125rem; line-height: 1.7; }
.body-md     { font-size: 1rem; line-height: 1.65; }
.body-sm     { font-size: 0.875rem; line-height: 1.6; }
.caption     { font-size: 0.8125rem; line-height: 1.5; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.color-blue   { color: var(--blue); }
.color-green  { color: var(--green); }
.color-muted  { color: var(--text-muted); }
.color-navy   { color: var(--navy); }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: #1B65EA;
  border-color: #1B65EA;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(41,121,255,.35);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,22,40,.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-mid);
}
.btn-outline:hover {
  background: var(--bg);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: #1B65EA; }

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* ── Badges / Pills ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.badge-blue   { background: var(--blue-pale); color: var(--blue); }
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-amber  { background: var(--amber-light); color: #92400E; }
.badge-navy   { background: var(--navy); color: #fff; }
.badge-purple { background: var(--purple-light); color: var(--purple); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue-pale);
  color: var(--blue);
  margin-bottom: 16px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-sm { padding: 24px; border-radius: var(--radius); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition);
  padding: 0;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Transparent state — nav sits over the dark hero, so use white text */
.nav:not(.scrolled) .nav-logo {
  color: #fff;
}
.nav:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.8);
}
.nav:not(.scrolled) .nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav:not(.scrolled) .nav-links a.active {
  color: #fff;
}
.nav:not(.scrolled) .nav-mobile-toggle {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.nav:not(.scrolled) .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.nav:not(.scrolled) .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue) 0%, #1B65EA 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(41,121,255,.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition-fast);
}
.nav-links a:hover {
  color: var(--navy);
  background: var(--bg);
}
.nav-links a.active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-mobile-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background var(--transition-fast);
}
.nav-mobile-toggle:hover { background: var(--bg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a:last-of-type { border-bottom: none; }
.nav-mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 45%, #1A3560 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(41,121,255,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 80%, rgba(11,158,110,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { padding-right: 16px; }

.hero-pretag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(41,121,255,0.25);
  border: 1px solid rgba(91,143,255,0.4);
  color: #93C5FD;
  margin-bottom: 20px;
}
.hero-pretag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60A5FA;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: #94A3B8;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: #6B7FA3;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Dashboard Mockup ─────────────────────────────────────── */
.hero-visual {
  position: relative;
}

.mockup-frame {
  background: #0F1C2E;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition);
}
.mockup-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

.mockup-topbar {
  background: #162233;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  color: #4A6080;
  font-family: monospace;
}

.mockup-body {
  display: flex;
  min-height: 420px;
}

.mockup-sidebar {
  width: 56px;
  background: #0B1828;
  border-right: 1px solid rgba(255,255,255,.04);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.mockup-nav-item {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-nav-item.active { background: rgba(41,121,255,.3); }
.mockup-nav-item svg { opacity: 0.5; }
.mockup-nav-item.active svg { opacity: 0.9; }

.mockup-content {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.mockup-toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mockup-page-title {
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 600;
}
.mockup-actions { display: flex; gap: 6px; }
.mockup-btn {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(41,121,255,.8);
  color: #fff;
}
.mockup-btn-ghost {
  background: rgba(255,255,255,.07);
  color: #94A3B8;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mockup-stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px 12px;
}
.mockup-stat-label {
  font-size: 9px;
  color: #4A6080;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mockup-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: -0.02em;
}
.mockup-stat-val.green { color: #34D399; }
.mockup-stat-val.blue  { color: #60A5FA; }

.mockup-table-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 6px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(255,255,255,.06);
  border-bottom: none;
}
.mockup-th {
  font-size: 9px;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mockup-table-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.04);
  border-top: none;
  transition: background 0.1s;
}
.mockup-table-row:last-child { border-radius: 0 0 6px 6px; }
.mockup-table-row:hover { background: rgba(255,255,255,.03); }
.mockup-table-row.subtotal {
  background: rgba(41,121,255,.06);
  font-weight: 600;
}

.mockup-td {
  font-size: 10px;
  color: #94A3B8;
  display: flex;
  align-items: center;
}
.mockup-td.account-name {
  color: #CBD5E1;
  padding-left: 8px;
}
.mockup-td.amount { color: #94A3B8; }
.mockup-td.amount.positive { color: #34D399; }
.mockup-td.amount.highlight { color: #60A5FA; font-weight: 600; }
.mockup-td.indent { padding-left: 20px; }
.mockup-td.group-header {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 10px;
}

/* ── Floating badges on hero ──────────────────────────────── */
.hero-float-badge {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: float-badge 4s ease-in-out infinite;
}
.hero-float-badge-1 {
  bottom: -24px;
  left: -20px;
  animation-delay: 0s;
}
.hero-float-badge-2 {
  top: 40px;
  right: -24px;
  animation-delay: 1.5s;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-badge-text .label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.float-badge-text .value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Logos Strip ──────────────────────────────────────────── */
.logos-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.logos-strip-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
}
.logos-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.logo-pill:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow);
  color: var(--text);
}
.logo-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Section headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ── Features Grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-icon-blue   { background: var(--blue-pale); }
.feature-icon-green  { background: var(--green-light); }
.feature-icon-amber  { background: var(--amber-light); }
.feature-icon-purple { background: var(--purple-light); }
.feature-icon-navy   { background: #E8EDF5; }

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.feature-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Highlight Feature Sections ───────────────────────────── */
.feature-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-spotlight.reverse { direction: rtl; }
.feature-spotlight.reverse > * { direction: ltr; }

.feature-spotlight-copy {}
.feature-spotlight-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.feature-spotlight-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.feature-list-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Feature Visual Panels ────────────────────────────────── */
.panel-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.panel-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-header-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
}
.panel-header-actions { display: flex; gap: 8px; }
.panel-header-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,.1);
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,.08);
}
.panel-header-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.panel-body { padding: 20px; }

/* Labour panel mockup */
.labour-panel {}
.position-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
}
.position-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.position-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.position-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.position-amount {
  text-align: right;
}
.position-amount .total {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}
.position-amount .label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.position-segments {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.segment-item .seg-label {
  font-size: 0.6875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.segment-item .seg-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.oncost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 3px 0;
}
.oncost-row .oncost-val { font-weight: 600; color: var(--text-mid); }

/* ── AI Section ───────────────────────────────────────────── */
.ai-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1A3560 100%);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(41,121,255,.2) 0%, transparent 60%);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.ai-copy p {
  color: #94A3B8;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.ai-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(41,121,255,.3);
  border: 1px solid rgba(91,143,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-feature-text strong {
  display: block;
  color: #E2E8F0;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.ai-feature-text span {
  color: #6B7FA3;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Chat mockup */
.chat-mockup {
  background: #0F1C2E;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.chat-header {
  background: #162233;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.chat-title { font-size: 0.9rem; font-weight: 600; color: #E2E8F0; }
.chat-status { font-size: 0.75rem; color: #34D399; display: flex; align-items: center; gap: 4px; }
.chat-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chat-messages {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.chat-msg { max-width: 85%; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.assistant { align-self: flex-start; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-msg.user .chat-bubble {
  background: var(--blue);
  color: #fff;
  border-radius: 12px 12px 2px 12px;
}
.chat-msg.assistant .chat-bubble {
  background: rgba(255,255,255,.06);
  color: #CBD5E1;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px 12px 12px 2px;
}
.chat-msg.assistant .plan-preview {
  margin-top: 10px;
  background: rgba(41,121,255,.12);
  border: 1px solid rgba(41,121,255,.2);
  border-radius: 8px;
  padding: 10px 12px;
}
.plan-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 3px 0;
  color: #94A3B8;
}
.plan-row strong { color: #60A5FA; }
.chat-input-area {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: #94A3B8;
  font-family: var(--font-body);
}
.chat-send {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

/* ── Integrations ─────────────────────────────────────────── */
.integrations-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.integration-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.integration-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.integration-logo {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-head);
}

.integration-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.integration-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Security Section ─────────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.security-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.security-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--blue-pale);
}
.security-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.security-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.security-visual {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(255,255,255,.06);
}

.permission-matrix {
  width: 100%;
}
.pm-header {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 0;
  margin-bottom: 10px;
}
.pm-th {
  font-size: 0.6875rem;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}
.pm-th:first-child { text-align: left; }

.pm-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: center;
}
.pm-role {
  font-size: 0.875rem;
  color: #E2E8F0;
  font-weight: 500;
}
.pm-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.pm-check.yes { background: rgba(52,211,153,.2); color: #34D399; }
.pm-check.no  { background: rgba(255,255,255,.05); color: #334155; }
.pm-check.partial { background: rgba(245,158,11,.2); color: #F59E0B; }

.pm-legend {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #475569;
}

/* ── Deployment Section ───────────────────────────────────── */
.deployment-cards {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.deployment-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  max-width: 520px;
  width: 100%;
}
.deployment-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}
.deployment-card.featured {
  border-color: var(--blue);
  background: linear-gradient(145deg, #fff 0%, var(--blue-pale) 100%);
}
.deployment-card.featured::before {
  content: none;
}

.deployment-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.deployment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.deployment-card > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.deployment-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.deployment-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}
.testimonial-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(41,121,255,.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: #94A3B8;
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.faq-item.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}
.faq-item.open .faq-icon svg { color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
  color: #6B7FA3;
}

.footer-col h4 {
  color: #E2E8F0;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: #6B7FA3;
  transition: color var(--transition-fast);
  text-decoration: none;
}
.footer-col a:hover { color: #94A3B8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #334155;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #334155; transition: color var(--transition-fast); }
.footer-legal a:hover { color: #6B7FA3; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: #E2E8F0;
  margin-bottom: 14px;
}

/* ── Animated Counter ─────────────────────────────────────── */
.counter { font-variant-numeric: tabular-nums; }

/* ── Scroll Animations ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ── Miscellaneous ────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.arrow-icon {
  transition: transform var(--transition-fast);
}
.btn:hover .arrow-icon { transform: translateX(3px); }

/* ── bg-section ───────────────────────────────────────────── */
.bg-light { background: var(--bg); }
.bg-white { background: var(--bg-white); }
.bg-navy  { background: var(--navy); }
.bg-dark  { background: var(--navy-dark); }

/* ── Process steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--blue);
  margin: 0 auto 20px;
  font-family: var(--font-head);
  box-shadow: 0 0 0 6px var(--bg);
}
.process-step h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Misc classes ─────────────────────────────────────────── */
.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .feature-spotlight { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .feature-spotlight.reverse { direction: ltr; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-mobile-toggle { display: flex; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .section { padding: 64px 0; }
  .section-lg { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .deployment-card { max-width: 100%; }
}
