/* ── Variables ── */
:root {
  --bg-base: #050c1a;
  --bg-dark: #030810;
  --bg-panel: #0a1428;
  --bg-glass: rgba(10, 20, 40, 0.6);

  --cyan: #00d4ff;
  --purple: #a855f7;
  --green: #34d399;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --sky: #0ea5e9;

  --text: #e2eaf6;
  --text-muted: #7a90b0;
  --text-faint: #3a4e6a;

  --border: rgba(0, 212, 255, 0.12);
  --border-glow: rgba(0, 212, 255, 0.35);

  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --radius: 16px;
  --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}

/* ══════════════════════ LOADER ══════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  animation: loaderPulse 1.2s ease infinite alternate;
}
@keyframes loaderPulse {
  from {
    filter: drop-shadow(0 0 10px var(--cyan));
  }
  to {
    filter: drop-shadow(0 0 30px var(--purple));
  }
}
.loader-bar {
  width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  animation: loaderFill 1.8s ease forwards;
}
@keyframes loaderFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.loader-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ══════════════════════ NAVBAR ══════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--trans), box-shadow var(--trans),
    padding var(--trans);
}
#navbar.scrolled {
  background: rgba(5, 12, 26, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  flex-shrink: 0;
}
.brand-icon {
  color: var(--cyan);
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links li a {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--trans), background var(--trans);
}
.nav-links li a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 8px;
}
.nav-cta:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  background: rgba(5, 12, 26, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu ul li a {
  display: block;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

/* ══════════════════════ HERO ══════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.4s ease infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.title-line {
  color: var(--text);
}
.title-accent {
  background: linear-gradient(
    135deg,
    var(--cyan) 0%,
    var(--purple) 60%,
    var(--rose) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: var(--trans);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border-glow);
  transition: var(--trans);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
}
.scroll-arrow {
  animation: bounceDown 1.6s ease infinite;
  color: var(--cyan);
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ══════════════════════ SECTIONS COMMON ══════════════════════ */
.section {
  padding: 6rem 0;
}
.section-dark {
  background: var(--bg-dark);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ══════════════════════ PROBLEM ══════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
}
.sbar-item {
  background: var(--bg-panel);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background var(--trans);
}
.sbar-item:hover {
  background: rgba(0, 212, 255, 0.06);
}
.sbar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}
.sbar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.pcard {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: border-color var(--trans), transform var(--trans),
    box-shadow var(--trans);
}
.pcard:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.08);
}
.pcard-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.pcard h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.pcard p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Timeline */
.problem-timeline {
  max-width: 800px;
  margin: 0 auto;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-align: center;
}
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.tl-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.tl-dot.warning {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.tl-dot.danger {
  background: var(--rose);
  box-shadow: 0 0 12px var(--rose);
}
.tl-dot.critical {
  background: #c0392b;
  box-shadow: 0 0 12px #c0392b;
  animation: criticalPulse 1s ease infinite;
}
@keyframes criticalPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
.tl-content {
  flex: 1;
}
.tl-time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}
.tl-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ══════════════════════ HOW IT WORKS ══════════════════════ */
.workflow {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.body-wrap {
  position: relative;
}
.body-svg {
  width: 200px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
}
.sensor-pulse {
  animation: sensorPulse 2s ease infinite;
}
.sensor-pulse-purple {
  animation: sensorPulsePurple 2.2s ease infinite;
}
.sensor-pulse-green {
  animation: sensorPulseGreen 1.8s ease infinite;
}
@keyframes sensorPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
    r: 14;
  }
}
@keyframes sensorPulsePurple {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
    r: 14;
  }
}
@keyframes sensorPulseGreen {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
    r: 14;
  }
}
.sensor-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.sl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
}
.wf-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.wf-connector {
  width: 2px;
  height: 2rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 212, 255, 0.3),
    rgba(0, 212, 255, 0.05)
  );
  margin-left: 1.25rem;
}
.wf-num {
  width: 44px;
  height: 44px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.alert-num {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: var(--rose);
  animation: alertGlow 1.2s ease infinite alternate;
}
@keyframes alertGlow {
  from {
    box-shadow: 0 0 0 rgba(244, 63, 94, 0);
  }
  to {
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
  }
}
.wf-body {
  padding-bottom: 0.5rem;
}
.wf-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.wf-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.wf-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.alert-step .wf-tag {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.25);
  color: var(--rose);
}

