/* ==========================================================================
   STOODENT — MODERN SCHOOL ACCOUNTS & ERP LANDING PAGE
   Design System & Premium Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  /* Brand Core Colors (From Qampuz Codebase) */
  --brand-blue: #0061FF;
  --brand-blue-light: #0195F3;
  --brand-blue-deep: #0047BA;
  --brand-blue-glow: rgba(0, 97, 255, 0.18);
  --brand-blue-subtle: rgba(0, 97, 255, 0.06);

  --brand-green: #03C790;
  --brand-green-light: #03D78F;
  --brand-green-deep: #02946A;
  --brand-green-glow: rgba(3, 199, 144, 0.2);
  --brand-green-subtle: rgba(3, 199, 144, 0.08);

  --brand-cyan: #07C7D6;
  --brand-cyan-light: #02ADF8;
  --saffron: #E08A00;
  --saffron-light: #FF9E1B;
  --saffron-subtle: rgba(224, 138, 0, 0.08);

  /* Neutrals & Surfaces */
  --ink: #16233A;
  --ink-deep: #0B1322;
  --ink-mid: #24354F;
  --ink-soft: #46587A;
  --muted: #6B7A90;
  --muted-light: #94A3B8;

  --paper: #FBFAF7;
  --paper-sunk: #F4F3EE;
  --white: #FFFFFF;
  --rule: #E2E7EF;
  --rule-light: #EEF2F6;

  /* Semantic */
  --credit: #0F7B5F;
  --debit: #B3261E;
  --badge-bg: #E6F8F3;
  --badge-text: #027A57;

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(16, 24, 40, 0.08), 0 4px 10px -2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, 0.14), 0 8px 18px -4px rgba(16, 24, 40, 0.06);
  --shadow-xl: 0 32px 64px -16px rgba(11, 19, 34, 0.22);
  --shadow-glow: 0 0 40px rgba(0, 97, 255, 0.15), 0 0 60px rgba(3, 199, 144, 0.12);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-norm: 260ms;
  --duration-slow: 450ms;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Max Widths */
  --container-max: 1240px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Selection */
::selection {
  background: var(--brand-blue);
  color: var(--white);
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Framework */
section {
  position: relative;
  padding: 96px 0;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  border: 1px solid rgba(0, 97, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ink-deep);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 400;
}

/* Typography Accents */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 50%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFB703 0%, #FD8508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all var(--duration-norm) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0052D9 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 97, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 97, 255, 0.45);
  color: var(--white);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-deep);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--paper-sunk);
  border-color: var(--muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: var(--white);
  color: var(--brand-blue-deep);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #FAFAFA;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-pill-small {
  padding: 8px 18px;
  font-size: 0.84rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--duration-norm) var(--ease-smooth);
  padding: 20px 0;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 231, 239, 0.8);
  box-shadow: 0 4px 20px rgba(11, 19, 34, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  transition: transform var(--duration-fast);
}

.brand-logo:hover .brand-mark {
  transform: rotate(10deg) scale(1.05);
}

.brand-wordmark {
  height: 22px;
  color: var(--ink-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: var(--radius-full);
  transition: width var(--duration-fast) ease;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-phone:hover {
  color: var(--brand-blue);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  transition: all var(--duration-fast) ease;
}

/* Mobile Drawer Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  box-shadow: var(--shadow-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--duration-norm) var(--ease-smooth);
}

.mobile-menu.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 34, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast);
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink-soft);
  border-radius: var(--radius-full);
  background: var(--paper-sunk);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-mid);
  display: block;
  padding: 6px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 10%, rgba(3, 199, 144, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 15% 35%, rgba(0, 97, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 50% 90%, rgba(7, 199, 214, 0.07) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue-deep);
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.08) 0%, rgba(3, 199, 144, 0.12) 100%);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 97, 255, 0.18);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(3, 199, 144, 0.3);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 199, 144, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(3, 199, 144, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 199, 144, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  margin-bottom: 22px;
}

.hero-description {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.proof-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--rule);
}

/* Hero Visual / Dashboard Preview */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-mockup-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s var(--ease-smooth);
}

.hero-mockup-wrap:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}

