/* ==========================================================================
   IBLM Sovereign Platform: Reimagined Fintech & AI Theme
   Engineered for Indian Scheduled Commercial Banks, NBFCs & Fintechs
   Aesthetic: Deep Space Slate, Neural Quantum Grid, High-Trust Emerald/Cyan
   ========================================================================== */

:root {
  /* Color Palette: Fintech Dark Obsidian & Quantum Neural Cyan/Emerald */
  --bg-primary: #030712;        /* Ultra-deep obsidian slate */
  --bg-secondary: #0a0f1d;      /* Raised card surface */
  --bg-surface-elevated: #111827;
  --bg-glass: rgba(10, 15, 29, 0.75);
  --bg-glass-card: rgba(15, 23, 42, 0.65);
  --bg-input: #040814;
  
  --border-subtle: rgba(30, 41, 59, 0.7);
  --border-highlight: rgba(45, 212, 191, 0.35);
  --border-glow: rgba(20, 184, 166, 0.45);
  --border-cyan: rgba(6, 182, 212, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-teal: #14b8a6;
  --accent-teal-hover: #2dd4bf;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #f59e0b;
  --accent-indigo: #6366f1;
  --accent-rose: #f43f5e;
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

/* --------------------------------------------------------------------------
   Fintech & AI Animated Background Canvas
   -------------------------------------------------------------------------- */
.fintech-ai-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Ambient Radial Orbs behind Canvas */
.ambient-glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
  animation: orbDrift 20s ease-in-out infinite alternate;
}

.glow-orb-1 {
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45) 0%, rgba(3, 7, 18, 0) 70%);
}

.glow-orb-2 {
  top: 35%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(3, 7, 18, 0) 70%);
  animation-duration: 25s;
}

.glow-orb-3 {
  bottom: 10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(3, 7, 18, 0) 70%);
  animation-duration: 22s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  color: var(--text-secondary);
}

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

code, pre {
  font-family: var(--font-mono);
}

/* Container & Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* --------------------------------------------------------------------------
   Site Header (Top Bar Contract: 3 Zones)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.875rem 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.05em;
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.15s ease, text-shadow 0.15s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(45, 212, 191, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .header-actions .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   Live AI Banking Ticker Strip
   -------------------------------------------------------------------------- */
.live-intel-ticker {
  background: rgba(10, 15, 29, 0.9);
  border-bottom: 1px solid rgba(30, 41, 59, 0.6);
  padding: 0.4rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
  z-index: 40;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 2rem;
  animation: tickerSlide 38s linear infinite;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-badge {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
}

.ticker-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ticker-badge-teal {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.ticker-badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.ticker-sep {
  color: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Buttons (Refined Fintech Hierarchy)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #020617;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 16px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.45);
}

.btn-secondary {
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: #1e293b;
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

/* Clean Unboxed Metadata Separators */
.meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-separator {
  color: var(--border-highlight);
}

/* --------------------------------------------------------------------------
   Hero Section: Reimagined Fintech Split Layout
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3rem;
  }
}

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

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, #f8fafc 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #2dd4bf 0%, #06b6d4 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.075rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Right-Column: Live Sovereign AI Core Hologram Showcase */
.hero-visual-card {
  position: relative;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-highlight);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(20, 184, 166, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 40px rgba(45, 212, 191, 0.25);
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.hero-window-dots {
  display: flex;
  gap: 0.35rem;
}

.hero-window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.hero-window-dot:nth-child(1) { background: #f43f5e; }
.hero-window-dot:nth-child(2) { background: #f59e0b; }
.hero-window-dot:nth-child(3) { background: #10b981; }

.hero-visual-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #020617;
}

@media (min-width: 640px) {
  .hero-visual-img-wrap {
    height: 280px;
  }
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: scale 0.5s ease;
}

.hero-visual-card:hover .hero-visual-img {
  scale: 1.02;
}

/* Scrim over image */
.hero-visual-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.2) 0%, rgba(3, 7, 18, 0.85) 90%, rgba(3, 7, 18, 1) 100%);
  pointer-events: none;
}

/* HUD Overlay on image */
.hero-hud-telemetry {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-teal);
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 0.4rem;
  padding: 0.4rem 0.75rem;
  backdrop-filter: blur(8px);
}

.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #10b981;
}

/* Live Simulation Stream in Hero Card */
.hero-stream-console {
  padding: 1rem;
  background: #030712;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.stream-raw-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 0.4rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  word-break: break-all;
}

.stream-raw-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stream-raw-text {
  color: #f1f5f9;
}

.stream-parsed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.stream-parsed-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 0.35rem;
  padding: 0.45rem 0.6rem;
}

