/* ==========================================================================
   ApexTrader OS - High-Trust Institutional Red & White Theme
   Inspired by TradeMetria, TraderWaves & Swiss Precision Trading
   Palette: Swiss Red (#dc2626) & Clean Slate/White (#ffffff, #f8fafc)
   ========================================================================== */

:root {
  /* Core App Palette */
  --bg-deep: #f8fafc;
  --bg-app: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fff5f5;

  /* Red Accent Scale (App Match) */
  --red-primary: #dc2626;
  --red-crimson: #e11d48;
  --red-dark: #b91c1c;
  --red-light: #f87171;
  --red-bg-subtle: #fef2f2;
  --red-bg-hover: #fee2e2;
  --red-border: #fca5a5;
  --red-glow: rgba(220, 38, 38, 0.2);

  /* Functional Accents */
  --accent-emerald: #059669;
  --accent-emerald-bg: #ecfdf5;
  --accent-blue: #2563eb;
  --accent-blue-bg: #eff6ff;
  --accent-amber: #d97706;

  /* Crisp Borders */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  --border-red: #dc2626;

  /* Text Hierarchy */
  --text-pure: #0f172a;
  --text-bright: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Radii & Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-subtle: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-elevated: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
  --shadow-float: 0 12px 28px -6px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-red-glow: 0 0 24px rgba(220, 38, 38, 0.22);

  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-bright);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
  background-image: radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

body.mobile-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Utility Tokens */
.font-mono { font-family: var(--font-mono); }
.text-red { color: var(--red-primary); }
.text-emerald { color: var(--accent-emerald); }
.text-muted { color: var(--text-muted); }
.text-pure { color: var(--text-pure); }

/* Animations & Micro-Interactions */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes glowBorder {
  0%, 100% { border-color: rgba(220, 38, 38, 0.3); }
  50% { border-color: rgba(220, 38, 38, 0.8); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   1. Live Market Ticker Tape
   ========================================================================== */
.market-ticker-tape {
  background: #0f172a;
  color: #ffffff;
  padding: 7px 0;
  font-size: 11.5px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 110;
  border-bottom: 1px solid #1e293b;
}

.mtt-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: tickerSlide 45s linear infinite;
  width: max-content;
}

.mtt-inner:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tc-symbol {
  font-weight: 700;
  color: #94a3b8;
}

.tc-price {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 3px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.tc-price.tick-up {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.tc-price.tick-down {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.tc-up {
  color: #34d399;
  font-family: var(--font-mono);
  font-weight: 700;
}

.tc-live-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.8s infinite;
}

/* ==========================================================================
   2. Main Navigation Bar (Clean Swiss White Header)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: all 0.2s ease;
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  box-shadow: var(--shadow-subtle);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-pure);
  line-height: 1.1;
}

.brand-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red-primary);
  font-family: var(--font-mono);
}

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

.nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--red-primary);
}

.badge-link {
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: var(--red-primary);
  font-size: 12px;
}

.badge-link:hover {
  background: var(--red-bg-hover);
}

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

.btn-nav-login {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  background: #ffffff;
}

.btn-nav-login:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  border: 1px solid var(--red-dark);
}

.btn-nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  color: var(--text-pure);
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  border-color: var(--red-primary);
  background: #fef2f2;
}

.hamburger-box {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-pure);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-menu-btn.is-active .hamburger-bar {
  background-color: var(--red-primary);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide Mobile Drawer & Backdrop completely on Desktop */
@media (min-width: 769px) {
  .mobile-nav-backdrop,
  .mobile-nav-drawer,
  #mobile-nav-backdrop,
  #mobile-nav-drawer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mobile Slide-Over Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 max(24px, env(safe-area-inset-bottom, 24px));
  visibility: hidden;
}

.mobile-nav-drawer.is-active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc;
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mobile-drawer-close:hover {
  background: #fee2e2;
  color: var(--red-primary);
  border-color: #fca5a5;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 6px;
  flex: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.15s ease;
  min-height: 48px;
  border-left: 3px solid transparent;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:focus-visible {
  background: #f8fafc;
  color: var(--red-primary);
  border-left-color: var(--red-primary);
}

.mobile-drawer-link.active {
  background: #fef2f2;
  color: var(--red-primary);
  border-left-color: var(--red-primary);
}

.mdl-icon {
  font-size: 17px;
  flex-shrink: 0;
}

.mdl-text {
  flex: 1;
}

.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-btn-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid var(--border-medium);
  color: var(--text-pure);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  min-height: 46px;
  transition: all 0.15s ease;
}

.mobile-btn-signin:hover {
  background: #ffffff;
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.mobile-btn-deploy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: all 0.15s ease;
}

.mobile-btn-deploy:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

.mobile-drawer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  padding-top: 4px;
}

/* ==========================================================================
   3. Hero Section (High Trust, Social Proof & Floating Stat Badges)
   ========================================================================== */
.hero-section {
  padding: 72px 0 54px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% -15%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 85% 35%, rgba(220, 38, 38, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 15% 35%, rgba(37, 99, 235, 0.02) 0%, transparent 40%);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 25%, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, black 35%, transparent 75%);
  z-index: 1;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge-institutional {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 3px solid var(--red-primary);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-badge-institutional::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.12), transparent);
  transform: rotate(25deg);
  animation: badgeShimmer 4.5s infinite;
}

