/* ==========================================================================
   DrainTrace - Independent FOG Compliance Records
   Premium UK B2B SaaS Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #070C18;
  --bg-secondary: #0D1527;
  --bg-tertiary: #131E35;
  --bg-card: rgba(19, 31, 55, 0.75);
  --bg-card-hover: rgba(26, 42, 74, 0.85);
  --bg-card-solid: #111B30;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-focus: #10B981;

  /* Brand Accents */
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-soft-bg: rgba(16, 185, 129, 0.12);

  --teal-500: #06B6D4;
  --teal-400: #22D3EE;
  --teal-soft-bg: rgba(6, 182, 212, 0.12);

  --blue-accent: #3B82F6;
  --amber-accent: #F59E0B;
  --red-accent: #EF4444;

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-inverse: #070C18;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px -5px rgba(16, 185, 129, 0.3);

  /* Layout */
  --container-max-w: 1240px;
  --header-height: 76px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

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

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

ul {
  list-style: none;
}

img, svg {
  vertical-align: middle;
}

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

/* --------------------------------------------------------------------------
   3. Common Layout & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
  position: relative;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-500);
  color: var(--emerald-400);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
}

.btn-full {
  width: 100%;
}

.shadow-pulse {
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0% {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.55);
  }
  100% {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  }
}

/* --------------------------------------------------------------------------
   5. Site Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 12, 24, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: var(--container-max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

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

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-mark {
  transform: scale(1.05);
  border-color: var(--emerald-400);
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: block;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-400);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-bar {
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 12, 24, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  z-index: 999;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer-cta {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
}

.hero-bg-glow-2 {
  top: 30%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(19, 31, 55, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(16, 185, 129, 0.15);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  animation: pulseDot 2s infinite;
}

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

.pill-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pill-sep {
  color: var(--text-dim);
}

.pill-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 60%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-break {
  display: none;
}

@media (min-width: 900px) {
  .desktop-break {
    display: inline;
  }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: #CBD5E1;
}

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

.hero-pillars-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  padding: 0.75rem 1.5rem;
  background: rgba(19, 31, 55, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   7. HERO SAAS DASHBOARD ILLUSTRATION
   -------------------------------------------------------------------------- */
.hero-dashboard-wrapper {
  max-width: 1140px;
  margin: 0 auto 4.5rem;
  text-align: left;
}

.dashboard-window {
  background: #0B132B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(16, 185, 129, 0.12);
  overflow: hidden;
}

.window-topbar {
  background: #0F1A35;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-url-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(7, 12, 24, 0.6);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  flex-grow: 1;
  max-width: 480px;
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: auto;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 6px var(--emerald-400);
}

.dashboard-view-switcher {
  display: flex;
  align-items: center;
  background: rgba(7, 12, 24, 0.8);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-btn.active {
  color: #FFFFFF;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Dashboard Panels */
.dashboard-content-panel {
  display: none;
  padding: 1.5rem;
}

.dashboard-content-panel.active {
  display: block;
}

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

@media (min-width: 992px) {
  .dash-inner-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidebar */
.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-profile-snippet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(19, 31, 55, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
}

.org-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.org-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

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

.dash-metric-card {
  padding: 1rem;
  background: rgba(19, 31, 55, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
}

.dash-metric-card.highlight {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(19, 31, 55, 0.6) 100%);
}

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

.metric-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.metric-big-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.metric-medium-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.badge-green-soft {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.hash-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-400);
  background: var(--teal-soft-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.metric-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399);
  border-radius: 9999px;
}

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

.dash-action-widget {
  padding: 1rem;
  background: rgba(19, 31, 55, 0.4);
  border: 1px dashed var(--border-light);
  border-radius: var(--border-radius-sm);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.widget-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #FFFFFF;
}

.ready-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--emerald-500);
  color: #FFFFFF;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.widget-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.btn-micro {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.btn-micro:hover {
  background: var(--emerald-600);
}

/* Main Area */
.dash-main-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dash-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.dash-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.dash-filter-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
}

.filter-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald-400);
}

/* Locations Table */
.locations-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  background: rgba(15, 26, 53, 0.6);
}

.locations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
  min-width: 680px;
}