.stream-item-key {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.stream-item-val {
  font-weight: 600;
  color: #2dd4bf;
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Institutional Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 15, 29, 0.5);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 10;
}

.trust-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.trust-item:hover {
  color: #fff;
  border-color: var(--border-highlight);
  background: rgba(20, 184, 166, 0.08);
}

.trust-item svg {
  color: var(--accent-teal);
}

/* --------------------------------------------------------------------------
   Interactive AI Sandbox Section
   -------------------------------------------------------------------------- */
.sandbox-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.sandbox-card {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-highlight);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(20, 184, 166, 0.12);
  backdrop-filter: blur(12px);
}

.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.sandbox-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sample-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.sample-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sample-btn:hover {
  border-color: var(--border-highlight);
  color: var(--text-primary);
}

.sample-btn.active {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--accent-teal);
  color: var(--accent-teal-hover);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .sandbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sandbox-box {
  background-color: #030712;
  border: 1px solid var(--border-subtle);
  border-radius: 0.625rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sandbox-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background-color: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.sandbox-input {
  width: 100%;
  height: 220px;
  background-color: transparent;
  border: none;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  resize: none;
  outline: none;
}

.sandbox-input:focus {
  background-color: rgba(15, 23, 42, 0.25);
}

.sandbox-output {
  height: 220px;
  padding: 1rem;
  margin: 0;
  overflow-y: auto;
  color: #2dd4bf;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  background-color: transparent;
}

/* --------------------------------------------------------------------------
   Core Capabilities Bento Grid Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

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

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 0.875rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(20, 184, 166, 0.15);
}

.feature-icon-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.feature-stat strong {
  color: var(--accent-teal);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   DPDP & RBI Compliance Section
   -------------------------------------------------------------------------- */
.compliance-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compliance-card {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 0.875rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.compliance-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.12);
}

.compliance-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

.compliance-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.compliance-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.compliance-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.compliance-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}

.compliance-stat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-highlight {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

.compliance-cta-box {
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid var(--border-highlight);
  border-radius: 0.875rem;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .compliance-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.compliance-cta-info {
  max-width: 640px;
}

.compliance-cta-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.compliance-cta-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compliance-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Benchmark Comparison Section
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.comparison-table-wrapper {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 0.875rem;
  overflow-x: auto;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.comparison-table th {
  padding: 1.125rem 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display);
}

.comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(15, 23, 42, 0.5);
}

.status-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-pass {
  color: var(--accent-emerald);
}

.status-fail {
  color: var(--accent-rose);
}

/* --------------------------------------------------------------------------
   Interactive Institutional Impact ROI Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.calculator-card {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

@media (min-width: 900px) {
  .calculator-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.calc-control-group {
  margin-bottom: 1.75rem;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.calc-val {
  font-family: var(--font-mono);
  color: var(--accent-teal);
  font-size: 1rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--accent-teal);
  cursor: pointer;
  background: #1e293b;
  border-radius: 0.25rem;
  height: 6px;
}

.calc-result-box {
  background-color: #030712;
  border: 1px solid var(--border-highlight);
  border-radius: 0.875rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.12);
}

.calc-stat {
  margin-bottom: 1.5rem;
}

.calc-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.calc-stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Enterprise Onboarding Section (#demo)
   -------------------------------------------------------------------------- */
.demo-section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 10;
}

.form-wrapper {
  max-width: 740px;
  margin: 0 auto;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-input, .form-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: all 0.15s ease;
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25);
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

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

.faq-item {
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
  backdrop-filter: blur(8px);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--accent-teal);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: rgba(3, 7, 18, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Modals (Compliance & Confirmation)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: 1rem;
  max-width: 580px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 36px rgba(20, 184, 166, 0.2);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: #fff;
}

.modal-content-lg {
  max-width: 820px !important;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .modal-stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.modal-stat-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.modal-stat-val {
  font-size: 0.95rem;
  font-weight: 700;
}

.modal-stat-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.text-emerald { color: var(--accent-emerald) !important; }
.text-teal { color: var(--accent-teal) !important; }
.text-amber { color: var(--accent-amber) !important; }

.table-responsive {
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background-color: var(--bg-primary);
}

.compliance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: left;
}

.compliance-table th {
  padding: 0.6rem 0.75rem;
  background-color: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
}

.compliance-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.4;
}

.compliance-table tr:last-child td {
  border-bottom: none;
}

.badge-compliant {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.compliance-proof-box {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background-color: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
}

.proof-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #fff;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .glow-orb, .ticker-track, .btn, .feature-card, .compliance-card, .hero-visual-card {
    animation: none !important;
    transition: none !important;
  }
}
