:root {
  --bg-main: #F4F6F9;
  --bg-surface: #FFFFFF;
  --primary-blue: #1F3A8A;
  --accent-teal: #0EA5A4;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-main: 'Inter', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 120%; /* Increases all rem-based sizes by 20% */
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(0,0,0,0.02) 1px, transparent 0);
  background-size: 40px 40px;
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Data Density Elements */
.data-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.area-chart {
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, rgba(14, 165, 164, 0.1) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--accent-teal);
  margin-top: 1rem;
}

.feature-list-mini {
  list-style: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.feature-list-mini li {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.4rem;
}

.feature-list-mini li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-teal);
  border-radius: 50%;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary-blue);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* Header & Nav */
header.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  background: rgba(244, 246, 249, 0.85);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-blue);
}

.logo-wrap img { height: 28px; }

.mobile-menu-toggle {
  display: none;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 2rem;
  transition: var(--transition-smooth);
}

nav a:hover { color: var(--primary-blue); }

/* Sticky Subnav Widget */
.status-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 500;
  border: 1px solid var(--border-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 10% 5rem;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 580px;
}

.hero-visual {
  position: relative;
  perspective: 2000px;
}

/* Dashboard Mockup (Hero) */
.dashboard-shell {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16/10;
}

.dashboard-header {
  background: #F9FAFB;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.dashboard-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dashboard-search {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.25rem 1rem;
  font-size: 0.6rem;
  color: var(--text-secondary);
  flex-grow: 1;
  text-align: center;
}

.dashboard-body {
  display: flex;
  flex-grow: 1;
  background: #fff;
}

