/* ═══════════════════════════════════════════════════════
   NEXUS CORP · styles.css
   Design System: Deep Space Quantum Aesthetic
═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  --bg: #030609;
  --bg2: #060d14;
  --bg3: #080f18;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --cyan-soft: rgba(0, 229, 255, 0.06);
  --white: #e8f4f8;
  --white-dim: rgba(232, 244, 248, 0.55);
  --white-faint: rgba(232, 244, 248, 0.08);
  --white-ultra: rgba(232, 244, 248, 0.03);
  --border: rgba(0, 229, 255, 0.18);
  --border-soft: rgba(232, 244, 248, 0.07);
  --border-mid: rgba(232, 244, 248, 0.12);
  --chrome: #b8d4e0;
  --red: #ff3c5f;
  --amber: #ffaa00;
}

/* ─── RESET ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 24px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ─── SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 2px;
}

/* ─── NOISE LAYER ─────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ─── GRADIENT ORBS ───────────────────────────────────── */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation: float 16s ease-in-out 3s infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.035) 0%, transparent 70%);
  bottom: 40%;
  right: 10%;
  animation: float 20s ease-in-out 7s infinite;
}

/* ─── CANVAS ──────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── CUSTOM CURSOR ───────────────────────────────────── */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, opacity .15s;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cyan-glow);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: rgba(3, 6, 9, 0.6);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-soft);
  transition: background .3s;
}

nav.scrolled {
  background: rgba(3, 6, 9, 0.92);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

/* ─── LOGO GLITCH EFFECT ──────────────────────────────── */
.logo-glitch {
  position: relative;
  display: inline-block;
  color: var(--white);
  /* Subtle steady glow */
  text-shadow:
    0 0 8px rgba(0, 229, 255, 0.45),
    0 0 20px rgba(0, 229, 255, 0.15);
  animation: logo-skew 6s infinite cubic-bezier(.25, .46, .45, .94);
}

/* Channel A — cyan offset */
.logo-glitch::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--cyan);
  text-shadow: -2px 0 rgba(0, 229, 255, 0.8);
  opacity: 0;
  animation: logo-glitch-a 4s infinite linear alternate-reverse;
  clip-path: inset(0 0 100% 0);
  z-index: 1;
  pointer-events: none;
}

/* Channel B — magenta/red offset */
.logo-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ff3c8e;
  text-shadow: 2px 0 rgba(255, 60, 142, 0.7);
  opacity: 0;
  animation: logo-glitch-b 4s infinite linear alternate-reverse;
  clip-path: inset(0 0 100% 0);
  z-index: 2;
  pointer-events: none;
}

/* Jitter on hover — faster & more aggressive */
.nav-logo:hover .logo-glitch {
  animation-duration: 1.5s;
}

.nav-logo:hover .logo-glitch::before {
  animation-duration: 0.25s;
  opacity: 1;
}

.nav-logo:hover .logo-glitch::after {
  animation-duration: 0.35s;
  opacity: 1;
}

/* ─── Logo glitch keyframes ─── */
@keyframes logo-skew {

  0%,
  100% {
    transform: skew(0deg);
  }

  92% {
    transform: skew(0deg);
  }

  93% {
    transform: skew(2.5deg);
  }

  94% {
    transform: skew(-2deg);
  }

  95% {
    transform: skew(1.5deg);
  }

  96% {
    transform: skew(-1deg);
  }

  97% {
    transform: skew(0deg);
  }
}

@keyframes logo-glitch-a {

  0%,
  89% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
    opacity: 0;
  }

  90% {
    clip-path: inset(15% 0 55% 0);
    transform: translate(-3px, 2px);
    opacity: 0.9;
  }

  91% {
    clip-path: inset(55% 0 15% 0);
    transform: translate(3px, -2px);
    opacity: 0.7;
  }

  92% {
    clip-path: inset(30% 0 40% 0);
    transform: translate(-4px, 1px);
    opacity: 1;
  }

  93% {
    clip-path: inset(70% 0 5% 0);
    transform: translate(4px, -1px);
    opacity: 0.8;
  }

  94% {
    clip-path: inset(10% 0 70% 0);
    transform: translate(-2px, 3px);
    opacity: 0.6;
  }

  95% {
    clip-path: inset(45% 0 30% 0);
    transform: translate(2px, -3px);
    opacity: 1;
  }

  96%,
  100% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
    opacity: 0;
  }
}

