/* ============================================
   FACTORY TRACK — SCROLLYTELLING DEMO
   Premium Production Tracking Website
   ============================================ */

/* --- Custom Properties --- */
:root {
  --primary: #0a1628;
  --secondary: #1e3a5f;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --warning: #ff6b35;
  --warning-glow: rgba(255, 107, 53, 0.15);
  --white: #ffffff;
  --gray-100: #f0f4f8;
  --gray-200: #d9e2ec;
  --gray-300: #9fb3c8;
  --gray-400: #627d98;
  --glass-bg: rgba(30, 58, 95, 0.25);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.4s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Dot Grid Background Pattern --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #00f5c8, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background var(--transition-med), box-shadow var(--transition-med);
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__links a {
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  opacity: 1 !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1rem;
  padding: 0.5rem 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn--primary {
  background: var(--accent);
  color: var(--primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.btn--full {
  width: 100%;
}

/* --- Sections --- */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  z-index: 1;
}

.section__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 4px;
  background: rgba(0, 212, 170, 0.05);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section__desc {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- Animate In (Scroll Triggered) --- */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   SECTION 1: HERO
   ============================================ */
.section--hero {
  flex-direction: column;
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  background: rgba(0, 212, 170, 0.05);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.7;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__factory {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
}

.factory-svg {
  width: 100%;
  height: auto;
}

/* Conveyor animation */
.conveyor-line {
  animation: conveyorMove 2s linear infinite;
}

@keyframes conveyorMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -30; }
}

/* Station light pulse */
.station-light {
  animation: lightPulse 2s ease-in-out infinite;
}

@keyframes lightPulse {
  0%, 100% { opacity: 1; r: 4; }
  50% { opacity: 0.4; r: 6; }
}

/* Station pulse ring */
.station-pulse {
  animation: stationPulseRing 2.5s ease-out infinite;
}

@keyframes stationPulseRing {
  0% { r: 36; opacity: 0.3; }
  100% { r: 52; opacity: 0; }
}

/* Smoke animation */
.smoke-group {
  animation: smokeRise 4s ease-out infinite;
}

#smokeGroup2 {
  animation-delay: 2s;
}

@keyframes smokeRise {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-30px); opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   SECTION 2: PROBLEM
   ============================================ */
.section--problem {
  background: linear-gradient(180deg, var(--primary) 0%, #0d1f35 100%);
}

.problem__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.4;
}

.problem__visual {
  margin-bottom: 3rem;
}

.problem-svg {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

.problem__painpoints {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 700px;
}

.painpoint {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.painpoint__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warning-glow);
  border-radius: 8px;
}

.painpoint strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--warning);
  font-size: 0.95rem;
}

.painpoint p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

/* ============================================
   SECTION 3: SOLUTION
   ============================================ */
.section--solution {
  background: linear-gradient(180deg, #0d1f35 0%, var(--primary) 100%);
}

.solution__map {
  margin-top: 2rem;
}

.route-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.route-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  opacity: 0.5;
}

.route-btn.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  opacity: 1;
  color: var(--accent);
}

.route-btn:hover {
  opacity: 0.8;
}

.solution-svg {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  background: rgba(10, 22, 40, 0.5);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  padding: 2rem;
}

/* Map stations */
.map-station {
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.map-station:hover circle:first-child {
  stroke-width: 3;
}

.route-path {
  transition: opacity var(--transition-med);
}

/* ============================================
   SECTION 4: DIGITAL IDENTITY
   ============================================ */
.section--identity {
  background: var(--primary);
}

.identity__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .identity__grid {
    grid-template-columns: 1fr;
  }
}

.identity__visual {
  display: flex;
  justify-content: center;
}

.scan-animation {
  position: relative;
  width: 280px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
}

.barcode {
  text-align: center;
}

.barcode__bars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 0.75rem;
  height: 80px;
}

.barcode__bars span {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: 1px;
}

.barcode__number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent), 0 0 32px var(--accent);
  opacity: 0;
  top: 30%;
  transition: none;
}

.scan-line.active {
  animation: scanLineMove 1.5s ease-in-out;
}

@keyframes scanLineMove {
  0% { top: 20%; opacity: 1; }
  50% { top: 55%; opacity: 1; }
  100% { top: 55%; opacity: 0; }
}

.scan-result {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.scan-result.active {
  opacity: 1;
  transform: translateY(0);
}

.scan-result__icon {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.scan-result__text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.scan-result__details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* Identity steps */
.identity__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.identity__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  width: 40px;
}

.identity__step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.identity__step p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

/* Data flow */
.dataflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dataflow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dataflow__arrow {
  position: relative;
  width: 60px;
  height: 2px;
  background: rgba(0, 212, 170, 0.2);
}

.dataflow__particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: -3px;
  box-shadow: 0 0 8px var(--accent);
  animation: particleFlow 2s ease-in-out infinite;
}

.dataflow__arrow:nth-child(2) .dataflow__particle { animation-delay: 0s; }
.dataflow__arrow:nth-child(4) .dataflow__particle { animation-delay: 0.5s; }
.dataflow__arrow:nth-child(6) .dataflow__particle { animation-delay: 1s; }