.dash-sidebar {
  width: 120px;
  background: #F9FAFB;
  border-right: 1px solid var(--border-light);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-item {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.5;
}

.dash-main {
  flex-grow: 1;
  padding: 1.5rem;
  background: var(--bg-main);
}

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

.dash-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.dash-card small {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.dash-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.dash-graph {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  margin-top: 1rem;
  position: relative;
}

.dash-graph::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: var(--h);
  background: var(--accent-teal);
  border-radius: 2px;
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-top: 1rem;
}

.dash-chart-bars div {
  flex-grow: 1;
  background: var(--primary-blue);
  opacity: 0.2;
  border-radius: 2px;
  height: var(--h);
}

.floating-card {
  position: absolute;
  background: #fff;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-15px) rotateY(0deg); }
}

/* Trust Bar */
.trust-bar {
  padding: 3rem 10%;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Sections */
section {
  padding: 10rem 10%;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Module Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.module-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-teal);
}

.module-card .icon-box {
  width: 64px;
  height: 64px;
  background: var(--bg-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.module-card:hover .icon-box {
  transform: rotate(5deg) scale(1.1);
  background: rgba(14, 165, 164, 0.1);
}

.module-card .icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.6);
  border-radius: 50%;
}

.module-card h3 { font-size: 1.5rem; }
.module-card p { color: var(--text-secondary); font-size: 0.95rem; }

.mini-preview {
  margin-top: auto;
  height: 120px;
  background: var(--bg-main);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

/* UI Gallery Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  border: 1px solid var(--border-light);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.gallery-display {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gamechanger Section */
.gamechanger-box {
  background: #fff;
  border-radius: 32px;
  padding: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.loop-visual {
  position: relative;
  height: 300px;
}

.loop-node {
  position: absolute;
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  z-index: 2;
}

.connection-line {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
  z-index: 1;
}

.data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-teal);
  animation: travel 3s linear infinite;
}

@keyframes travel {
  0% { left: 0%; opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Security Section */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.security-item {
  display: flex;
  gap: 2rem;
}

.security-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--accent-teal);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.15rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(31, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(31, 58, 138, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--primary-blue);
}

/* Case Studies */
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.case-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.case-content {
  padding: 3rem;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  color: var(--accent-teal);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

/* Onboarding Quiz */
.quiz-section {
  background: var(--primary-blue);
  color: #fff;
  border-radius: 40px;
  margin: 0 5% 5rem;
  padding: 8rem 5%;
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 4rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.quiz-opt {
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-align: left;
  color: #fff;
}

.quiz-opt:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-teal);
  transform: translateX(5px);
}

.progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
  border-radius: 2px;
}

.progress-fill {
  height: 100%;
  background: var(--accent-teal);
  width: 33%;
  transition: width 0.5s ease-in-out;
}

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

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .module-grid, .gamechanger-box, .security-grid, .infra-grid, .case-study-grid {
    grid-template-columns: 1fr !important;
  }
  .hero { padding: 8rem 5% 4rem; }
  section { padding: 6rem 5%; }
  .gamechanger-box { padding: 3rem; }
  .rollout-stepper { grid-template-columns: repeat(3, 1fr); }
  .hero-copy h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  html { font-size: 100%; } /* Reset to default on mobile */
  
  .system-status-bar {
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    gap: 1rem;
    padding: 0.5rem 5%;
  }

  .system-status-bar div:not(.status-indicator) {
    display: none; /* Hide secondary info on very small screens to avoid clutter */
  }

  header.site-header {
    padding: 0.75rem 5% !important;
    top: 25px !important; /* Keep it below the status bar */
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
  }

  .mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  nav#nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1001;
    margin-left: 0;
  }

  nav#nav-menu.active {
    right: 0;
  }

  nav#nav-menu a {
    margin-left: 0;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 80%;
    text-align: center;
  }

  /* Hero Section */
  .hero-grid {
    gap: 3rem;
  }

  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    perspective: none;
    overflow: hidden; /* Added to clip any rotating elements */
  }

  .dashboard-shell {
    transform: none; /* Flatten for mobile */
    width: 100%;
    max-width: 100%;
  }

  section {
    width: 100%;
    overflow: hidden;
  }

  .ai-insight-card {
    position: static;
    width: 100%;
    margin-top: 2rem;
    right: 0;
    bottom: 0;
    animation: none;
  }

  /* Other Sections */
  .trust-bar {
    justify-content: center;
    gap: 1.5rem;
  }

  .module-grid {
    gap: 1.5rem;
  }

  .philosophy-text {
    font-size: 1.8rem;
  }

  .philosophy-text + div {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }

  .security-diag {
    flex-direction: column;
    gap: 2rem;
  }

  .diag-arrow {
    height: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--border-light), var(--accent-teal), var(--border-light));
    margin: 0 auto;
  }

  .diag-flow-dot {
    top: 0;
    left: -2px;
    animation: diagFlowVertical 4s linear infinite;
  }

  @keyframes diagFlowVertical {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  .rollout-stepper {
    grid-template-columns: 1fr;
  }

  .performance-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .gamechanger-box {
    padding: 2rem;
    text-align: center;
  }

  .loop-visual {
    height: 200px;
    margin-top: 2rem;
  }

  /* Widgets */
  .status-widget {
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .sticky-cta {
    display: none; /* Hide vertical sticky CTA on mobile, maybe use a fixed bottom button instead */
  }

  /* Analytics Table */
  .data-table-enterprise {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .performance-grid {
    grid-template-columns: 1fr !important;
  }
  .philosophy-text + div {
    grid-template-columns: 1fr !important;
  }
  .dash-kpi-grid {
    grid-template-columns: 1fr;
  }
  .case-content {
    padding: 1.5rem;
  }
  .stat-item h3 {
    font-size: 1.5rem;
  }
  .quiz-container {
    padding: 2rem;
  }
  .infra-grid .data-hub-visual {
    height: 300px;
  }
  .hub-core {
    width: 100px;
    height: 100px;
  }
  .data-node {
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
  }
}

/* AI Infrastructure Section */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.data-hub-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-core {
  width: 120px;
  height: 120px;
  background: var(--primary-blue);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(31, 58, 138, 0.3);
  z-index: 5;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  border: 4px solid rgba(255,255,255,0.1);
}

.data-node {
  position: absolute;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.infra-list {
  display: grid;
  gap: 2rem;
}

.infra-item {
  padding-left: 2rem;
  border-left: 2px solid var(--border-light);
  transition: var(--transition-smooth);
}

.infra-item:hover {
  border-left-color: var(--accent-teal);
  padding-left: 2.5rem;
}

/* High-Precision Workforce Analytics (Enterprise Flat Style) */
.anomaly-chart-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}

.chart-header-enterprise {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.chart-title-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-kpi-summary {
  display: flex;
  gap: 3rem;
}

.kpi-block .val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.kpi-block .label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 45px 1fr;
  grid-template-rows: 220px 30px;
  gap: 0;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding-right: 12px;
  border-right: 1px solid var(--border-light);
}

.chart-main-area {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

/* Precise Background Grid */
.chart-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 100% 25%; /* 4 horizontal lines */
}

.capacity-steps {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.step-bar {
  flex: 1;
  background: rgba(31, 58, 138, 0.08);
  border-top: 1.5px solid var(--primary-blue);
  height: var(--h);
  transition: var(--transition-smooth);
}

.step-bar:not(:last-child) {
  border-right: 1px solid rgba(31, 58, 138, 0.1);
}

.demand-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}

.anomaly-overlay {
  position: absolute;
  background: rgba(239, 68, 68, 0.05);
  border-left: 1.5px solid #EF4444;
  border-right: 1.5px solid #EF4444;
  z-index: 5;
}

.x-axis {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.data-table-enterprise {
  width: 100%;
  margin-top: 3rem;
  border-collapse: collapse;
}

.data-table-enterprise th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 12px;
  border-bottom: 1.5px solid var(--text-primary);
  text-transform: uppercase;
}

.data-table-enterprise td {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
}

.status-badge-flat {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-badge-flat.danger {
  background: #FEF2F2;
  color: #EF4444;
}

/* Rollout Visualization */
.map-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-teal);
  animation: node-pop 4s infinite;
  opacity: 0;
}

/* Enterprise Highlights */

/* 1. Live System Status Bar (Header Integration) */
.system-status-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.5rem 10%;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator .dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

/* 2. AI Insight Card */
.ai-insight-card {
  position: absolute;
  right: -2rem;
  bottom: 10%;
  width: 280px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--accent-teal);
  box-shadow: var(--shadow-xl);
  z-index: 20;
  animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-insight-card h4 {
  font-size: 0.7rem;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-insight-card p {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-blue);
}

.pulse-impact {
  display: inline-block;
  color: var(--accent-teal);
  font-weight: 800;
  animation: softPulse 2s infinite;
}

/* 3. Multi-Market Scaling Map */
.map-container {
  position: relative;
  height: 400px;
  background: var(--bg-main);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.map-node-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-teal);
  border-radius: 50%;
}