/* Floating Badges on Hero Mockup */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 30px;
  left: -25px;
  animation-delay: 2s;
}

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

.card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.card-icon-blue {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
}

.card-icon-green {
  background: var(--brand-green-subtle);
  color: var(--brand-green-deep);
}

.card-text-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-text-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-deep);
}

/* ==========================================================================
   TRUSTED BY SECTION (LOGO MARQUEE)
   ========================================================================== */
.trust-section {
  padding: 44px 0 60px 0;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  background: var(--white);
  overflow: hidden;
}

.trust-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 30px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee-scroll 32s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.school-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-mid);
  transition: all var(--duration-fast);
}

.school-logo-pill:hover {
  background: var(--white);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.school-logo-pill .badge-icon {
  font-size: 1.15rem;
}

/* ==========================================================================
   PAIN POINTS & SOLUTIONS
   ========================================================================== */
.problems-section {
  background: var(--paper);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: all var(--duration-norm) var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 97, 255, 0.3);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 97, 255, 0.08);
}

.problem-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--paper-sunk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: transform var(--duration-fast);
}

.problem-card:hover .problem-icon-wrap {
  transform: scale(1.1);
  background: var(--brand-blue-subtle);
}

.pain-header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--debit);
  line-height: 1.35;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pain-quote {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.4;
}

.solution-box {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
}

.solution-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--credit);
  margin-bottom: 8px;
}

.solution-text {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   ACCOUNTS FEATURES (TABBED SYSTEM)
   ========================================================================== */
.features-section {
  background: var(--white);
  border-top: 1px solid var(--rule-light);
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tab-nav {
  display: inline-flex;
  background: var(--paper-sunk);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--rule);
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--ink-deep);
}

.tab-btn.active {
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.tab-btn .tab-icon {
  font-size: 1rem;
}

.tab-pane {
  display: none;
  animation: fadeInTab 0.35s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.feature-info-pane h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-deep);
  line-height: 1.25;
  margin-bottom: 16px;
}

.feature-info-pane p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.6;
}

.feature-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-mid);
  font-weight: 500;
}

.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature Preview Interactive Card */
.feature-preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-card-header {
  background: var(--ink-deep);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-dot-group {
  display: flex;
  gap: 6px;
}

.dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.preview-card-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.preview-card-body {
  padding: 24px;
}

.live-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.mini-metric-box {
  background: var(--paper-sunk);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-light);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.metric-val.green {
  color: var(--credit);
}

.metric-val.blue {
  color: var(--brand-blue);
}

.metric-val.gold {
  color: var(--saffron);
}

/* Mini Ledger Table */
.mini-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.mini-ledger-table th {
  text-align: left;
  padding: 8px 10px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}

.mini-ledger-table td {
  padding: 10px;
  border-bottom: 1px solid var(--rule-light);
  color: var(--ink-mid);
}

.badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.status-paid { background: #DCFCE7; color: #166534; }
.status-pending { background: #FEF3C7; color: #92400E; }
.status-approved { background: #E0E7FF; color: #3730A3; }

/* ==========================================================================
   ERP MODULES BENTO GRID
   ========================================================================== */
.erp-section {
  background: var(--paper-sunk);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-norm) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue-light);
  box-shadow: var(--shadow-lg);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.highlight {
  background: linear-gradient(145deg, var(--white) 0%, rgba(240, 246, 255, 0.7) 100%);
  border-color: rgba(0, 97, 255, 0.25);
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--paper-sunk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: transform var(--duration-fast);
}

.bento-card:hover .bento-icon-box {
  transform: scale(1.1);
  background: var(--brand-blue-subtle);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.bento-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
}

/* ==========================================================================
   HOW IT WORKS (3 STEPS)
   ========================================================================== */
.steps-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--rule) 0, var(--rule) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
}

.step-num-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--paper);
  transition: all var(--duration-fast);
}

.step-card:hover .step-num-bubble {
  background: var(--brand-blue);
  color: var(--white);
  transform: scale(1.08);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   DASHBOARD SPOTLIGHT
   ========================================================================== */
.spotlight-section {
  background: var(--ink-deep);
  color: var(--white);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.spotlight-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 97, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.spotlight-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.spotlight-header .section-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--brand-cyan);
}