@keyframes particleFlow {
  0% { left: -4px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0; }
}

@media (max-width: 600px) {
  .dataflow {
    flex-direction: column;
  }
  .dataflow__arrow {
    width: 2px;
    height: 30px;
  }
  .dataflow__particle {
    top: auto;
    left: -3px !important;
    animation: particleFlowVertical 2s ease-in-out infinite;
  }
  @keyframes particleFlowVertical {
    0% { top: -4px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 4px); opacity: 0; }
  }
}

/* ============================================
   SECTION 5: DASHBOARD
   ============================================ */
.section--dashboard {
  background: linear-gradient(180deg, var(--primary) 0%, #0d1f35 100%);
}

.dashboard-mockup {
  background: #0c1a2e;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--glass-border);
}

.dashboard__topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.dashboard__dot--red { background: #ff5f57; }
.dashboard__dot--yellow { background: #febc2e; }
.dashboard__dot--green { background: #28c840; }

.dashboard__title-text {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-left: 0.75rem;
}

.dashboard__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #28c840;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard__live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(40, 200, 64, 0); }
}

.dashboard__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Metrics */
.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
}

.metric-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
  margin-bottom: 0.25rem;
}

.metric-card__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.metric-card__trend {
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.metric-card__trend--up { color: var(--accent); }
.metric-card__trend--down { color: var(--accent); }

/* Station status & Progress */
.dashboard__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .dashboard__row2 {
    grid-template-columns: 1fr;
  }
}

.dashboard__stations-panel,
.dashboard__progress-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
}

.panel__header {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.station-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.station-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.375rem 0;
}

.station-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.station-indicator--active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.station-indicator--alert { background: var(--warning); box-shadow: 0 0 6px var(--warning); animation: alertPulse 1s ease-in-out infinite; }
.station-indicator--idle { background: var(--gray-400); }

@keyframes alertPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.station-name {
  flex: 1;
  opacity: 0.8;
}

.station-badge {
  font-size: 0.65rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.station-badge--active { background: rgba(0,212,170,0.15); color: var(--accent); }
.station-badge--alert { background: rgba(255,107,53,0.15); color: var(--warning); }
.station-badge--idle { background: rgba(255,255,255,0.05); color: var(--gray-400); }

.station-count {
  font-size: 0.75rem;
  opacity: 0.4;
  min-width: 55px;
  text-align: right;
}

/* Progress bars */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.progress-item__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.progress-item__id {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-item__route {
  font-size: 0.7rem;
  opacity: 0.4;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00f5c8);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s var(--ease-out);
}

.progress-bar__fill--orange {
  background: linear-gradient(90deg, var(--warning), #ff9a6c);
}

.progress-item__station {
  font-size: 0.7rem;
  opacity: 0.4;
  margin-top: 0.25rem;
}

/* Route map */
.dashboard__routemap {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
}

.routemap__visual {
  padding: 0.5rem 0;
}

.routemap-svg {
  width: 100%;
  height: auto;
}

/* ============================================
   SECTION 6: STANDARDS
   ============================================ */
.section--standards {
  background: linear-gradient(180deg, #0d1f35 0%, var(--primary) 100%);
}

.standards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.standard-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.standard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.standard-card__flag {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.standard-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.standard-card p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.standard-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.standard-card__number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.standard-card__stat span:last-child {
  font-size: 0.75rem;
  opacity: 0.5;
}

.standards__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.standards__logo-item {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION 7: BENEFITS
   ============================================ */
.section--benefits {
  background: var(--primary);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border-color: rgba(0, 212, 170, 0.2);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ============================================
   SECTION 8: STEPS
   ============================================ */
.section--steps {
  background: linear-gradient(180deg, var(--primary) 0%, #0d1f35 100%);
}

.steps__timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.steps__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--warning) 100%);
  opacity: 0.2;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item__marker {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--transition-med), border-color var(--transition-med);
}

.step-item[data-step="4"] .step-item__marker {
  border-color: var(--warning);
}

.step-item__marker span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
}

.step-item[data-step="4"] .step-item__marker span {
  color: var(--warning);
}

.step-item.visible .step-item__marker {
  background: var(--accent-glow);
}

.step-item__content {
  padding-top: 0.5rem;
}

.step-item__icon {
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.step-item__content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-item__content p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.step-item__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.step-item[data-step="4"] .step-item__tag {
  color: var(--warning);
  background: var(--warning-glow);
}

/* ============================================
   SECTION 9: CTA
   ============================================ */
.section--cta {
  background: linear-gradient(180deg, #0d1f35 0%, var(--primary) 100%);
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .cta__grid {
    grid-template-columns: 1fr;
  }
}

.cta__form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  opacity: 0.7;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--accent);
}

.form-success.active {
  display: flex;
}

/* Trust items */
.cta__trust {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.8rem;
  opacity: 0.5;
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 2rem;
  z-index: 1;
  position: relative;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.3;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .section {
    padding: 4rem 1.25rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .stat-card__number {
    font-size: 1.75rem;
  }

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

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

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