.map-node-pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent-teal);
  border-radius: 50%;
  animation: nodeRipple 3s infinite;
}

/* 4. Security Architecture Diagram */
.security-diag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  margin-top: 3rem;
}

.diag-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.diag-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary-blue);
}

.diag-arrow {
  flex: 0.5;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light), var(--accent-teal), var(--border-light));
  position: relative;
}

.diag-flow-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
  top: -2px;
  left: 0;
  animation: diagFlow 4s linear infinite;
}

/* 5. Rollout Stepper */
.rollout-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.step-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover { border-color: var(--accent-teal); }

.step-num {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--accent-teal);
  margin-bottom: 1rem;
  display: block;
}

/* 6. Philosophy Section */
.philosophy-text {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-blue);
  max-width: 900px;
}

/* 7. Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.cta-vertical {
  writing-mode: vertical-rl;
  padding: 2rem 0.75rem;
  background: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-radius: 99px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.cta-vertical:hover {
  background: var(--accent-teal);
  transform: translateY(-50%) translateX(-5px);
}

/* Animations */
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes softPulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(14, 165, 164, 0.4); }
  100% { opacity: 0.8; }
}

@keyframes nodeRipple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes diagFlow {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes node-pop {
  0% { transform: scale(0); opacity: 0; }
  10% { transform: scale(1.2); opacity: 1; }
  20% { transform: scale(1); opacity: 1; }
  80% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

.rollout-hub {
  box-shadow: 0 0 30px rgba(31, 58, 138, 0.4);
}

/* Enhanced Module Cards */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.module-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-teal);
  box-shadow: 0 30px 60px -12px rgba(31, 58, 138, 0.08), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-main);
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-light);
}