@keyframes badgeShimmer {
  0% { left: -60%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.badge-pulse-red {
  width: 7px;
  height: 7px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.8);
  animation: pulseDot 1.6s infinite;
}

.hero-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.gradient-text-red {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 28px;
  font-weight: 500;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.star-rating-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 15px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: var(--radius-xs);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.32), 0 2px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.42), 0 0 18px rgba(220, 38, 38, 0.25);
  color: #ffffff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-bright);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: #fffafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 600;
  flex-wrap: wrap;
}

.htr-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-bright);
}

/* Hero Showcase Frame with Ambient Backlight & Floating Proof Badges */
.hero-stage-wrap {
  position: relative;
  max-width: 1060px;
  margin: 40px auto 0;
}

.hero-stage-wrap::before {
  content: '';
  position: absolute;
  inset: 20px 40px 0 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(220, 38, 38, 0.14), transparent 70%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 14px 32px -6px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(220, 38, 38, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-badge:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 18px 40px -8px rgba(15, 23, 42, 0.18), 0 0 16px rgba(220, 38, 38, 0.15);
}

.floating-badge.left {
  top: 15%;
  left: -24px;
  animation: floatSlow 5s ease-in-out infinite;
}

.floating-badge.right {
  bottom: 12%;
  right: -24px;
  animation: floatReverse 6s ease-in-out infinite;
}

.fb-icon {
  width: 34px;
  height: 34px;
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  font-size: 16px;
}

.fb-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fb-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-pure);
}

.fb-sub {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   4. Core Capabilities & Platform Strengths Showcase
   ========================================================================== */
.capabilities-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 0 60px;
  margin: 40px 0 55px;
}

.cap-header-block {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.cap-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.cap-heading {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.cap-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.cap-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.cap-card:hover {
  border-color: var(--red-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(220, 38, 38, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
}

.cap-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cap-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.cap-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-pure);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cap-card-desc {
  font-size: 12.8px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cap-chk {
  color: var(--emerald-primary);
  font-weight: 900;
  font-size: 12px;
}

/* Compatibility Footnote Capsule */
.cap-compat-wrapper {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.cap-compat-pill-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.25s ease;
}

.cap-compat-pill-bar:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.compat-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
  flex-shrink: 0;
}

.compat-divider {
  width: 1px;
  height: 16px;
  background: var(--border-medium);
  flex-shrink: 0;
}

.compat-chips-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-pure);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.compat-chip:hover {
  border-color: var(--red-border);
  color: var(--red-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.1);
}

.chip-icon {
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 768px) {
  .cap-compat-pill-bar {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    gap: 10px;
  }
  .compat-divider {
    display: none;
  }
  .compat-lead {
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
  }
}

@media (max-width: 992px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-heading {
    font-size: 22px;
  }
}

.ecosystem-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
  margin: 40px 0 55px;
  text-align: center;
}

/* Quantitative Metrics Strip */
.metrics-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
  margin-bottom: 72px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  position: relative;
}