@keyframes logo-glitch-b {

  0%,
  89% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
    opacity: 0;
  }

  90% {
    clip-path: inset(50% 0 20% 0);
    transform: translate(3px, -2px);
    opacity: 0.7;
  }

  91% {
    clip-path: inset(20% 0 50% 0);
    transform: translate(-3px, 2px);
    opacity: 0.9;
  }

  92% {
    clip-path: inset(75% 0 5% 0);
    transform: translate(4px, -3px);
    opacity: 0.5;
  }

  93% {
    clip-path: inset(5% 0 65% 0);
    transform: translate(-4px, 3px);
    opacity: 1;
  }

  94% {
    clip-path: inset(35% 0 45% 0);
    transform: translate(2px, -1px);
    opacity: 0.8;
  }

  95% {
    clip-path: inset(60% 0 20% 0);
    transform: translate(-2px, 1px);
    opacity: 0.6;
  }

  96%,
  100% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white-dim);
  letter-spacing: 0.12em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--cyan);
  transition: right .25s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 9px 22px;
  text-decoration: none;
  background: var(--cyan-dim);
  transition: background .25s, border-color .25s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: var(--cyan);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* ═══════════════════════════════════════════════════════
   SHARED LAYOUT
═══════════════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
  padding: 140px 60px;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

h1,
h2,
h3 {
  font-family: 'Syne', sans-serif;
}

.divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: var(--border-soft);
  overflow: visible;
}

.divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ─── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.95);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

.d5 {
  transition-delay: .5s;
}

.d6 {
  transition-delay: .6s;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 60px 60px;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .2s forwards;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .9s .4s forwards;
}

.hero-title .accent {
  color: var(--cyan);
}

.hero-title .stroke {
  -webkit-text-stroke: 1.5px var(--white-dim);
  color: transparent;
}

.hero-sub {
  margin-top: 32px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .65s forwards;
}

.hero-actions {
  margin-top: 52px;
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .85s forwards;
}

.hero-badge {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s 1.05s forwards;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-soft);
  background: var(--white-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--white-dim);
  letter-spacing: 0.15em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: blink 2s infinite;
}

.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-soft);
  opacity: 0;
  animation: fadeUp .8s 1.2s forwards;
}

.hero-stat-cell {
  padding: 28px 60px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-stat-cell:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span {
  color: var(--cyan);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.5;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 120px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--white-faint);
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .8s 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s infinite;
}

/* ═══════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════ */
.marquee-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--cyan-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.marquee-inner {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 80px;
  flex-shrink: 0;
}

.marquee-item::after {
  content: '◆';
  font-size: 0.45rem;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════
   SOLUTION CARDS
═══════════════════════════════════════════════════════ */
#solution {
  background: var(--bg2);
}

.solution-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.solution-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 640px;
}

.solution-desc {
  max-width: 340px;
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.8;
  text-align: right;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.card {
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  background: rgba(0, 229, 255, 0.06);
  border-color: var(--border);
}

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

.card-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  opacity: 0.6;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}

.card-text {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: gap .2s;
}

.card-link:hover {
  gap: 14px;
}

.card-link::after {
  content: '→';
}

.card-wide {
  grid-column: span 3;
  border-top: 1px solid var(--border-soft);
}

.card-wide-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.card-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-left: 1px solid var(--border-soft);
  padding-left: 60px;
  align-items: center;
}

.step-box {
  text-align: center;
  padding: 24px 16px;
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: background .3s, border-color .3s;
}

.step-box.active {
  background: var(--cyan-dim);
  border-color: var(--border);
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  margin-bottom: 10px;
  letter-spacing: 0.15em;
  display: block;
}