.locations-table th {
  background: rgba(11, 19, 43, 0.9);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.locations-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

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

.locations-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.loc-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loc-pin {
  font-size: 1rem;
}

.loc-name {
  display: block;
  font-weight: 600;
  color: #FFFFFF;
}

.loc-id {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.asset-tag {
  display: inline-block;
  font-size: 0.725rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #E2E8F0;
  border: 1px solid var(--border-subtle);
}

.time-cell .time-main {
  display: block;
  font-weight: 600;
  color: #FFFFFF;
}

.time-cell .time-dur {
  display: block;
  font-size: 0.7rem;
  color: var(--emerald-400);
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.compliance-badge.compliant {
  background: var(--emerald-soft-bg);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.code-hash {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--teal-400);
  background: rgba(6, 182, 212, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.btn-action-view {
  font-size: 0.725rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-view:hover {
  background: var(--emerald-500);
}

/* Verification Stream Bar */
.verification-stream-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
}

.stream-icon {
  flex-shrink: 0;
}

.stream-content {
  flex-grow: 1;
  font-size: 0.775rem;
  line-height: 1.4;
}

.stream-title {
  font-weight: 700;
  color: var(--emerald-400);
  margin-right: 0.35rem;
}

.stream-text {
  color: #CBD5E1;
}

.verified-seal-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* Mobile Capture Preview Layout */
.mobile-preview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .mobile-preview-layout {
    grid-template-columns: 320px 1fr;
  }
}

.phone-frame {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  background: #000000;
  border: 8px solid #1E293B;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background: #1E293B;
  margin: 0 auto 8px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.phone-screen {
  background: #090E1A;
  padding: 0.85rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

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

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
}

.app-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
}

.offline-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal-400);
  background: rgba(6, 182, 212, 0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.app-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-site-card {
  background: #111A2E;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.app-site-sub {
  font-size: 0.675rem;
  color: var(--text-muted);
}

.app-site-title {
  font-size: 0.85rem;
  color: #FFFFFF;
  margin: 0.15rem 0 0.35rem;
}

.app-timer-badge {
  display: inline-block;
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.step-card {
  background: #111A2E;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.step-card.active {
  border-color: rgba(16, 185, 129, 0.4);
}

.step-num {
  font-size: 0.65rem;
  color: var(--emerald-400);
  font-weight: 700;
  text-transform: uppercase;
}

.step-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0.15rem 0 0.5rem;
}

.photo-mockup {
  background: #0A1120;
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  padding: 1rem 0.5rem;
  text-align: center;
}

.photo-reticle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.675rem;
  color: var(--emerald-400);
  font-weight: 600;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.check-row {
  font-size: 0.7rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.check-row.done {
  background: rgba(16, 185, 129, 0.1);
  color: #A7F3D0;
}

.app-submit-area {
  margin-top: 0.5rem;
}

.btn-app-submit {
  width: 100%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-explanation {
  padding: 1rem 0;
}

.mobile-explanation .badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-400);
  margin-bottom: 0.75rem;
}

.mobile-explanation h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.mobile-explanation p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.mobile-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #CBD5E1;
}

.list-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  margin-top: 6px;
  flex-shrink: 0;
}

.mobile-callout-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(19, 31, 55, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  color: #E2E8F0;
}

.callout-icon {
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   8. STATISTICS CARDS
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

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

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.stat-icon-wrapper.alert-accent {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #F87171;
}

.stat-icon-wrapper.green-accent {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
}

.stat-icon-wrapper.blue-accent {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--teal-400);
}

.stat-metric {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-description {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0A1122 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.comparison-card {
  padding: 2.25rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  position: relative;
}

.legacy-card {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, rgba(19, 31, 55, 0.7) 100%);
}

.draintrace-card {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(19, 31, 55, 0.7) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.status-legacy {
  color: #F87171;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-modern {
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.comparison-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #CBD5E1;
}

.comp-icon {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-icon.red { color: #EF4444; }
.comp-icon.green { color: var(--emerald-400); }

/* Ecosystem Box */
.ecosystem-box {
  background: rgba(19, 31, 55, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 900px) {
  .ecosystem-box {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.ecosystem-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tag-item:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
}

.external-tag {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
  color: #A5F3FC;
}

.external-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  color: #FFFFFF;
}

.ecosystem-divider {
  width: 1px;
  height: 100%;
  background: var(--border-subtle);
  display: none;
}

@media (min-width: 900px) {
  .ecosystem-divider {
    display: block;
  }
}

/* Leadership Section */
.leadership-header {
  margin-bottom: 3rem;
}

.leadership-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.85rem;
  color: #FFFFFF;
}

.leadership-sub {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

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

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

.founder-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
}

.founder-top {
  margin-bottom: 1.5rem;
}

.founder-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.founder-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.founder-avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.founder-avatar-icon.cto-avatar {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.founder-verified-seal {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.founder-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.founder-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-400);
}

.founder-specialism {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.founder-responsibilities-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0;
}

.cred-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  margin-top: 6px;
  flex-shrink: 0;
}

.cred-dot.tech-dot {
  background: var(--teal-400);
}

.founder-narrative {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. PLATFORM SECTION (8 Feature Cards)
   -------------------------------------------------------------------------- */
.platform-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

@media (min-width: 1040px) {
  .platform-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.platform-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.1);
}

.platform-card.highlight-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(19, 31, 55, 0.75) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.card-icon-box.accent-box {
  background: var(--emerald-soft-bg);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
}

.card-icon-box.teal-box {
  background: var(--teal-soft-bg);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--teal-400);
}

.card-icon-box.emerald-box {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-500);
  color: var(--emerald-400);
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.card-badge.green-badge {
  color: var(--emerald-400);
}

.card-badge.teal-badge {
  color: var(--teal-400);
}

.card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.card-summary {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-details {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-bullets li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.825rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.feature-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--emerald-400);
  font-weight: bold;
}

.feature-callout-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.mini-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.feature-anomaly-box {
  margin-top: 0.85rem;
  padding: 0.65rem;
  background: rgba(7, 12, 24, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.anomaly-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F87171;
  margin-bottom: 0.35rem;
}

.anomaly-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.anomaly-chips span {
  font-size: 0.675rem;
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   11. HOW IT WORKS SECTION (6 Steps Timeline)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #091021 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald-500) 0%, rgba(16, 185, 129, 0.2) 100%);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-step {
  position: relative;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .timeline-step {
    width: 50%;
  }

  .timeline-step:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
  }

  .timeline-step:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
  }
}

.step-marker {
  position: absolute;
  left: 12px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0B132B;
  border: 2px solid var(--emerald-500);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-step:nth-child(odd) .step-marker {
    left: auto;
    right: -17px;
  }

  .timeline-step:nth-child(even) .step-marker {
    left: -17px;
  }
}

.step-digit {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.step-card-box {
  margin-left: 55px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  width: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
  text-align: left;
}

@media (min-width: 768px) {
  .step-card-box {
    margin-left: 0;
  }
}

.step-card-box:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.step-card-box.highlight-step {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(19, 31, 55, 0.75) 100%);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.step-badge.active-badge {
  color: var(--emerald-400);
}

.step-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-400);
  background: var(--teal-soft-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.step-content-list {
  background: rgba(7, 12, 24, 0.4);
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.step-list-header {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-400);
  margin-bottom: 0.4rem;
}

.step-content-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-content-list li {
  font-size: 0.825rem;
  color: #CBD5E1;
  position: relative;
  padding-left: 1rem;
}

.step-content-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--emerald-500);
}

.step-note-pill {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. MARKET PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.featured-pricing-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(19, 31, 55, 0.85) 100%);
  border: 2px solid var(--emerald-500);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.2);
}