.spotlight-header .section-title {
  color: var(--white);
}

.spotlight-header .section-subtitle {
  color: var(--muted-light);
}

.spotlight-display {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 97, 255, 0.2);
}

.spotlight-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

/* Feature Callout Pills on Spotlight */
.spotlight-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 40px auto 0 auto;
}

.spotlight-callout-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: all var(--duration-fast);
}

.spotlight-callout-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-cyan);
  transform: translateY(-4px);
}

.callout-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-desc {
  font-size: 0.86rem;
  color: var(--muted-light);
  line-height: 1.5;
}

/* ==========================================================================
   STATS SECTION (COUNTERS)
   ========================================================================== */
.stats-section {
  background: linear-gradient(180deg, var(--ink-deep) 0%, #0F192B 100%);
  color: var(--white);
  padding: 80px 0 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-cyan) 60%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted-light);
  font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--paper);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-norm) var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 97, 255, 0.3);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-light);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.author-role {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ==========================================================================
   PRICING SECTION (FROM ACTUAL CODEBASE TIERS)
   ========================================================================== */
.pricing-section {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration-norm) var(--ease-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 97, 255, 0.12);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(0, 97, 255, 0.35);
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(0, 97, 255, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(0, 97, 255, 0.65); }
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink-deep);
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.plan-capacity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--paper-sunk);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.plan-price-box {
  margin: 20px 0 28px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.plan-price-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.plan-price-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-mid);
}

.plan-feature-item.highlight-feat {
  font-weight: 600;
  color: var(--ink-deep);
}

.plan-check {
  color: var(--credit);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-footer-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.plan-footer-note strong {
  color: var(--ink-deep);
}

/* ==========================================================================
   ROLE-BASED ACCESS CONTROL SECTION
   ========================================================================== */
.roles-section {
  background: var(--paper-sunk);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--duration-fast);
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-blue-deep);
  background: var(--brand-blue-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.role-scope {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.custom-roles-banner {
  background: linear-gradient(135deg, var(--white) 0%, #EFF6FF 100%);
  border: 1px dashed var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.custom-roles-text h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 4px;
}

.custom-roles-text p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: all var(--duration-fast);
  overflow: hidden;
}

.faq-item.active {
  background: var(--white);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-sunk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: transform var(--duration-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--brand-blue);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
}

.faq-answer-inner {
  padding: 0 26px 24px 26px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-section {
  background: var(--paper);
  padding: 60px 0 96px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #0052D9 0%, var(--brand-blue) 45%, var(--brand-green-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(0, 97, 255, 0.25);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-banner-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-deep);
  color: var(--white);
  padding: 80px 0 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .brand-wordmark {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.6;
  margin: 18px 0 24px 0;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--duration-fast);
}

.footer-social-btn:hover {
  background: var(--brand-blue);
  transform: translateY(-2px);
}

.footer-column h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.9rem;
  color: var(--muted-light);
  transition: color var(--duration-fast);
}

.footer-link-item a:hover {
  color: var(--brand-cyan);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM CTA
   ========================================================================== */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 20px;
  border-top: 1px solid var(--rule);
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.mobile-bottom-cta .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .mobile-bottom-cta {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}

/* ==========================================================================
   LEAD CAPTURE MODAL (BOOK A DEMO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 34, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-norm) ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-norm) var(--ease-smooth);
}

.modal-overlay.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-sunk);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--duration-fast);
}

.modal-close-btn:hover {
  background: var(--rule);
  color: var(--ink-deep);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink-deep);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-mid);
}

.form-input, .form-select {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--duration-fast);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit-btn {
  margin-top: 8px;
  width: 100%;
}

.modal-success-state {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
  will-change: opacity, transform;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-mockup-wrap {
    transform: none;
    max-width: 780px;
    margin: 0 auto;
  }

  .floating-card-1 { right: 10px; }
  .floating-card-2 { left: 10px; }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 2;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .feature-split-layout {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .spotlight-callouts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .hero-social-proof {
    flex-direction: column;
    gap: 16px;
  }

  .proof-divider {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .custom-roles-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-box {
    padding: 48px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-window {
    padding: 28px 20px;
  }
}