.metrics-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--red-primary) 50%, transparent 95%);
  opacity: 0.7;
}

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

.metric-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid var(--border-subtle);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-item:hover {
  transform: translateY(-2px);
}

.metric-item:last-child {
  border-right: none;
}

.metric-val {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   5. Alternating Zig-Zag Workstation Rows (Screenshot Left/Right)
   ========================================================================== */
.feature-showcase-wrap {
  display: flex;
  flex-direction: column;
  gap: 68px;
  padding-bottom: 80px;
}

.feature-row {
  padding: 16px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

.feature-row-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.feature-row.reverse .feature-row-inner {
  flex-direction: row-reverse;
}

/* Visual Column */
.feature-visual-col {
  flex: 1.25;
  position: relative;
}

.feature-chassis {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-chassis:hover {
  border-color: var(--red-border);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(220, 38, 38, 0.25), 0 8px 24px rgba(220, 38, 38, 0.12);
}

.chassis-top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chassis-dots {
  display: flex;
  gap: 6px;
}

.chassis-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.chassis-dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.35); }
.chassis-dot.amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.35); }
.chassis-dot.green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.35); }

.chassis-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.chassis-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.chassis-img-wrap {
  background: #f8fafc;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.chassis-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-chassis:hover .chassis-img {
  transform: scale(1.03);
}

.chassis-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-chassis:hover .chassis-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Content Column (Short, Punchy, High Trust) */
.feature-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--red-primary);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.feature-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.feature-desc {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  font-weight: 500;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  width: 100%;
}

.feature-bullet-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.feature-bullet-item:hover {
  border-color: var(--red-border);
  transform: translateX(4px);
  background: #fffafa;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

.bullet-check {
  color: var(--red-primary);
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.btn-feature-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--red-primary);
  border: 1.5px solid var(--red-border);
  font-size: 14.5px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-feature-action:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border-color: var(--red-dark);
  transform: translateY(-2px) translateX(4px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   6. High-Trust Testimonials & Social Proof Grid
   ========================================================================== */
.testimonials-section {
  padding: 65px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  content-visibility: auto;
  contain-intrinsic-size: 1px 450px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testi-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 0 16px rgba(220, 38, 38, 0.08);
}

.testi-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 15px;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 14.5px;
  color: var(--text-bright);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  background: var(--red-bg-subtle);
  border: 1.5px solid var(--red-border);
  color: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.testi-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-pure);
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-bg);
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-left: auto;
}

.testi-role {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   7. Clean Institutional Pricing Cards ($15, $120, $299 USD)
   ========================================================================== */
.pricing-section {
  padding: 70px 0 80px;
  background: var(--bg-deep);
}

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

.section-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 40px;
}

.p-toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  display: inline-block;
}

.p-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.p-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-medium);
  transition: .25s;
  border-radius: 26px;
}

.p-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: .25s;
  border-radius: 50%;
}

.p-toggle-switch input:checked + .p-toggle-slider {
  background-color: var(--red-primary);
}

.p-toggle-switch input:checked + .p-toggle-slider:before {
  transform: translateX(24px);
}

.save-badge {
  background: var(--accent-emerald-bg);
  border: 1px solid #a7f3d0;
  color: var(--accent-emerald);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-border);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 0 16px rgba(220, 38, 38, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--red-primary);
  box-shadow: 0 20px 45px -8px rgba(220, 38, 38, 0.18), 0 0 0 1px rgba(220, 38, 38, 0.2);
  background: #ffffff;
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 26px 55px -10px rgba(220, 38, 38, 0.26), 0 0 20px rgba(220, 38, 38, 0.2);
}