@media (min-width: 860px) {
  .featured-pricing-card {
    transform: scale(1.04);
  }
  .featured-pricing-card:hover {
    transform: scale(1.04) translateY(-6px);
  }
}

.card-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-level {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.plan-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0.2rem 0 0.5rem;
}

.plan-target {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

.plan-price-box {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.billing-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.plan-includes {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.includes-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.check-icon {
  font-weight: 800;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.check-icon.accent {
  color: var(--emerald-400);
}

.plan-cta {
  margin-top: auto;
}

/* Additional Pricing Information */
.additional-pricing-box {
  background: rgba(19, 31, 55, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
}

.add-price-header {
  margin-bottom: 2rem;
  text-align: center;
}

.add-price-title {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.add-price-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

.add-price-item {
  background: rgba(7, 12, 24, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
}

.add-price-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.add-price-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.add-price-desc {
  font-size: 0.825rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. REQUEST A PILOT FORM SECTION
   -------------------------------------------------------------------------- */
.pilot-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0C152B 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
}

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

@media (min-width: 960px) {
  .pilot-layout {
    grid-template-columns: 1.1fr 1fr;
  }
}

.pilot-info-col {
  text-align: left;
}

.pilot-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.pilot-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 2rem;
}

.pilot-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #CBD5E1;
}

.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--emerald-soft-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pilot-demo-meta {
  background: rgba(19, 31, 55, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
}

.demo-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.storage-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-400);
  background: var(--teal-soft-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.btn-text-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-text-action:hover {
  color: #FFFFFF;
}

.storage-explain {
  font-size: 0.775rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.storage-explain code {
  color: var(--emerald-400);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

/* Form Card */
.form-card {
  background: #0F1A35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.1);
  position: relative;
  overflow: hidden;
}

.form-header {
  margin-bottom: 2rem;
}

.form-card-title {
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.form-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Success Banner */
.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--border-radius-sm);
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.form-success-banner.visible {
  display: block;
}

.success-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.success-message {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: 0.5rem;
}

.success-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.btn-reset-form {
  background: transparent;
  border: 1px solid var(--emerald-500);
  color: var(--emerald-400);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-form:hover {
  background: var(--emerald-500);
  color: #FFFFFF;
}

/* Form Inputs */
.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pilot-form.hidden {
  display: none;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
}

.required-star {
  color: #F87171;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: rgba(7, 12, 24, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.925rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--emerald-400);
  background: rgba(7, 12, 24, 0.95);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-input.invalid {
  border-color: #EF4444;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #F87171;
  margin-top: 0.2rem;
}

.error-msg.visible {
  display: block;
}

.form-submit-row {
  margin-top: 0.5rem;
}

.btn-submit {
  font-size: 1.05rem;
  padding: 0.95rem;
}

.form-footer-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   14. FAQ SECTION (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

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

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(19, 31, 55, 0.9);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--emerald-400);
}

.faq-item.active .faq-question-btn {
  color: var(--emerald-400);
}

.faq-icon-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  background: var(--emerald-soft-bg);
  color: var(--emerald-400);
}

.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #CBD5E1;
}

/* --------------------------------------------------------------------------
   15. FOOTER SECTION
   -------------------------------------------------------------------------- */
.site-footer {
  background: #050912;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-top-row {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 1.25rem;
}

.footer-compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.compliance-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-nav-list,
.footer-sectors-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--emerald-400);
  transform: translateX(3px);
}

.footer-sectors-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-row {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    text-align: left;
  }
}

.footer-statement {
  font-size: 0.95rem;
  font-weight: 500;
  color: #E2E8F0;
  font-style: italic;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   16. DEMO MODAL FOR LOCALSTORAGE INSPECTION
   -------------------------------------------------------------------------- */
.storage-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.storage-modal-box {
  background: #0E1830;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.storage-modal-overlay.open .storage-modal-box {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.15rem;
  color: #FFFFFF;
}

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

.modal-sub code {
  color: var(--emerald-400);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
}

.btn-close-modal:hover {
  color: #FFFFFF;
}

.storage-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.no-submissions-msg {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.submission-record-card {
  background: rgba(7, 12, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
}

.record-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--emerald-400);
  background: var(--emerald-soft-bg);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.record-field-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.record-field-val {
  color: #FFFFFF;
  font-weight: 500;
  word-break: break-all;
}

.storage-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: rgba(7, 12, 24, 0.4);
}

/* --------------------------------------------------------------------------
   17. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #0E1830;
  border: 1px solid var(--emerald-500);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

/* --------------------------------------------------------------------------
   18. ANIMATION KEYFRAMES & UTILITIES
   -------------------------------------------------------------------------- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
