/* ============================================
   INFINITE CRD LLC — Precision Sourcing Terminal
   ============================================ */

:root {
  --bg: #080a0e;
  --bg-2: #0c0f14;
  --bg-3: #12161f;
  --surface: rgba(18, 22, 31, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b92a5;
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --cyan: #00d4aa;
  --cyan-dim: rgba(0, 212, 170, 0.12);
  --blue: #4a9eff;
  --blue-dim: rgba(74, 158, 255, 0.12);
  --gradient: linear-gradient(135deg, var(--amber) 0%, var(--cyan) 50%, var(--blue) 100%);
  --font-display: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 72px;
  --rail-w: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__ring {
  width: 80px; height: 80px;
  border: 2px solid var(--border);
  border-top-color: var(--amber);
  border-radius: 50%;
  margin: 0 auto 2rem;
  animation: spin 1s linear infinite;
}
.preloader__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.preloader__logo-infinite { color: var(--text); }
.preloader__logo-crd {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.preloader__bar {
  width: 200px; height: 2px;
  background: var(--border);
  margin: 0 auto 1rem;
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar-fill {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  animation: preloaderFill 2s var(--ease-out) forwards;
}
.preloader__status {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pulse 2s ease infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes preloaderFill { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---- Ambient ---- */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body.has-cursor .cursor-glow { opacity: 1; }
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ---- Side Rail ---- */
.side-rail {
  position: fixed;
  right: 1rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.side-rail__line {
  width: 2px;
  height: 200px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.side-rail__fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient);
  transition: height 0.1s linear;
}
.side-rail__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.side-rail__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.side-rail__dot span { opacity: 0; transition: opacity 0.3s; }
.side-rail__dot:hover span,
.side-rail__dot.is-active span { opacity: 1; }
.side-rail__dot.is-active,
.side-rail__dot:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
  transform: scale(1.15);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--rail-w) + 1rem) 0 2rem;
  background: rgba(8, 10, 14, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 10, 14, 0.92);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.header__logo-icon { animation: logoFloat 4s ease-in-out infinite; }
.header__logo strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header__logo em { font-style: normal; font-weight: 400; color: var(--text-muted); font-size: 0.8em; }
.header__nav { display: flex; gap: 2rem; align-items: center; }
.header__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.4s var(--ease-out);
}
.header__link:hover { color: var(--text); }
.header__link:hover::after { width: 100%; }
.header__link--cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--amber);
  border-radius: 4px;
  color: var(--amber) !important;
}
.header__link--cta::after { display: none; }
.header__link--cta:hover { background: var(--amber-dim); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gradient);
  color: var(--bg);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn--primary:hover::before { transform: translateX(100%); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.3); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }

/* ---- Sections common ---- */
.section { position: relative; z-index: 10; padding: 7rem 0; }
.section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--rail-w) + 1rem) 0 2rem;
}
.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}
.section__tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1.25rem; height: 1px;
  background: var(--amber);
  animation: tagPulse 2s ease infinite;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.section__title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes tagPulse {
  0%, 100% { opacity: 0.5; width: 1rem; }
  50% { opacity: 1; width: 1.5rem; }
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal[data-reveal="up"] { transform: translateY(40px); }
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal[data-reveal="right"] { transform: translateX(50px); }
.reveal[data-reveal="scale"] { transform: scale(0.9); }
.reveal.is-visible { opacity: 1; transform: none; }

.split-text .split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-text .split-space {
  display: inline-block;
  width: 0.35em;
}
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(-90deg);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring);
}
.split-text.is-visible .char {
  opacity: 1;
  transform: none;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) calc(var(--rail-w) + 2rem) 4rem 2rem;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8,10,14,0.92) 0%, rgba(8,10,14,0.6) 50%, rgba(8,10,14,0.85) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 30%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black, transparent);
  animation: gridDrift 20s linear infinite;
}
.hero__diagonal {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 50%;
  height: 80%;
  background: linear-gradient(135deg, var(--amber-dim), var(--cyan-dim));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.4;
  z-index: 1;
  animation: diagonalPulse 6s ease-in-out infinite;
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  background: rgba(12,15,20,0.5);
}
.hero__badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: badgePulse 2s ease infinite;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line--accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero__stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll-track {
  width: 1px; height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero__scroll-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 20px;
  background: var(--amber);
  animation: scrollBounce 2s ease infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
@keyframes diagonalPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.5; transform: translateX(-20px); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0,212,170,0); }
}
@keyframes scrollBounce {
  0%, 100% { top: 0; }
  50% { top: 40px; }
}