.step-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.step-connector {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 0.65rem;
}

/* ═══════════════════════════════════════════════════════
   SHOWCASE — IMAGE GALLERY
═══════════════════════════════════════════════════════ */
#showcase {
  background: var(--bg);
  padding: 140px 0;
  overflow: hidden;
}

.showcase-header {
  padding: 0 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.showcase-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

/* Horizontal scroll track */
.showcase-track-wrap {
  position: relative;
}

.showcase-track-wrap::before,
.showcase-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.showcase-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.showcase-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.showcase-track {
  display: flex;
  gap: 20px;
  padding: 0 60px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-track:active {
  cursor: grabbing;
}

.showcase-slide {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 480px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg2);
  transition: border-color .3s;
}

.showcase-slide:hover {
  border-color: var(--border);
}

.showcase-img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(.85) saturate(.9);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .4s;
}

.showcase-slide:hover .showcase-img {
  transform: scale(1.03);
  filter: brightness(.95) saturate(1.1);
}

.showcase-img-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  background: rgba(3, 6, 9, 0.75);
  padding: 5px 10px;
  border: 1px solid var(--border);
}

.showcase-body {
  padding: 28px 28px 32px;
}

.showcase-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.showcase-slide-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.showcase-slide-text {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.75;
}

/* Scroll controls */
.showcase-controls {
  padding: 32px 60px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.scroll-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  background: var(--white-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background .25s, border-color .25s;
  color: var(--white-dim);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.scroll-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--border);
  color: var(--cyan);
}

.scroll-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.scroll-progress {
  flex: 1;
  height: 1px;
  background: var(--border-soft);
  position: relative;
}

.scroll-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--cyan);
  width: 30%;
  transition: width .3s;
}

/* ═══════════════════════════════════════════════════════
   VIDEO FEATURE SECTION
═══════════════════════════════════════════════════════ */
#video-showcase {
  background: var(--bg2);
  padding: 140px 60px;
}

.video-section-header {
  margin-bottom: 80px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3px;
  grid-template-rows: auto auto;
}

.video-item {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  cursor: none;
  transition: border-color .3s;
}

.video-item:hover {
  border-color: var(--border);
}

.video-item.featured {
  grid-row: span 2;
}

.video-thumb {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  filter: brightness(.75) saturate(.85);
  transition: filter .4s, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.video-item.featured .video-thumb {
  min-height: 540px;
}

.video-item:hover .video-thumb {
  filter: brightness(.88) saturate(1);
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 6, 9, .85) 0%, rgba(3, 6, 9, .1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, .5);
  background: rgba(0, 229, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.9);
  transition: transform .3s, background .3s, border-color .3s;
  backdrop-filter: blur(4px);
}

.video-item.featured .play-btn {
  width: 72px;
  height: 72px;
}

.video-item:hover .play-btn {
  transform: translate(-50%, -50%) scale(1);
  background: rgba(0, 229, 255, .22);
  border-color: var(--cyan);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--cyan);
  margin-left: 4px;
}

.video-item.featured .play-btn svg {
  width: 26px;
  height: 26px;
}

.video-meta {
  position: relative;
  z-index: 1;
}

.video-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.video-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.video-item.featured .video-title {
  font-size: 1.65rem;
}

.video-dur {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--white-dim);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

/* Placeholder shimmer for video */
.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--bg3) 0%, #0a1520 50%, var(--bg3) 100%);
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--border-soft) 0, var(--border-soft) 1px,
      transparent 1px, transparent 24px);
}

/* ═══════════════════════════════════════════════════════
   FEATURE BLOCKS (DELIVERY CORE)
═══════════════════════════════════════════════════════ */
#delivery-core {
  padding: 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.feature-visual {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, var(--cyan) 0, var(--cyan) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--cyan) 0, var(--cyan) 1px, transparent 1px, transparent 40px);
}

/* Geo rings */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.geo-ring:nth-child(1) {
  width: 300px;
  height: 300px;
  animation: rotateSlow 20s linear infinite;
}