.module-card:hover .card-badge {
  background: rgba(14, 165, 164, 0.1);
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.module-card:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
  border-color: var(--accent-teal);
}

.module-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Feature Bullets inside card */
.card-features {
  list-style: none;
  margin-bottom: 2rem;
  display: grid;
  gap: 0.5rem;
}

.card-features li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li svg {
  color: var(--accent-teal);
}

/* Mini Preview Refinement */
.mini-preview {
  background: var(--bg-main);
  border-radius: 12px;
  height: 100px;
  margin-top: auto;
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.module-card:hover .mini-preview {
  background: #fff;
  border-color: var(--accent-teal);
}

.card-link {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.module-card:hover .card-link {
  color: var(--accent-teal);
  gap: 10px;
}

/* X-TIME Terminal Mockup */
.terminal-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: #080B10;
  border-radius: 32px;
  border: 14px solid #1E293B;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.terminal-screen {
  width: 100%;
  height: 100%;
  background: #0D1218;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #253243;
}

.terminal-main {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

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

.nfc-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(34, 179, 137, 0.1);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nfc-ring::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #22B389;
  animation: nfcPulse 2s infinite;
}

.recent-events {
  background: #121A24;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #253243;
}

.event-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #253243;
  font-size: 0.75rem;
  font-weight: 700;
  color: #97A6B8;
}

.terminal-success {
  position: absolute;
  inset: 0;
  background: rgba(34, 179, 137, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Success Demo Animation */
.terminal-screen:hover .terminal-success {
  opacity: 1;
}

.success-check {
  width: 64px;
  height: 64px;
  background: #fff;
  color: #22B389;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@keyframes nfcPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* X-TIME 1:1 Hub Mockup */
.xtime-hub-mockup {
  width: 100%;
  max-width: 340px;
  height: 680px;
  margin: 0 auto;
  background: #000;
  border-radius: 48px;
  border: 12px solid #1e293b;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

@media (max-width: 480px) {
  .xtime-hub-mockup {
    height: 550px;
    border-width: 8px;
    border-radius: 32px;
  }
}

.xtime-screen {
  width: 100%;
  height: 100%;
  background: #090C12; /* OptiTimeBackground */
  padding: 1rem;
  overflow-y: auto;
  scrollbar-width: none;
}

.xtime-screen::-webkit-scrollbar { display: none; }

/* 1:1 Header Panel */
.xtime-header-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 24px;
  padding: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.35); /* AKTIV green border */
  margin-bottom: 1rem;
}

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

.module-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #D0D5DD;
}

.status-pill.active {
  font-size: 0.65rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.16);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

.market-label {
  font-size: 0.7rem;
  color: #98A2B3;
}

.checkin-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.checkin-count {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.checkin-label {
  font-size: 0.9rem;
  color: #E4E7EC;
}

.metric-row {
  display: flex;
  gap: 8px;
}

.metric-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem;
  border-radius: 12px;
}

.metric-pill small {
  display: block;
  font-size: 0.6rem;
  color: #98A2B3;
  margin-bottom: 2px;
}

.metric-pill strong {
  font-size: 0.85rem;
  color: #fff;
}

.metric-pill.alert strong {
  color: #F97066;
}

/* 1:1 Decision Card */
.decision-card {
  background: rgba(247, 144, 9, 0.14); /* Warning Tone */
  border: 1px solid rgba(247, 144, 9, 0.3);
  padding: 1.25rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.decision-card small {
  font-size: 0.75rem;
  color: #95A2B3;
}

.decision-card h3 {
  font-size: 1rem;
  color: #E8ECF4;
  margin-top: 4px;
}

.urgent-issue {
  font-size: 0.9rem;
  color: #F79009;
  margin-top: 8px;
}

.pill-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.stat-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(247, 144, 9, 0.12);
  color: #F79009;
  border-radius: 99px;
}

.decision-summary {
  font-size: 0.75rem;
  color: #95A2B3;
  margin-top: 10px;
}

/* 1:1 Action Section */
.action-section {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 1rem;
  color: #E8ECF4;
  margin-bottom: 1rem;
}

.action-card {
  background: #121821;
  border: 1px solid #2A3442;
  border-radius: 20px;
  padding: 1rem;
}

.action-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.action-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-icon.warning {
  background: rgba(247, 144, 9, 0.12);
  color: #F79009;
}

.action-copy strong {
  display: block;
  font-size: 0.9rem;
  color: #E8ECF4;
}

.action-copy small {
  font-size: 0.75rem;
  color: #95A2B3;
}

.action-desc {
  font-size: 0.9rem;
  color: #95A2B3;
  margin-bottom: 1rem;
}

.action-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* X-TIME True Terminal Mockup (1:1) */
.xtime-terminal-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: #000;
  border-radius: 24px;
  border: 12px solid #1E293B;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.terminal-screen {
  width: 100%;
  height: 100%;
  background: #090C12; /* Official OptiTimeBackground */
  display: flex;
  flex-direction: column;
  color: #fff;
  padding: 1.5rem;
  position: relative;
}