/* ---- Marquee ---- */
.marquee {
  position: relative;
  z-index: 10;
  padding: 1rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__dot { color: var(--amber); font-size: 0.5rem; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- About ---- */
.about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__image-stack { position: relative; height: 480px; }
.about__image-frame {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.1s linear;
}
.about__image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.about__image-frame:hover img { transform: scale(1.05); }
.about__image-frame--back {
  width: 70%; height: 75%;
  top: 0; left: 0;
  z-index: 1;
  animation: floatBack 6s ease-in-out infinite;
}
.about__image-frame--front {
  width: 65%; height: 70%;
  bottom: 0; right: 0;
  z-index: 2;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.5);
  animation: floatFront 6s ease-in-out infinite 0.5s;
}
.about__image-accent {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  opacity: 0.3;
  animation: accentSpin 12s linear infinite;
  z-index: 0;
}
.about__floating-card {
  position: absolute;
  bottom: 18%;
  left: 6%;
  z-index: 4;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  max-width: 240px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  animation: floatCard 5s ease-in-out infinite;
}
.about__floating-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.about__floating-card strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.about__floating-card p { font-size: 0.75rem; color: var(--text-muted); }
.about__lead { font-size: 1.1rem; color: var(--text); margin-bottom: 1rem; }
.about__text { color: var(--text-muted); margin-bottom: 2rem; }
.about__highlights { display: flex; flex-direction: column; gap: 1.25rem; }
.about__highlight {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  transition: all 0.4s var(--ease-out);
}
.about__highlight:hover {
  border-color: var(--amber);
  transform: translateX(8px);
  background: var(--amber-dim);
}
.about__highlight-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border-radius: 8px;
  color: var(--amber);
}
.about__highlight-icon svg { width: 20px; height: 20px; }
.about__highlight strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.about__highlight p { font-size: 0.8rem; color: var(--text-muted); }

@keyframes floatBack {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatFront {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes accentSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---- Categories ---- */
.categories {
  padding-bottom: 5rem;
  overflow: hidden;
}
.categories__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.categories__video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.categories__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,10,14,0.88);
}
.categories .section__container { position: relative; z-index: 1; }
.categories__header { margin-bottom: 3rem; max-width: 600px; }
.categories__desc { color: var(--text-muted); }
.categories__scroll-wrap {
  position: relative;
  z-index: 1;
  padding-right: calc(var(--rail-w) + 1rem);
  cursor: grab;
}
.categories__scroll-wrap.is-dragging { cursor: grabbing; }
.categories__track {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 2rem 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories__track::-webkit-scrollbar { display: none; }
.category-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: transform 0.1s linear, box-shadow 0.4s;
}
.category-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: rgba(245,166,35,0.3);
}
.category-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.category-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.category-card:hover .category-card__img img { transform: scale(1.1); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-2), transparent);
}
.category-card__content { padding: 1.5rem; }
.category-card__num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}
.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0;
}
.category-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.categories__scroll-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.categories__scroll-bar {
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.categories__scroll-thumb {
  height: 100%;
  width: 30%;
  background: var(--gradient);
  border-radius: 2px;
  transition: transform 0.1s;
}

/* ---- Process ---- */
.process { background: var(--bg-2); }
.process__header { text-align: center; margin-bottom: 4rem; }
.process__pipeline { position: relative; max-width: 800px; margin: 0 auto; }
.process__line {
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.process__line-fill {
  width: 100%;
  height: 0%;
  background: var(--gradient);
  transition: height 0.1s linear;
}
.process__steps { display: flex; flex-direction: column; gap: 2rem; }
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.process-step__node {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--amber);
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease-out);
}
.process-step:hover .process-step__node {
  border-color: var(--amber);
  background: var(--amber-dim);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(245,166,35,0.2);
}
.process-step__card {
  flex: 1;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.1s linear, border-color 0.4s;
}
.process-step__card:hover { border-color: rgba(0,212,170,0.3); }
.process-step__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-step__card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Services Bento ---- */
.services { position: relative; overflow: hidden; }
.services__video-bg {
  position: absolute;
  inset: 0;
}
.services__video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.services__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,10,14,0.9);
}
.services .section__container { position: relative; z-index: 1; }
.services__header { margin-bottom: 3rem; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.bento__item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.bento__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s;
}
.bento__icon svg {
  width: 22px;
  height: 22px;
}
.bento__item:hover .bento__icon {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}
.bento__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.bento__item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- Network ---- */
.network { background: var(--bg); }
.network__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.network__text { color: var(--text-muted); margin-bottom: 2rem; }
.network__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.network__tag {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s;
  animation: tagFloat 4s ease-in-out infinite;
}
.network__tag:nth-child(2) { animation-delay: 0.5s; }
.network__tag:nth-child(3) { animation-delay: 1s; }
.network__tag:nth-child(4) { animation-delay: 1.5s; }
.network__tag:nth-child(5) { animation-delay: 2s; }
.network__tag:nth-child(6) { animation-delay: 2.5s; }
.network__tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: scale(1.05);
}
.network__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.network__stat {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
}
.network__stat-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.network__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}
.network__visual { position: relative; }
.network__image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.1s linear;
}
.network__image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.network__image-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,212,170,0.1) 50%, transparent 60%);
  animation: scanLine 4s ease-in-out infinite;
}
.network__orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  pointer-events: none;
}
.network__orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(245,166,35,0.2);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}
.network__orbit-ring--2 {
  inset: 20%;
  animation-direction: reverse;
  animation-duration: 15s;
}
.network__orbit-dot {
  position: absolute;
  top: 10%; left: 50%;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--amber);
  animation: orbitSpin 20s linear infinite;
  transform-origin: 0 300%;
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes scanLine {
  0%, 100% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ---- Location ---- */
.location { background: var(--bg-2); padding: 5rem 0; }
.location__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.location__image { position: relative; overflow: hidden; min-height: 320px; }
.location__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}
.location__card:hover .location__image img { transform: scale(1.08); }
.location__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.1), transparent);
}
.location__content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.location__content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.location__address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber);
}