.geo-ring:nth-child(2) {
  width: 220px;
  height: 220px;
  border-color: rgba(0, 229, 255, .3);
  animation: rotateSlow 12s linear infinite reverse;
}

.geo-ring:nth-child(3) {
  width: 130px;
  height: 130px;
  animation: rotateSlow 7s linear infinite;
}

.geo-ring::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--cyan-glow), 0 0 20px var(--cyan-glow);
}

.geo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  rotate: 45deg;
}

/* Feature image block */
.feature-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  filter: brightness(.6) saturate(.7);
  transition: filter .5s;
}

.feature-visual:hover .feature-img {
  filter: brightness(.75) saturate(.9);
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 229, 255, .08) 0%, transparent 60%);
  border-right: 1px solid var(--border-soft);
}

/* Bar chart visual */
.bar-chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  z-index: 1;
  padding: 20px;
}

.bar-col {
  width: 36px;
  height: 160px;
  background: var(--border-soft);
  position: relative;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--cyan), rgba(0, 229, 255, .3));
  transition: height .5s;
}

.feature-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.9;
  margin-bottom: 40px;
}

.metrics-row {
  display: flex;
  gap: 40px;
}

.metric {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

.metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--white-dim);
  margin-top: 6px;
  line-height: 1.4;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.ftag {
  padding: 6px 14px;
  background: var(--white-ultra);
  border: 1px solid var(--border-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════
   STATS BANNER
═══════════════════════════════════════════════════════ */
.stats-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 229, 255, .08) 0%, rgba(0, 229, 255, .02) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(0, 229, 255, .04) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item {
  padding: 0 40px;
  position: relative;
  border-right: 1px solid var(--border-soft);
}

.stat-item:last-child {
  border-right: none;
}

.stat-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
  opacity: .7;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  color: var(--cyan);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--white-dim);
  margin-top: 12px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   TECH SPEC — SPLIT IMAGE + TEXT GRID
═══════════════════════════════════════════════════════ */
#tech-spec {
  background: var(--bg);
  padding: 140px 60px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 64px;
}

.tech-img-block {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  grid-row: span 2;
}

.tech-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65) saturate(.8);
  transition: filter .5s, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.tech-img-block:hover img {
  filter: brightness(.82) saturate(1.05);
  transform: scale(1.03);
}

.tech-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 40px;
  background: linear-gradient(to top, rgba(3, 6, 9, .9), transparent);
}

.tech-img-caption h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tech-img-caption p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.tech-cell {
  padding: 40px;
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.tech-cell:hover {
  background: rgba(0, 229, 255, .05);
  border-color: var(--border);
}

.tech-cell-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-cell-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.tech-cell h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tech-cell p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.tech-cell-num {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0, 229, 255, .07);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════════════════ */
#partners {
  background: var(--bg2);
  padding: 100px 60px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--border-soft);
}

.partner-cell {
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-faint);
  border-right: 1px solid var(--border-soft);
  transition: background .3s;
}

.partner-cell:last-child {
  border-right: none;
}

.partner-cell:hover {
  background: var(--cyan-soft);
}

.partner-logo {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white-dim);
  text-align: center;
  transition: color .3s;
}

.partner-cell:hover .partner-logo {
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
#about-us {
  background: var(--bg3);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
}

.about-left p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.95;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.atag {
  padding: 10px 18px;
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  transition: background .25s, border-color .25s;
}

.atag:hover {
  background: var(--cyan-dim);
  border-color: var(--border);
}

.about-visual-box {
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  padding: 56px;
  position: relative;
}

.about-visual-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  width: 80px;
  height: 1px;
  background: var(--cyan);
}

.about-visual-box::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 40px;
  width: 80px;
  height: 1px;
  background: var(--cyan);
}

/* Timeline */
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 10px;
  bottom: -32px;
  width: 1px;
  background: var(--border-soft);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 68px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  padding-top: 2px;
}

.timeline-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════════ */
#team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.team-card {
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
  transition: border-color .3s;
}