.pc-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  white-space: nowrap;
}

.pc-tier-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.pc-tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pc-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.pc-currency {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
}

.pc-amount {
  font-size: 46px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1;
}

.pc-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.pc-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  margin-bottom: 22px;
  transition: all 0.2s ease;
}

.pc-cta-btn.primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pc-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.42);
  color: #ffffff;
}

.pc-cta-btn.secondary {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-bright);
}

.pc-cta-btn.secondary:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.pc-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.pc-feat-item {
  font-size: 12.5px;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcf-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

.pc-instant-sla {
  margin-top: 16px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   8. Clean FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

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

.faq-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.faq-card.open {
  border-color: var(--red-border);
  background: #ffffff;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-pure);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--text-dim);
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--red-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  padding-bottom: 18px;
}

/* ==========================================================================
   9. Contact Desk Section
   ========================================================================== */
.contact-section {
  padding: 70px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-subtle);
}

.cci-icon { font-size: 22px; }

.cci-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 3px;
}

.cci-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-subtle);
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 5px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--text-pure);
  font-size: 13px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ==========================================================================
   10. Institutional Footer
   ========================================================================== */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 25px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 14px;
}

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

.footer-link {
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

/* Lightbox Modal */
.sc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sc-modal-backdrop.open { display: flex; }

.sc-modal-dialog {
  max-width: 1100px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sc-modal-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-modal-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-pure);
}

.sc-modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 20px;
  padding: 2px 6px;
}

.sc-modal-close-btn:hover { color: var(--red-primary); }

.sc-modal-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   11. Legal & Regulatory Compliance Pages
   ========================================================================== */
.legal-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0 32px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.legal-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.legal-breadcrumb a:hover {
  color: var(--red-primary);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}

.legal-badge.warning {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.legal-badge.neutral {
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.legal-badge.danger {
  color: var(--red-primary);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
}

.legal-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 32px;
}

.legal-summary-box {
  background: #f8fafc;
  border-left: 4px solid var(--red-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-bottom: 36px;
}

.legal-summary-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-summary-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-article h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.01em;
}

.legal-article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 22px 0 10px;
}

.legal-article p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-article ul, .legal-article ol {
  margin: 0 0 20px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-article li {
  margin-bottom: 8px;
}

.legal-article strong {
  color: var(--text-pure);
  font-weight: 700;
}

.compliance-callout {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

.compliance-callout.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.compliance-callout.danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.compliance-callout.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.compliance-callout strong {
  color: inherit;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.legal-table th, .legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.legal-table th {
  background: #f8fafc;
  font-weight: 800;
  color: var(--text-pure);
}

.legal-table td {
  color: var(--text-muted);
}

/* ==========================================================================
   Demo Request Page & Credentials Reveal Styling
   ========================================================================== */
.demo-page-body {
  background-color: var(--bg-deep);
  background-image: radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.demo-hero-section {
  padding: 60px 0 80px;
  text-align: center;
}

.demo-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 3px solid var(--red-primary);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.06);
}

.demo-page-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.demo-page-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 36px;
}

.demo-card-wrap {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(220, 38, 38, 0.08);
  margin-bottom: 48px;
  text-align: left;
}

.demo-input-label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.demo-input-field-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 4px 4px 4px 14px;
  transition: all 0.2s ease;
}

.demo-input-field-wrap:focus-within {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.demo-input-icon {
  font-size: 16px;
  color: var(--text-dim);
  margin-right: 8px;
  user-select: none;
}

.demo-text-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15.5px;
  color: var(--text-pure);
  background: transparent;
  padding: 10px 0;
}

.btn-demo-action {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  font-size: 14.5px;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-demo-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.42);
}

.btn-demo-action:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.demo-validation-msg {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}

.demo-validation-msg.error {
  color: var(--red-primary);
}