/* ---- Contact ---- */
.contact {
  position: relative;
  padding-bottom: 5rem;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--amber-dim), transparent 60%);
}
.contact__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridDrift 30s linear infinite;
}
.contact .section__container { position: relative; z-index: 1; }
.contact__wrapper { max-width: 800px; margin: 0 auto; text-align: center; }
.contact__intro { margin-bottom: 3rem; }
.contact__intro p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.contact__title em { font-style: normal; }
.glitch-text {
  position: relative;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glitch-text::before {
  animation: glitch1 3s infinite;
  background: var(--cyan);
  -webkit-background-clip: text;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch-text::after {
  animation: glitch2 3s infinite;
  background: var(--amber);
  -webkit-background-clip: text;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
}
@keyframes glitch2 {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(3px, 1px); }
  93% { transform: translate(-3px, -1px); }
}
.contact__cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--gradient);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-out);
}
.contact-card:hover::before { transform: scaleY(1); }
.contact-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateX(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.contact-card--static { cursor: default; }
.contact-card--static:hover { transform: none; }
.contact-card__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border-radius: 10px;
  color: var(--amber);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.contact-card__body strong { font-size: 1rem; font-weight: 600; }
.contact-card__arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--amber);
  transition: transform 0.3s;
}
.contact-card:hover .contact-card__arrow { transform: translateX(6px); }

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 10;
  padding: 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: var(--rail-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.footer__copy { font-size: 0.75rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--amber); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about__grid,
  .network__grid,
  .location__card { grid-template-columns: 1fr; }
  .about__image-stack { height: 360px; margin-bottom: 2rem; }
  .about__floating-card {
    bottom: 10%;
    left: 4%;
    max-width: 200px;
    padding: 1rem;
  }
  .bento { grid-template-columns: 1fr 1fr; }
  .network__stats { grid-template-columns: 1fr; }
  .side-rail { display: none; }
  .header { padding-right: 2rem; }
  .section__container { padding-right: 2rem; }
  .hero { padding-right: 2rem; }
  .categories__scroll-wrap { padding-left: 1rem; }
  .footer__inner { padding-left: 0; justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(8,10,14,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    border-bottom: 1px solid var(--border);
  }
  .header__nav.is-open { transform: translateY(0); }
  .burger { display: flex; }
  .burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.is-active span:nth-child(2) { opacity: 0; }
  .burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__stat-divider { width: 40px; height: 1px; }
  .bento { grid-template-columns: 1fr; }
  .network__stats { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; gap: 1rem; }
  .process__line { left: 28px; }
  .hero__scroll { display: none; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