.team-card:hover {
  border-color: var(--border);
}

.team-photo {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--bg2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(.4) brightness(.75);
  transition: filter .4s, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.team-card:hover .team-photo img {
  filter: grayscale(0) brightness(.9);
  transform: scale(1.04);
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 229, 255, .1);
  background: linear-gradient(135deg, var(--bg2) 0%, #0c1a26 100%);
}

.team-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, var(--border-soft) 0, var(--border-soft) 1px, transparent 1px, transparent 20px);
}

.team-info {
  padding: 24px 24px 28px;
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
}

.team-bio {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   NEWS
═══════════════════════════════════════════════════════ */
#news {
  background: var(--bg2);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.news-card {
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color .3s;
}

.news-card:hover {
  border-color: var(--border);
}

.news-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7) saturate(.8);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .4s;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
  filter: brightness(.85) saturate(1);
}

.news-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--border-soft) 0, var(--border-soft) 1px, transparent 1px, transparent 28px);
}

.news-thumb-label {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 229, 255, .12);
  z-index: 1;
}

.news-body {
  padding: 32px;
}

.news-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}

.news-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
#contact-us {
  background: var(--bg3);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-left p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.9;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--white-dim);
  text-decoration: none;
  padding: 18px 22px;
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  transition: border-color .25s, background .25s, color .25s;
}

.contact-link-item:hover {
  border-color: var(--border);
  background: var(--cyan-dim);
  color: var(--white);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.contact-link-info {}

.contact-link-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin-bottom: 3px;
}

/* Form */
.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--white-faint);
  border: 1px solid var(--border-soft);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .05);
}

.form-field textarea {
  height: 110px;
}

.form-field select option {
  background: var(--bg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 16px 40px;
  cursor: none;
  width: 100%;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: opacity .2s;
  margin-top: 6px;
}

.form-submit:hover {
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
}

.footer-top {
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand {}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.8rem;
  color: var(--white-dim);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: 0.06em;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-soft);
  background: var(--white-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color .25s, background .25s;
}

.footer-social:hover {
  border-color: var(--border);
  background: var(--cyan-dim);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  stroke: var(--white-dim);
  fill: none;
  stroke-width: 1.5;
}

.footer-social:hover svg {
  stroke: var(--cyan);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-primary {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  padding: 14px 36px;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: opacity .2s, transform .2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateX(4px);
}

.btn-ghost {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .2s;
}

.btn-ghost .arrow {
  width: 28px;
  height: 1px;
  background: var(--white-dim);
  position: relative;
  transition: width .25s;
}

.btn-ghost .arrow::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -3px;
  border: 4px solid transparent;
  border-left: 6px solid var(--white-dim);
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-ghost:hover .arrow {
  width: 42px;
}

/* ═══════════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes rotateSlow {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

@keyframes barPulse {

  0%,
  100% {
    opacity: .7
  }

  50% {
    opacity: 1
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100vh);
  }
}

/* ─── SCANLINE EFFECT on hero ────────────────────────── */
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px,
      rgba(0, 229, 255, .015) 2px, rgba(0, 229, 255, .015) 4px);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  section {
    padding: 100px 24px;
  }

  #home {
    padding: 120px 24px 160px;
  }

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

  .hero-stats-bar {
    position: static;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
  }

  .hero-stat-cell {
    padding: 20px 16px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .solution-header {
    flex-direction: column;
    gap: 24px;
  }

  .solution-desc {
    text-align: left;
    max-width: 100%;
  }

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

  .card-wide {
    grid-column: span 1;
  }

  .card-wide-inner {
    grid-template-columns: 1fr;
  }

  .card-steps {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-soft);
    padding-top: 28px;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    min-height: 320px;
  }

  .feature-content {
    padding: 60px 24px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--border-soft);
    border-right: none;
    padding: 32px 24px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border-soft);
  }

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

  .tech-img-block {
    grid-row: span 1;
    height: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .video-item.featured {
    grid-row: span 1;
  }

  .showcase-slide {
    width: 340px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}