.demo-trust-points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.dtp-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dtp-check {
  color: var(--accent-emerald);
  font-weight: 900;
}

/* Step Box and Badges */
.demo-step-box {
  animation: fadeInBox 0.3s ease-out;
}

.demo-step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--red-primary);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

/* OTP 6-Digit Input */
.otp-input-wrap {
  max-width: 320px;
  margin: 0 auto;
}

.otp-input-field {
  width: 100%;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.3em;
  padding: 12px 16px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text-pure);
  outline: none;
  transition: all 0.2s ease;
}

.otp-input-field:focus {
  border-color: var(--red-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.otp-aux-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

.btn-resend-link {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red-primary);
  cursor: pointer;
  padding: 4px 6px;
  transition: opacity 0.2s ease;
}

.btn-resend-link:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-change-email-link {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.15s ease;
}

.btn-change-email-link:hover {
  color: var(--text-pure);
  text-decoration: underline;
}

/* Success Box */
.demo-success-box {
  animation: fadeInBox 0.35s ease-out;
}

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

.dsb-header {
  margin-bottom: 22px;
}

.dsb-badge {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid #a7f3d0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 12px;
}

.dsb-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-pure);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.dsb-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.dsb-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}

.dsb-cred-card {
  background: #f8fafc;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.dsb-cred-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dsb-cred-lbl {
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.dsb-copy-tag {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 600;
}

.dsb-cred-val-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dsb-cred-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: 0.04em;
}

.btn-copy-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-pure);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-box:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: #fffafa;
}

.btn-copy-box.copied {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border-color: #a7f3d0;
}

.dsb-privacy-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #92400e;
  line-height: 1.55;
  margin-bottom: 24px;
}

.dpn-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Features Preview Grid */
.demo-features-preview {
  margin-top: 50px;
}

.dfp-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-pure);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.dfp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
}

.dfp-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.dfp-card:hover {
  transform: translateY(-2px);
  border-color: var(--red-border);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
}

.dfp-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--red-primary);
  background: var(--red-bg-subtle);
  border: 1px solid var(--red-border);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.dfp-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.dfp-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Floating Back-to-Top Button with Institutional Scroll Progress Ring
   ========================================================================== */
.floating-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              color 0.2s ease;
  padding: 0;
  color: var(--text-bright);
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--red-border);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.24), 0 4px 10px rgba(15, 23, 42, 0.08);
  color: var(--red-primary);
}

.floating-back-to-top:active {
  transform: translateY(-1px) scale(0.96);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.18);
}

/* Circular SVG Progress Ring */
.btt-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.btt-ring-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2.5;
}

.btt-ring-progress {
  fill: none;
  stroke: var(--red-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 119.38;
  stroke-dashoffset: 119.38;
  transition: stroke-dashoffset 0.12s linear;
}

/* Arrow Icon */
.btt-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.btt-arrow-icon {
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.floating-back-to-top:hover .btt-arrow-icon {
  transform: translateY(-2px);
}

/* Subtle Floating Tooltip */
.btt-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--text-pure);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btt-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-pure);
}