/* ══════════════════════ TECHNOLOGY ══════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tech-card {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans),
    box-shadow var(--trans);
}
.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--gc, var(--cyan));
  box-shadow: 0 20px 60px color-mix(in srgb, var(--gc) 15%, transparent);
}
.tc-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--gc) 20%, transparent),
    transparent 70%
  );
  pointer-events: none;
  transition: opacity var(--trans);
  opacity: 0;
}
.tech-card:hover .tc-glow {
  opacity: 1;
}
.tc-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ic) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ic);
  margin-bottom: 1.25rem;
}
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.tech-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.tc-specs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tc-specs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tc-specs li i {
  color: var(--green);
  font-size: 0.7rem;
}

/* ══════════════════════ DASHBOARD ══════════════════════ */
.dashboard-wrap {
  display: flex;
  justify-content: center;
}
.dash-window {
  width: 100%;
  max-width: 1100px;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.08);
}
.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.dash-dots {
  display: flex;
  gap: 6px;
}
.dd {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dd.red {
  background: #ff5f57;
}
.dd.yellow {
  background: #ffbd2e;
}
.dd.green {
  background: #28c840;
}
.dash-title-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}
.dash-status-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.2s ease infinite;
}
.dash-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
}
.dash-left {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dash-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dash-panel {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.dash-panel:last-child {
  border-bottom: none;
}
.dp-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
/* Position display */
.position-display {
  text-align: center;
  padding: 0.5rem 0;
}
.pos-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.pos-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}
.pos-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
/* Alert indicator */
.alert-indicator {
  text-align: center;
}
.ai-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 0.5rem;
}
.ai-icon.safe {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
}
.ai-icon.danger {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
  animation: alertGlow 0.8s ease infinite alternate;
}
.ai-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.2rem;
}
.ai-text.alert {
  color: var(--rose);
}
.ai-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* Timer */
.timer-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.timer-ring {
  position: relative;
  width: 80px;
  height: 80px;
}
.timer-svg {
  width: 80px;
  height: 80px;
}
.timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan);
}
.timer-info {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.timer-state {
  color: var(--cyan);
}
/* Sensor rows */
.sensor-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sensor-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sr-label {
  font-size: 0.75rem;
  font-weight: 700;
}
.sr-bars {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.sr-axis {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-faint);
}
.sr-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.sr-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.sr-val {
  min-width: 35px;
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}
/* Chart */
.chart-panel canvas {
  width: 100% !important;
}
/* Status pills */
.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sp {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
}
.sp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.sp-dot.green {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.sp-dot.yellow {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

/* ══════════════════════ BENEFITS ══════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform var(--trans), border-color var(--trans),
    box-shadow var(--trans);
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--bc, var(--cyan));
  box-shadow: 0 20px 50px color-mix(in srgb, var(--bc) 12%, transparent);
}
.bc-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bc) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bc);
  margin: 0 auto 1.25rem;
  transition: var(--trans);
}
.benefit-card:hover .bc-icon {
  box-shadow: 0 0 30px color-mix(in srgb, var(--bc) 30%, transparent);
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ══════════════════════ TEAM ══════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform var(--trans), border-color var(--trans),
    box-shadow var(--trans);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.08);
}
.tc-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
}
.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15),
    rgba(168, 85, 247, 0.15)
  );
  border: 2px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--cyan);
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.3);
  animation: spinRing 4s linear infinite;
}
@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.tc-role {
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.tc-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.tc-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}
.tc-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--trans);
}
.tc-socials a:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ══════════════════════ ROADMAP ══════════════════════ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border),
    var(--border),
    transparent
  );
  transform: translateX(-50%);
}
.rm-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rm-item:nth-child(odd) {
  padding-right: 3rem;
}
.rm-item:nth-child(even) {
  padding-left: 3rem;
  margin-top: 3rem;
}
.rm-phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.rm-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform var(--trans), border-color var(--trans),
    box-shadow var(--trans);
}
.rm-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.07);
}
.rm-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.rm-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.rm-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════════════ FOOTER / CONTACT ══════════════════════ */
.footer-section {
  position: relative;
  overflow: hidden;
}
.footer-bg-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}
.footer-container {
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--trans);
}
.footer-socials a:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}
.footer-email {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-email i {
  color: var(--cyan);
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cf-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.cf-field input,
.cf-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  resize: vertical;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--text-faint);
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.cf-submit {
  align-self: flex-start;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-built {
  color: var(--text-faint);
}

/* ══════════════════════ PARTICLES ══════════════════════ */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--dx)) scale(0.5);
    opacity: 0;
  }
}

/* ══════════════════════ AOS OVERRIDES ══════════════════════ */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .dash-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .workflow {
    grid-template-columns: 1fr;
  }
  .body-figure {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .roadmap {
    grid-template-columns: 1fr;
  }
  .roadmap::before {
    display: none;
  }
  .rm-item:nth-child(odd) {
    padding-right: 0;
  }
  .rm-item:nth-child(even) {
    padding-left: 0;
    margin-top: 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.5rem, 13vw, 10rem);
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.2rem;
  }
  .stat-divider {
    display: none;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}