.terminal-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #22B389;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot-mini {
  width: 6px;
  height: 6px;
  background: #22B389;
  border-radius: 50%;
  box-shadow: 0 0 10px #22B389;
}

.terminal-clock-large {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #EAF0F7;
}

.terminal-id-badge {
  font-size: 0.6rem;
  color: #97A6B8;
  font-weight: 700;
}

.terminal-center-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nfc-target-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-scan-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #22B389;
  border-radius: 50%;
  opacity: 0;
  animation: nfcExpand 3s infinite linear;
}

@keyframes nfcExpand {
  0% { transform: scale(0.6); opacity: 0; }
  20% { opacity: 0.4; }
  80% { opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}

.nfc-icon-wrapper {
  background: rgba(34, 179, 137, 0.05);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 179, 137, 0.2);
}

.scan-prompt {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  color: #EAF0F7;
}

.scan-subtext {
  font-size: 0.6rem;
  font-weight: 700;
  color: #97A6B8;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

.terminal-bottom-bar {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mini-event {
  display: flex;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 700;
}

.event-time { color: #97A6B8; }
.event-name { color: #EAF0F7; }
.event-type.in { color: #22B389; }
.event-type.pause { color: #F59E0B; }

.scan-success-overlay {
  position: absolute;
  inset: 0;
  background: #22B389;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.terminal-screen:hover .scan-success-overlay {
  opacity: 1;
}

.success-icon-circle {
  width: 70px;
  height: 70px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-message h3 { color: #fff; margin-bottom: 0.25rem; font-size: 1.25rem; text-align: center; }
.success-message p { color: #fff; opacity: 0.9; font-size: 0.7rem; font-weight: 700; text-align: center; }
.success-time { display: block; margin-top: 1.5rem; font-size: 0.8rem; font-weight: 800; color: #fff; text-align: center; }

/* Mini Data Components for Cards */
.mini-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 0.6rem;
  font-weight: 700;
}

.status-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.5rem;
  text-transform: uppercase;
}

.status-tag.green { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.status-tag.orange { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

.check-list-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-item-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.check-box-mini {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--accent-teal);
  border-radius: 3px;
  flex-shrink: 0;
}

.check-box-mini.checked {
  background: var(--accent-teal);
  position: relative;
}

.check-box-mini.checked::after {
  content: '✓';
  color: #fff;
  font-size: 8px;
  position: absolute;
  top: -1px;
  left: 1px;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