.floating-back-to-top:hover .btt-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Responsive Adaptations (Mobile-First Polish for 320px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(34px, 4.5vw, 44px); }
  .floating-badge { display: none; }
  .feature-row-inner, .feature-row.reverse .feature-row-inner {
    flex-direction: column;
    gap: 28px;
  }
  .feature-row { padding: 48px 0; }
  .feature-title { font-size: 28px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Navigation & Header */
  .desktop-only { display: none !important; }
  .nav-links {
    display: none;
  }
  .nav-links.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 14px 18px 18px;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    gap: 6px;
    z-index: 9999;
    animation: slideDownMenu 0.22s ease-out forwards;
  }
  .nav-links.is-open .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-pure);
    min-height: 48px;
    transition: all 0.15s ease;
  }
  .nav-links.is-open .nav-link:hover,
  .nav-links.is-open .nav-link:active,
  .nav-links.is-open .nav-link.active {
    background: #fef2f2;
    color: var(--red-primary);
  }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .main-header { padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
  .brand-logo { gap: 10px; }
  .brand-title { font-size: 16px; }
  .logo-icon { width: 32px; height: 32px; }
  .nav-actions { gap: 8px; }

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

  /* Market Ticker Tape */
  .market-ticker-tape { padding: 5px 0; font-size: 10.5px; }
  .mtt-inner { gap: 20px; }

  /* Hero Section */
  .hero-section { padding: 36px 0 28px; }
  .hero-badge-institutional {
    font-size: 10.5px;
    padding: 5px 12px;
    margin-bottom: 16px;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }
  .hero-subtitle {
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 4px;
  }
  .hero-social-proof {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12.5px;
    margin-bottom: 22px;
  }
  .hero-social-proof .bullet-sep { display: none; }
  .hsp-rating { font-weight: 800; color: var(--text-pure); }
  .hsp-text { font-size: 12px; color: var(--text-dim); }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 22px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
    padding: 13px 20px;
  }

  .hero-trust-row {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    align-items: center;
  }
  .hero-trust-row .bullet-sep { display: none; }
  .htr-item {
    font-size: 12px;
    color: var(--text-pure);
  }

  .hero-stage-wrap {
    margin-top: 24px;
  }
  .hero-stage-wrap::before {
    inset: 10px 10px 0 10px;
    filter: blur(20px);
  }
  .chassis-top-bar {
    padding: 8px 12px;
  }
  .chassis-tag {
    font-size: 9.5px;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .chassis-status {
    font-size: 9px;
  }
  .chassis-zoom-badge {
    opacity: 0.95;
    transform: none;
    bottom: 8px;
    right: 10px;
    font-size: 9.5px;
    padding: 3px 8px;
  }

  /* Capabilities Strip */
  .capabilities-strip {
    padding: 36px 0 40px;
    margin: 24px 0 36px;
  }
  .cap-header-block {
    margin-bottom: 24px;
  }
  .cap-heading {
    font-size: clamp(20px, 5.5vw, 24px);
  }
  .cap-sub {
    font-size: 13.5px;
  }
  .cap-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cap-card {
    padding: 16px 14px;
  }
  .cap-compat-wrapper {
    margin-top: 22px;
  }
  .cap-compat-pill-bar {
    padding: 12px 14px;
    gap: 8px;
    width: 100%;
  }
  .compat-chips-group {
    gap: 6px;
  }
  .compat-chip {
    font-size: 11.5px;
    padding: 5px 9px;
  }

  /* Metrics Strip */
  .metrics-strip {
    padding: 20px 0;
    margin-bottom: 44px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }
  .metric-val {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .metric-lbl {
    font-size: 11px;
  }

  /* Workstations Showcase */
  .feature-row {
    padding: 36px 0;
  }
  .feature-kicker {
    font-size: 10.5px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .feature-title {
    font-size: clamp(21px, 5.4vw, 26px);
    margin-bottom: 10px;
  }
  .feature-desc {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .feature-bullets {
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }
  .feature-bullet-item {
    font-size: 13.5px;
    gap: 10px;
    align-items: flex-start;
  }
  .bullet-check {
    flex-shrink: 0;
    margin-top: 1px;
  }
  .btn-feature-action {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 14px;
    padding: 12px 18px;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 40px 0;
  }
  .section-title {
    font-size: clamp(22px, 5.5vw, 28px);
  }
  .section-subtitle {
    font-size: 13.5px;
    margin-bottom: 24px;
  }
  .testi-card {
    padding: 18px 16px;
  }
  .testi-quote {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .testi-author {
    flex-wrap: wrap;
    gap: 10px;
  }
  .testi-badge {
    font-size: 10px;
    padding: 3px 8px;
    margin-left: auto;
  }

  /* Pricing */
  .pricing-section {
    padding: 40px 0;
  }
  .pricing-billing-toggle {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12.5px;
    margin-bottom: 26px;
  }
  .pricing-grid-3 {
    max-width: 100%;
    gap: 18px;
  }
  .pricing-card {
    padding: 22px 18px;
  }
  .pc-tier-name {
    font-size: 19px;
  }
  .pc-tier-desc {
    font-size: 13px;
  }
  .pc-cta-btn {
    min-height: 48px;
    font-size: 14.5px;
  }
  .pc-feat-item {
    font-size: 13px;
  }

  /* FAQ Accordion */
  .faq-section {
    padding: 40px 0;
  }
  .faq-card {
    margin-bottom: 10px;
  }
  .faq-question-btn {
    padding: 14px 14px;
    font-size: 13.5px;
    min-height: 48px;
    gap: 10px;
    text-align: left;
  }
  .faq-chevron {
    font-size: 11px;
    transition: transform 0.25s ease;
  }
  .faq-card.open .faq-chevron {
    transform: rotate(180deg);
  }
  .faq-answer {
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  /* Contact Desk & Form */
  .contact-section {
    padding: 40px 0;
  }
  .contact-layout {
    gap: 20px;
  }
  .contact-card-item {
    padding: 14px 16px;
  }
  .contact-form-box {
    padding: 20px 18px;
  }
  /* Crucial for iOS: 16px font-size prevents unwanted auto-zoom */
  .form-input,
  .form-textarea,
  .checkout-input {
    font-size: 16px !important;
    padding: 12px 14px;
  }
  #landing-contact-form button[type="submit"] {
    min-height: 48px;
    font-size: 14.5px;
  }

  /* Footer */
  .main-footer {
    padding: 44px 0 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-link {
    padding: 6px 0;
    display: inline-block;
    font-size: 13.5px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 11.5px;
  }

  /* Floating Back-to-Top Mobile */
  .floating-back-to-top {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    right: 16px;
    width: 42px;
    height: 42px;
  }
  .btt-tooltip {
    display: none;
  }

  /* PayPal Checkout Modal Mobile */
  .checkout-modal-backdrop {
    padding: 12px;
  }
  .checkout-modal-card {
    max-height: 92vh;
    max-width: 100%;
    border-radius: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-header {
    padding: 20px 18px 16px;
  }
  .checkout-header h3 {
    font-size: 18px;
  }
  .checkout-body {
    padding: 18px 18px 22px;
  }
  .btn-close-modal {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 14px;
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  .brand-title {
    font-size: 15px;
  }
  .hero-title {
    font-size: 25px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==============================================================================
   PayPal Automated Checkout Modal Styling
   ============================================================================== */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.checkout-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.checkout-modal-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-backdrop.open .checkout-modal-card {
  transform: translateY(0) scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
}

.btn-close-modal:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.checkout-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.checkout-pill {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.checkout-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.checkout-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.45;
}

.checkout-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
}

.checkout-price-amount {
  font-size: 24px;
  font-weight: 900;
  color: #dc2626;
  font-family: var(--font-mono);
}

.checkout-price-cycle {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}

.checkout-body {
  padding: 24px 28px 28px;
}

.checkout-body .form-group {
  margin-bottom: 16px;
}

.checkout-body .form-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.checkout-body .form-label .req {
  color: #dc2626;
}

.checkout-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}

.checkout-input:focus {
  background: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.input-hint {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.checkout-error-msg {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.paypal-buttons-wrap {
  margin-top: 18px;
  min-height: 48px;
}


.checkout-footer-sla {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Username Preview Box */
.username-preview {
  margin-top: 8px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  animation: fadeInPreview 0.2s ease;
}

@keyframes fadeInPreview {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

.preview-label {
  color: #15803d;
  font-weight: 600;
  white-space: nowrap;
}

.preview-value {
  color: #166534;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* PayPal clarification note */
.checkout-paypal-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 11.5px;
  color: #1e40af;
  line-height: 1.5;
  margin-bottom: 6px;
}

.checkout-paypal-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: #3b82f6;
}

