@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Colors - Sophisticated Minimalist */
  --bg: #ffffff;
  --bg-soft: #fcfcfc;
  --text: #0a1118;
  --text-muted: #57606a;
  --accent: #0066ff;
  /* Vibrant Electric Blue */
  --logo-blue: #0b2731;
  /* Deep Naval From Logo */
  --border: #eaecf0;

  /* Layout */
  --container-width: 1280px;
  --nav-height: 80px;

  /* Motion Constants */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  /* Hide default cursor */
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  /* Dominant z-layer */
  transition: transform 0.1s;
}

#cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  /* Synchronized follower depth */
  transition: transform 0.15s ease-out, opacity 0.5s;
}


#cursor-follower.active {
  transform: scale(1.5);
  background-color: rgba(0, 102, 255, 0.05);
}

#cursor-follower.project-hover::after {
  content: 'VIEW';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0;
}

#cursor-follower.project-hover {
  width: 80px;
  height: 80px;
  background: var(--bg);
  border: 1px solid var(--border);
}

#cursor-follower.project-hover::after {
  opacity: 1;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9997;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.04;
  pointer-events: none;
}

/* Antigravity Particle Vortex */
#vortex-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Stay behind the text */
  pointer-events: none;
  opacity: 0.6;
}


h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--logo-blue);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s var(--ease);
}

ul {
  list-style: none;
}

/* Global Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .container {
    padding: 0 24px;
  }
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  /* Let clicks pass through to hero background */
  transition: all 0.4s var(--ease);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
  padding: 10px 32px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  pointer-events: auto;
  transition: all 0.5s var(--ease);
  animation: liquidShimmer 8s infinite alternate ease-in-out;
}

@keyframes liquidShimmer {
  0% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 0 0 rgba(0, 102, 255, 0);
  }

  50% {
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.08), inset 0 0 15px rgba(255, 255, 255, 0.2);
  }

  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 0 0 rgba(0, 102, 255, 0);
  }
}

.header.is-scrolled .nav-content {
  max-width: 1050px;
  background: rgba(255, 255, 255, 0.68);
  padding: 8px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.header.is-scrolled .logo img {
  height: 34px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s var(--ease);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--logo-blue);
  transition: all 0.3s var(--ease);
  margin: 0 auto;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.cta-nav {
  background: var(--logo-blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.cta-nav:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: 85%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: 48px;
  padding: 50px 30px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
  text-align: center;
}


.mobile-nav-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--logo-blue);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.mobile-nav-links a.active {
  color: var(--accent);
}


/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  background-color: var(--bg);
}

.hero-text {
  max-width: 900px;
  position: relative;
  z-index: 10;
  /* Float clearly over particles */
}

/* Fuel Specific Label Glow */
.fuel-glow-label {
  color: var(--accent) !important;
  text-shadow: 0 0 12px rgba(0, 102, 255, 0.4), 0 0 25px rgba(0, 102, 255, 0.2);
  letter-spacing: 0.2em !important;
  font-weight: 700 !important;
  animation: fuelLabelPulse 4s ease-in-out infinite;
}

@keyframes fuelLabelPulse {

  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(0, 102, 255, 0.5), 0 0 25px rgba(0, 102, 255, 0.2);
  }

  50% {
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(0, 102, 255, 0.2), 0 0 10px rgba(0, 102, 255, 0.1);
  }
}

.hero-label {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  color: var(--text);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero .btn-outline {
  border: 2px solid var(--border);
  color: var(--logo-blue);
}

.hero .btn-outline:hover {
  background: var(--logo-blue);
  color: #ffffff;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--logo-blue);
}

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

/* --- Content Sections --- */
section {
  padding: 120px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* --- Services / Features Grid --- */
/* --- THE AGENCY EXPERTISE (HUD OVERHAUL) --- */
/* --- THE AGENCY EXPERTISE (CIRCUIT TOPOLOGY) --- */
.circuit-topology {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Central Glowing Axis (The Spine) */
.circuit-axis {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(0, 102, 255, 0.15);
  z-index: 0;
}

/* The actual "Energy Pulse" moving down */
.circuit-energy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  /* Adjusted by GSAP */
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent), 0 0 30px rgba(0, 102, 255, 0.4);
  z-index: 1;
}

/* Individual Topology Item Wrapper */
.topology-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* 
 * NOTE: Removed the `.topology-item.right { flex-direction: row-reverse; } 
 * because the HTML already structurally mirrors the items (Spacer -> Connector -> Card).
 * Adding row-reverse was inadvertently flipping them back to the left side! 
 */

/* The empty space on the other side of the branch */
.topology-spacer {
  width: 45%;
}

/* The connecting branch/node */
.topology-connector {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.t-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(0, 102, 255, 0.3);
  transition: all 0.4s var(--ease);
}

.t-branch {
  position: absolute;
  top: 50%;
  height: 1.5px;
  width: 40px;
  /* Connect node to card */
  background: rgba(0, 102, 255, 0.3);
  transition: all 0.4s var(--ease);
  transform-origin: left center;
  scale: 0 1;
  /* Animated reveal */
}

.topology-item.left .t-branch {
  right: 50%;
  transform-origin: right center;
}

.topology-item.right .t-branch {
  left: 50%;
}

/* Active State (Triggered by Scroll) */
.topology-item.is-active .t-node {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

.topology-item.is-active .t-branch {
  background: var(--accent);
  scale: 1 1;
}

/* Reusing & Adapting the Service Card */
.service-card {
  position: relative;
  padding: 50px 40px;
  width: 45%;
  /* Halved for the split layout */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: 24px;
  /* Sleeker for circuit design */
  transition: all 0.5s var(--ease);
  border: 1px solid rgba(0, 102, 255, 0.15);
  /* Slightly blue-tinted border */
  overflow: hidden;
  opacity: 0.3;
  /* Start dim */
  transform: translateY(20px);
}

/* The scanning border from Blueprint/Roadmap */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.4),
      rgba(255, 255, 255, 0.1),
      rgba(0, 102, 255, 0.4));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: borderFlow 8s linear infinite;
  opacity: 0;
  /* Hidden until active */
  transition: opacity 0.5s var(--ease);
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.topology-item.is-active .service-card {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.85);
  /* Frosty activation */
  box-shadow: 0 30px 60px rgba(0, 102, 255, 0.08);
  /* Glow footprint */
}

.topology-item.is-active .service-card::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 40px 80px rgba(0, 102, 255, 0.12);
}

.hud-id {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.8;
  letter-spacing: 0.15em;
  z-index: 5;
  background: rgba(0, 102, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background: white;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 102, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-muted);
  /* Starts neutral */
  transition: all 0.4s var(--ease);
}

.topology-item.is-active .service-card .icon {
  color: var(--accent);
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.03);
}

.service-card:hover .icon {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--logo-blue);
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(0, 102, 255, 0.1),
      transparent 80%);
  opacity: var(--glow-opacity, 0);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: 0;
}

/* Mobile Responsive Overrides */
@media (max-width: 900px) {
  .circuit-axis {
    left: 30px;
    /* Move axis to left */
  }

  .topology-connector {
    left: 30px;
  }

  .topology-spacer {
    display: none;
    /* Remove empty spacing */
  }

  .service-card {
    width: calc(100% - 70px) !important;
    /* Leave room for axis */
    margin-left: auto;
  }

  .topology-item.left .t-branch {
    right: auto;
    left: 50%;
    /* Normalize branch origin */
    transform-origin: left center;
  }
}


/* Logo Strip (Trusted By) */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.5s var(--ease);
}

.logo-strip:hover {
  filter: grayscale(0) opacity(1);
}

.logo-strip span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--logo-blue);
}

/* Signature Cards (Home Page Works) */
.signature-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: var(--bg-soft);
  cursor: pointer;
  height: 600px;
}

.signature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.signature-card:hover img {
  transform: scale(1.05);
}

.signature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.signature-content h3 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.signature-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

/* --- THE FLEET PHILOSOPHY (HUD OVERHAUL) --- */
.philosophy-hud-section {
  padding: 160px 0 80px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.philosophy-card {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid rgba(0, 102, 255, 0.12);
  border-radius: 60px;
  padding: 80px;
  overflow: hidden;
  /* For Canvas boundaries */
  box-shadow: 0 40px 100px rgba(0, 102, 255, 0.05);
  z-index: 5;
}

#philosophyGridCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

.philosophy-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.narrative-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
}

.hud-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hud-stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(0, 102, 255, 0.15);
  border-radius: 20px;
  transition: all 0.5s var(--ease);
  animation: liquidShimmer 8s infinite alternate ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.05);
}

.hud-stat-item:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--logo-blue);
  margin-bottom: 4px;
}

.philosophy-card::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.narrative-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* --- THE TETHER SYSTEM --- */
.tether-system {
  position: relative;
  width: 2px;
  height: 250px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 4px auto 0;
  /* Align with the new port */
  z-index: 10;
}

.tether-node {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
  transform: translate(-50%, -50%);
  will-change: transform;
  z-index: 15;
}

/* Gallery Experience (Signature Overhaul) */
.gallery-section {
  padding: 160px 0;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.gallery-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-item.left {
  align-items: flex-start;
}

.gallery-item.right {
  align-items: flex-end;
}

.parallax-window {
  position: relative;
  width: 65%;
  /* Editorial Asymmetry */
  height: 700px;
  overflow: hidden;
  border-radius: 40px;
  background-color: var(--bg-soft);
  cursor: pointer;
}

.gallery-item.right .parallax-window {
  width: 50%;
  /* Different proportions for rhythm */
}

.parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  /* Excess for parallax effect */
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-caption {
  margin-top: 40px;
  max-width: 500px;
}

.gallery-caption .category {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.gallery-caption h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.gallery-caption p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.gallery-metadata {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--logo-blue);
}

/* Portfolio Masonry */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: var(--bg-soft);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(4, 10, 16, 0.98) 0%, rgba(4, 10, 16, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Primary driver to push content down */
  align-items: flex-start;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.portfolio-item:hover .item-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.overlay-top {
  position: absolute;
  top: 35px;
  left: 35px;
  right: 35px;
  display: flex;
  justify-content: flex-end;
  /* Pin IDs to top-right */
  align-items: center;
  z-index: 5;
}

.overlay-info {
  width: 100%;
  margin-top: auto;
  /* Force to the absolute bottom of the flex column */
  position: relative;
  z-index: 6;
}

.overlay-info .hero-label {
  margin-bottom: 6px;
  display: block;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.overlay-info h3 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.overlay-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 380px;
}


.open-briefing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent) !important;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}


.open-briefing:hover {
  color: #fff !important;
  gap: 12px;
}

.open-briefing .arrow {
  transition: transform 0.3s var(--ease);
}

.open-briefing:hover .arrow {
  transform: translateX(4px);
}


/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
}

.team-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px;
  background: var(--bg-soft);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Mission Briefing Contact System --- */
.hero-split {
  padding: 140px 0 0;
  background: #ffffff;
}

.hero-split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-split-text h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--logo-blue);
}

.hero-split-visual {
  position: relative;
  height: 400px;
}

#contactTacticalCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.briefing-segment {
  margin-bottom: 60px;
}

.segment-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.segment-index {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 102, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.segment-header h2 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--logo-blue);
  text-transform: uppercase;
}

/* Service Tiles */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tile-radio {
  cursor: pointer;
}

.tile-radio input {
  display: none;
}

.tile-content {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tile-radio input:checked+.tile-content {
  background: var(--logo-blue);
  color: #fff;
  border-color: var(--logo-blue);
  box-shadow: 0 10px 30px rgba(11, 39, 49, 0.15);
  transform: translateY(-2px);
}

.tile-radio:hover .tile-content {
  border-color: var(--accent);
  color: var(--accent);
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* Form Controls */
.mission-briefing-form textarea,
.mission-briefing-form input {
  width: 100%;
  padding: 18px 20px;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}

.mission-briefing-form textarea:focus,
.mission-briefing-form input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.05);
}

/* Launch Button */
.btn-briefing-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 24px;
  background: var(--logo-blue);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-briefing-launch:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

/* Info Siderbar */
.briefing-info {
  padding-top: 20px;
}

.brief-info-block {
  margin-bottom: 40px;
}

.hud-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.brief-info-block p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-blue);
}

.brief-socials {
  display: flex;
  gap: 20px;
}

.brief-socials a {
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s;
}

.brief-socials a:hover {
  color: var(--logo-blue);
}

.footer {
  position: relative;
  margin-top: 60px;
  /* Space to reveal the rounding against the page */
  padding: 80px 0 40px;
  background: #05141a;
  /* Matched to CTA background */
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 60px 60px 0 0;
  /* Standard high-end rounding */
}

/* Massive watermark behind the links */
.footer-watermark {
  position: absolute;
  bottom: -10px;
  right: 0;
  font-size: clamp(6rem, 15vw, 14rem);
  /* Slightly scaled down watermark */
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  z-index: 1;
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  /* Slightly adjusted ratios */
  gap: 80px;
  /* Reduced gap */
  margin-bottom: 60px;
  /* Reduced bottom margin */
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand .logo img {
  height: 28px;
  /* Slightly smaller logo */
  width: auto;
}

.footer-mission {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  /* Slightly smaller text */
  line-height: 1.5;
  max-width: 360px;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.nav-column {
  display: flex;
  flex-direction: column;
}

.column-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  /* Reduced bottom margin */
}

.footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: all 0.3s var(--ease);
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.footer-link:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-link:hover::after {
  width: 20px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.precision-tag {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3em;
  font-size: 0.75rem;
}


/* --- Animations --- */


@media (max-width: 1024px) {

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {

  .services-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* --- HOME PAGE EXPANSION STYLES --- */

/* Infinite Marquee */
.marquee-track {
  width: 100%;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 120px;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-inner span {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-right: 60px;
  letter-spacing: -0.02em;
}

.marquee-inner .sep {
  color: var(--accent);
}

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

  100% {
    transform: translateX(-33.333%);
  }
}

/* Fuel Reactor Cluster */
.fuel-reactor-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 120px;
  perspective: 1000px;
}

/* Fuel Schematic Background (The Reactor Floor) */
.fuel-schematic-container {
  position: relative;
  width: 100%;
  background: white;
  overflow: visible;
  /* Allow modules to expand over edges */
}

/* Technical Blueprint Grid (Canvas Interactive Mesh) */
#fuelGridCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mask-image: linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
  pointer-events: none;
}

/* Dynamic Energy Glows */
.energy-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%); /* Centering base */
  z-index: 1;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}

/* Secondary Background Glow */
.fuel-schematic-container::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(60px);
}

/* Fuel Reactor Cluster (Stable Grid Fix) */
.fuel-reactor-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 120px;
  perspective: 1000px;
  position: relative;
  z-index: 2;
}

.fuel-reactor-cluster .tech-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--logo-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  width: 100%;
  /* Fit Grid Cell by default */
  height: 64px;
  animation: fuelFloat 6s ease-in-out infinite both;
  z-index: 1;
}

/* Expansion without Displacing Neighbors */
.fuel-reactor-cluster .tech-tag:hover,
.fuel-reactor-cluster .tech-tag.active-expand {
  background: white;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.08);
  width: 600px;
  /* Expand out of grid cell */
  z-index: 50;
  /* Rise above neighbors */
}

.tag-label {
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.cell-brief {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
  padding-left: 20px;
  border-left: 1.5px solid rgba(0, 102, 255, 0.15);
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  white-space: normal;
  line-height: 1.4;
  flex: 1;
  pointer-events: none;
}

.fuel-reactor-cluster .tech-tag:hover .cell-brief,
.fuel-reactor-cluster .tech-tag.active-expand .cell-brief {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.15s;
}

/* Pulsing Active Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
  }

  70% {
    transform: scale(1.1);
    opacity: 0.7;
    box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

@keyframes fuelFloat {

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

  50% {
    transform: translateY(-8px);
  }
}

.fuel-reactor-cluster .tech-tag:nth-child(even) {
  animation-delay: -2s;
}

.fuel-reactor-cluster .tech-tag:nth-child(3n) {
  animation-delay: -4s;
}

.fuel-reactor-cluster .tech-tag:nth-child(5n) {
  animation-delay: -1.5s;
}

/* Horizontal Schematic Roadmap (The Blueprint) */
.roadmap-schematic {
  overflow: hidden;
  padding-bottom: 160px !important;
  background: white;
}

.roadmap-wrapper {
  position: relative;
  width: 100%;
  margin: 60px 0 0;
  min-height: 440px;
  display: flex;
  align-items: center;
}

/* SVG Connecting Trace (Horizon to Horizon) */
.blueprint-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.base-path {
  fill: none;
  stroke: rgba(0, 102, 255, 0.04);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pulse-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  /* Removed CSS animation to handle it via GSAP for Photonic Sync */
  filter: drop-shadow(0 0 12px var(--accent));
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.glass-roadmap-card {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(0, 102, 255, 0.08);
  border-radius: 40px;
  padding: 64px 40px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: visible;
}

/* Photonic Boost Effect - Refined Snappy Response */
.glass-roadmap-card.photon-boost {
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.2);
  transform: translateY(-15px) scale(1.03);
  filter: brightness(1.2);
  transition: all 0.1s var(--ease) !important;
}

.glass-roadmap-card .step-num {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(0, 102, 255, 0.1);
  margin-bottom: 24px;
  line-height: 1;
  transition: all 0.5s ease;
}

.photon-boost .step-num {
  color: var(--accent);
  transform: scale(1.1);
  text-shadow: 0 0 25px rgba(0, 102, 255, 0.3);
}

.glass-roadmap-card h3 {
  font-size: 1.85rem;
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.photon-boost h3 {
  color: var(--accent);
}

.glass-roadmap-card p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.15rem;
}

.card-hud {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 102, 255, 0.08);
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.photon-boost .card-hud {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.photon-boost .card-glow {
  opacity: 1;
}

@media (max-width: 1100px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blueprint-svg {
    display: none;
  }
}

/* Elite Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 120px auto;
}

.insight-card {
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 40px;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  /* Hardware Acceleration */
}

.insight-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.4);
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

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

/* Tactical Sphere Canvas */
#tacticalSphereCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.tactical-card:hover #tacticalSphereCanvas {
  opacity: 1;
}



/* Electric Performance Core Engine (SVG Animation) */
.performance-schematic-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  /* Adjusted for centered background legibility */
  transition: all 0.5s ease;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.core-card:hover .performance-schematic-svg {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1.05);
  /* keep centered! */
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.2));
}

/* CSS Keyframe Sequence for "Electricity Drawing" */

/* Base Setup */
.performance-schematic-svg path,
.performance-schematic-svg rect,
.performance-schematic-svg polygon,
.performance-schematic-svg line,
.performance-schematic-svg circle {
  transform-origin: center;
  transform-box: fill-box;
}

/* 1. Core Logic (The Heart) */
.chip-logic-core {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  animation: electricBreath 3s infinite;
}

.chip-logic-core-inner {
  fill: var(--accent);
  opacity: 0.5;
  animation: electricBreath 3s infinite 0.1s;
}

/* 2. Electric Expansion Lines */
.chip-shield.inner,
.chip-shield,
.chip-pins,
.outer-trace,
.ground-line,
.ground-pattern {
  fill: none;
  stroke: var(--logo-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  /* Long enough to cover any path */
  stroke-dashoffset: 400;
  /* Hidden by offset */
}

/* Sequential outward drawing delays */
.chip-shield.inner {
  animation: drawElectricity 3s infinite 0.15s;
}

.chip-shield {
  animation: drawElectricity 3s infinite 0.3s;
}

.chip-pins {
  animation: drawElectricity 3s infinite 0.45s;
}

.outer-trace {
  animation: drawElectricity 3s infinite 0.6s;
  stroke-width: 2;
}

.ground-line,
.ground-pattern,
.decor-star {
  animation: drawElectricity 3s infinite 0.9s;
  stroke-width: 2;
}

/* 3. Terminal Nodes */
.terminal-node {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  animation: electricTerminal 3s infinite 0.9s;
}

.decor-dot {
  fill: var(--logo-blue);
  opacity: 0;
  animation: electricTerminal 3s infinite 1.2s;
}

/* Keyframes */
@keyframes electricBreath {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.5;
    filter: drop-shadow(0 0 0 transparent);
  }

  5% {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 15px var(--accent));
    stroke: #fff;
  }

  15%,
  85% {
    transform: scale(1);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px var(--accent));
  }
}

@keyframes drawElectricity {
  0% {
    stroke-dashoffset: 400;
    opacity: 1;
    stroke: #fff;
    filter: drop-shadow(0 0 10px #fff);
  }

  20% {
    stroke-dashoffset: 0;
    stroke: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent));
  }

  35%,
  85% {
    stroke-dashoffset: 0;
    stroke: var(--logo-blue);
    filter: drop-shadow(0 0 0 transparent);
    opacity: 0.7;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes electricTerminal {
  0% {
    transform: scale(0.2);
    opacity: 0;
    fill: transparent;
  }

  15% {
    transform: scale(1.5);
    opacity: 1;
    fill: var(--accent);
    stroke: #fff;
    filter: drop-shadow(0 0 12px var(--accent));
  }

  30%,
  85% {
    transform: scale(1);
    opacity: 0.8;
    fill: transparent;
    stroke: var(--accent);
    filter: none;
  }

  100% {
    opacity: 0;
  }
}

/* Remove stray pulses */
.core-card::after {
  display: none;
}

.insight-card h3 {
  font-size: 1.6rem;
  margin: 20px 0 24px;
  position: relative;
  z-index: 2;
}

.insight-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.insight-card .hero-label {
  position: relative;
  z-index: 2;
}

/* Fluid Liquid Card Effect */
.fluid-card {
  background: rgba(0, 102, 255, 0.05);
  /* Slight blue tint for the glass */
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: inset 0 0 40px rgba(0, 102, 255, 0.1);
}

.fluid-content {
  position: relative;
  z-index: 2;
}

.liquid-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: -320px;
  /* Lowered the liquid level */
  left: 50%;
  width: 600px;
  height: 600px;
  margin-left: -300px;
  background: var(--accent);
  border-radius: 43%;
  animation: liquidDrift 10s infinite linear;
  will-change: transform;
  transform: translateZ(0);
  /* Hardware accelerate rotation */
}

.wave1 {
  background: var(--accent);
  opacity: 0.9;
  animation: liquidDrift 12s infinite linear;
}

.wave2 {
  background: rgba(0, 150, 255, 0.6);
  border-radius: 40%;
  animation: liquidDrift 16s infinite linear;
}

.wave3 {
  background: rgba(0, 200, 255, 0.4);
  border-radius: 46%;
  animation: liquidDrift 14s infinite linear;
}

@keyframes liquidDrift {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* --- Launchpad CTA Buttons --- */
.crypto-launchpad .btn-primary {
  position: relative;
  padding: 22px 56px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 16px;
  box-shadow:
    0 0 20px rgba(0, 102, 255, 0.4),
    0 0 60px rgba(0, 102, 255, 0.15);
  animation: ctaBreath 3s ease-in-out infinite;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

/* Shimmer sweep across the button */
.crypto-launchpad .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%);
  transition: left 0.6s ease;
}

.crypto-launchpad .btn-primary:hover::before {
  left: 100%;
}

.crypto-launchpad .btn-primary:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 0 30px rgba(0, 102, 255, 0.6),
    0 0 80px rgba(0, 102, 255, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.crypto-launchpad .btn-primary:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

@keyframes ctaBreath {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 60px rgba(0, 102, 255, 0.12);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.55), 0 0 80px rgba(0, 102, 255, 0.2);
  }
}

/* Frosted glass outline button */
.crypto-launchpad .btn-outline {
  padding: 22px 56px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.crypto-launchpad .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .crypto-launchpad {
    padding: 100px 24px;
    border-radius: 40px;
  }

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

/* --- THE EXHIBIT (HORIZONTAL SHOWCASE) --- */
.horizontal-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: white;
}

.horizontal-track {
  display: flex;
  width: 400vw;
  /* 4 cards */
  height: 100vh;
  will-change: transform;
}

.showcase-card {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 100px;
  flex-shrink: 0;
}

.showcase-card.intro h2 {
  font-size: clamp(3rem, 10vw, 8rem);
  margin-bottom: 20px;
}

/* Project Split Layout */
.project-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

.project-split.inverted {
  grid-template-columns: 0.8fr 1.2fr;
}

.project-split.inverted .project-visual {
  order: 2;
}

.project-visual {
  position: relative;
  height: 600px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
  background: var(--bg-soft);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  max-width: 500px;
}

.project-info h3 {
  font-size: 3.5rem;
  margin: 10px 0 24px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.meta-row {
  display: flex;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Blueprint Overlay */
.blueprint-overlay {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 5;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: rgba(0, 102, 255, 0.4);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 102, 255, 0.1);
}

/* Pulse Nodes */
.pulse-node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
  animation: pulseNode 2s infinite;
}

.pulse-node::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--logo-blue);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.pulse-node:hover::after {
  opacity: 1;
  top: -45px;
}

@keyframes pulseNode {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

@media (max-width: 1024px) {
  .horizontal-track {
    display: block;
    width: 100%;
    height: auto;
  }

  .showcase-card {
    width: 100%;
    height: auto;
    padding: 100px 24px;
    border-bottom: 1px solid var(--border);
  }

  .project-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-split.inverted .project-visual {
    order: 0;
  }
}

/* --- THE CRYSTAL SHOWCASE (GLASS SLIDER) --- */
.glass-showcase {
  margin-bottom: 120px;
}

.slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden; /* Hide the rest of the strip */
  padding: 120px 0; /* Expanded to prevent shadow clipping */
}

.glass-slider-track {
  display: flex;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}

.glass-slide {
  flex: 0 0 clamp(1000px, 90vw, 1350px); /* Expanded for massive pics + readable text */
  padding: 0 20px;
  opacity: 1; /* All cards fully visible in the strip */
  transform: scale(1);
  transition: transform 0.8s var(--ease);
}

/* Hover effect on individual cards in the strip */
.glass-slide:hover {
  transform: translateY(-10px);
}

.slide-content {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: none;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Rebalanced for better text flow */
  gap: 100px;
  align-items: center;
  box-shadow: none;
}

.slide-visual {
  position: relative;
  height: auto; /* Allow natural height */
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  background: #fff; /* White base for the screenshot */
}

.slide-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.slide-info h3 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  margin: 10px 0 20px;
  line-height: 1.1;
}

.slide-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* --- STRATEGIC PARTNER NETWORK MARQUEE --- */
.marquee-track .partner-tag {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 120px;
  gap: 15px;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
  flex-shrink: 0;
  /* Critical for loop integrity */
}

.marquee-track .partner-tag:hover {
  opacity: 1;
}

.marquee-track .hud-status {

  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: hudPulse 2s infinite;
}

.marquee-track .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text);
}

.marquee-track .hud-coords {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.5;
}


@keyframes hudPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}



/* Glass Slider Navigation */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.nav-arrow {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-blue);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.4s var(--ease);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.nav-arrow:hover {
  background: white;
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.nav-arrow svg {
  transition: transform 0.4s var(--ease);
}

.nav-arrow:hover svg {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .slide-content {
    grid-template-columns: 1fr;
    padding: 30px;
    border-radius: 40px;
  }

  .slide-visual {
    height: 400px;
  }

  .slide-info h3 {
    font-size: 1.6rem;
  }

  .slider-controls {
    position: static;
    transform: none;
    margin-top: 40px;
    justify-content: center;
    gap: 24px;
  }
}

/* --- ABOUT PAGE SPECIFICS --- */
.hero-split {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 140px 0;
  overflow: hidden;
}

.hero-split-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-split-text h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 24px;
}

.hero-split-visual {
  position: relative;
  height: 500px;
}

#aboutTacticalCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
}

/* Directives Grid */
.directives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.directive-card {
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 32px;
  transition: all 0.5s var(--ease);
  position: relative;
}

.directive-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  background: white;
  box-shadow: 0 40px 80px rgba(0, 102, 255, 0.08);
}

.dir-id {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0.6;
}

.dir-icon {
  margin-bottom: 24px;
}

.directive-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.directive-card p {
  color: var(--text-muted);
}

/* Blueprint Block */
.blueprint-block {
  background: #05141a;
  padding: 120px 0;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border-radius: 80px;
}

.blueprint-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.blueprint-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blueprint-label {
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.blueprint-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: brightness(0.8) contrast(1.2);
}

.bp-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(11, 39, 49, 0.8);
  backdrop-filter: blur(8px);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  font-size: 0.7rem;
}

.blueprint-text h2 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.blueprint-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.bp-specs {
  display: flex;
  gap: 48px;
}

.spec-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.spec-lab {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* Mission Timeline */
.mission-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.mission-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 80px;
}

.time-marker {
  position: absolute;
  left: -10px;
  top: 0;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
}

.timeline-item h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

@media (max-width: 1024px) {

  .hero-split-content,
  .blueprint-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .blueprint-visual {
    order: 2;
  }
}

/* ==========================================================================
   Expertise & Services Architectural Styles
   ========================================================================== */

.expertise-architecture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.expertise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.expertise-card:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 102, 255, 0.08);
}

.expertise-card .icon-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.expertise-card h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.expertise-specs {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-node {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-node .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.spec-node span {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Lifecycle Section */
.lifecycle-section {
  padding: 140px 0;
  position: relative;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.lifecycle-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.lifecycle-card:hover {
  border-color: var(--accent);
  background: var(--bg-soft);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.06);
}

.lifecycle-card .step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  position: absolute;
  top: 20px;
  right: 30px;
}

.lifecycle-card h4 {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.lifecycle-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.lifecycle-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Main Services Matrix Styles
   ========================================================================== */

.main-services-matrix {
  padding: 100px 0;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.matrix-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 48px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.matrix-card:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0, 102, 255, 0.1);
}

.matrix-card .matrix-icon {
  width: 100px;
  height: 100px;
  background: rgba(0, 102, 255, 0.05);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  color: var(--accent);
  transition: all 0.4s var(--ease);
}

.matrix-card:hover .matrix-icon {
  background: var(--accent);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.matrix-card h3 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--text);
}

.matrix-card p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 320px;
}

.matrix-card .cta-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.matrix-card .cta-link::after {
  content: 'â†’';
  transition: transform 0.3s var(--ease);
}

.matrix-card:hover .cta-link::after {
  transform: translateX(8px);

}

/* --- THE PHOTONIC GALLERY (PORTFOLIO) --- */
.filter-system {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2);
}

.photonic-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.portfolio-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}

.portfolio-item.hidden {
  display: none;
}

/* Masonry Spanning */
.portfolio-item.flagship {
  grid-column: span 2;
}

.item-visual {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0b2731;
  /* Tech Naval placeholder */
  overflow: hidden;
}

.portfolio-item.flagship .item-visual {
  aspect-ratio: 16 / 7;
}

.portfolio-item.portrait .item-visual {
  aspect-ratio: 4 / 5;
}

.portfolio-item.landscape .item-visual {
  aspect-ratio: 21 / 9;
}

.portfolio-item:not(.flagship):not(.portrait):not(.landscape) .item-visual {
  aspect-ratio: 1 / 1;
}

.item-visual img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  will-change: transform;
}

.portfolio-item:hover .item-visual img {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 24, 0.9) 0%, rgba(10, 17, 24, 0.2) 50%, transparent 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.5s var(--ease), backdrop-filter 0.5s;
  z-index: 2;
  pointer-events: none;
}

.portfolio-item:hover .item-overlay {
  opacity: 1;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transform: translateY(-20px);
  transition: transform 0.5s var(--ease);
}

.portfolio-item:hover .overlay-top {
  transform: translateY(0);
}

.overlay-info {
  transform: translateY(20px);
  transition: transform 0.5s var(--ease);
}

.portfolio-item:hover .overlay-info {
  transform: translateY(0);
}

.overlay-info h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.overlay-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 400px;
}

.tech-stack {
  display: flex;
  gap: 8px;
}

.tech-stack span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Outfit', sans-serif;
}

.view-project .arrow {
  transition: transform 0.3s var(--ease);
}

.portfolio-item:hover .view-project .arrow {
  transform: translateX(6px);
}

/* RGB Prism Effect Container (Applied via JS) */
.rgb-prism {
  filter: url(#rgb-split);
}

@media (max-width: 900px) {
  .photonic-masonry {
    grid-template-columns: 1fr;
  }

  .portfolio-item.flagship {
    grid-column: span 1;
  }

  .portfolio-info h3 {
    font-size: 1.5rem;
  }
}




/* --- Contact Page Expansion --- */
.sync-protocol {
  padding: 100px 0;
  background: #fbfbfc;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.protocol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 50px;
  position: relative;
  transition: all 0.5s var(--ease);
}

.protocol-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0, 102, 255, 0.05);
}

.protocol-card .step-id {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 24px;
}

.protocol-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.protocol-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.protocol-line {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

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

  .protocol-line {
    display: none;
  }
}

/* Availability HUD */
.availability-hud {
  background: rgba(0, 102, 255, 0.03);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: #27ae60;
  border-radius: 50%;
  box-shadow: 0 0 12px #27ae60;
  animation: statusPulseContact 2.5s infinite;
}

.status-text {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #27ae60;
}

@keyframes statusPulseContact {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hud-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 102, 255, 0.05);
}

/* FAQ Logic Fragments */
.faq-section {
  padding: 100px 0 140px;
}

.faq-grid {
  max-width: 900px;
  margin: 60px auto 0;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq-trigger {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  font-family: inherit;
}

.faq-icon {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  padding: 0 32px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0, 102, 255, 0.05);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  padding-bottom: 32px;
}



.faq-item.active .faq-icon {
  transform: rotate(45deg);
}





/* --- FOUNDER PROFILE (BIOGRAPHY BOARD) --- */
.founder-profile {
  padding: 140px 0;
  border-bottom: 1px solid var(--border);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.founder-visual {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.1);
  /* Subtle editorial treatment */
  transition: transform 0.8s var(--ease);
}

.founder-visual:hover .founder-portrait {
  transform: scale(1.05);
  /* Interactive depth */
}


.visual-accent {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
}

.founder-label {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
}

.founder-text h2 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 40px;
  font-weight: 800;
}

.founder-text p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founder-text h2 {
    font-size: 3rem;
  }

  .founder-visual {
    aspect-ratio: 1/1;
  }
}

/* --- ULTIMATE RESPONSIVE ENGINE --- */

/* 1. Global Scaling & Cursor Optimization */
@media (max-width: 1024px) {
  :root {
    --container-width: 100%;
  }
}

@media (pointer: coarse) {

  #custom-cursor,
  #cursor-follower {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}

/* 2. Header & Navigation (Breakpoint: 900px) */
@media (max-width: 900px) {

  .nav-links,
  .cta-nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    top: 15px;
  }

  .nav-content {
    padding: 8px 16px;
    margin: 0 15px;
  }

  .logo img {
    height: 32px;
  }
}

/* 3. Hero Section Tuning */
@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 4. Fuel & Tech Stack (Reactor) */
@media (max-width: 900px) {
  .fuel-reactor-cluster {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .tech-tag {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .fuel-reactor-cluster {
    grid-template-columns: 1fr;
  }
}

/* 5. Roadmap Schematic (Blueprint) */
@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .roadmap-wrapper {
    padding-top: 40px;
  }

  .blueprint-svg {
    display: none;
    /* Hide horizontal trace on vertical layout */
  }

  .roadmap-card {
    text-align: left;
    max-width: 100%;
  }
}

/* 6. Philosophy HUD */
@media (max-width: 1024px) {
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .philosophy-card {
    padding: 50px 30px;
    border-radius: 40px;
  }

  .narrative-text p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hud-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 7. Glass Slider (Showcase) */
@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .glass-slide .slide-content {
    flex-direction: column;
    gap: 30px;
  }

  .slide-visual {
    width: 100%;
    height: 250px;
  }

  .slide-info {
    width: 100%;
    padding: 0;
  }

  .glass-showcase h2 {
    font-size: 1.6rem;
  }
}

/* 8. Insights Grid */
@media (max-width: 900px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .insight-card {
    min-height: 280px;
  }
}

/* 9. Footer */
@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    text-align: left;
  }

  .footer-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
    max-width: 100%;
  }

  .footer-mission {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
  }

  .footer-navigation {
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
  }

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

/* 10. Specialized Pages Layouts (About, Services, Contact) */
@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .hero-split-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-split-visual {
    width: 100%;
    height: 300px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .blueprint-content {
    flex-direction: column;
  }

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

  .briefing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}


/* --- GLASSY SCROLL TOP BUTTON --- */
.scroll-top-glass {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--logo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.scroll-top-glass.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.scroll-top-glass:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
  transform: translateX(-50%) translateY(-5px);
}

.scroll-top-glass svg {
  transition: transform 0.3s var(--ease);
}

.scroll-top-glass:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  html {
    font-size: 70% !important;
  }

  .crypto-launchpad {
    padding: 120px 60px 140px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .crypto-launchpad h2 {
    font-size: 3.5rem !important;
    margin-bottom: 24px !important;
  }

  .crypto-launchpad .btn {
    padding: 12px 28px !important;
    font-size: 1.5rem !important;
  }

  .scroll-top-glass {
    bottom: 30px;
    width: 48px;
    height: 48px;
  }
}






/* --- THE CRYSTAL LAUNCHPAD (FINAL CTA) --- */
.crypto-launchpad {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 0;
  border-radius: 48px;
  background: #0a1118;
  margin: 120px auto 60px;
  max-width: var(--container-width);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

#launchpadSphereCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.launchpad-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 40px;
}

.crypto-launchpad h2 {
  color: #fff;
  margin: 20px 0 40px;
}



/* --- CONTACT ICONS & BRIEFING ENHANCEMENTS --- */
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  stroke: none;
  flex-shrink: 0;
}

.brief-info-block p {
  line-height: 1.8;
  margin: 0;
}

.brief-socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease);
}

.brief-socials a:hover {
  color: var(--accent);
}

/* --- FINAL MOBILE RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100vw;
  }

  .container,
  .founder-profile,
  .hero-split-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .nav-content {
    width: calc(100% - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    margin: 0 auto !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  .header {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
  }

  /* Force Glass Slider to Vertical on Mobile */
  .glass-slider-track {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .glass-slide {
    flex: 0 0 auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 20px 0 !important;
    margin-bottom: 30px !important;
  }

  .slide-content {
    grid-template-columns: 1fr !important;
    padding: 30px 20px !important;
    border-radius: 32px !important;
  }

  .slide-visual {
    height: 250px !important;
    width: 100% !important;
  }

  .slider-controls {
    display: none !important;
  }

  /* Visibility Fallbacks for Sections */
  .crypto-launchpad,
  .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .roadmap-schematic {
    overflow: visible !important;
  }

  .roadmap-wrapper {
    display: block !important;
    min-height: auto !important;
    margin-top: 20px !important;
  }

  /* Disable roadmap animation and active states on mobile */
  .glass-roadmap-card.photon-boost {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(0, 102, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.42) !important;
    filter: none !important;
  }

  .glass-roadmap-card.photon-boost .step-num {
    color: rgba(0, 102, 255, 0.1) !important;
    transform: none !important;
    text-shadow: none !important;
  }

  .glass-roadmap-card.photon-boost h3 {
    color: inherit !important;
  }

  .glass-roadmap-card.photon-boost .card-hud {
    opacity: 0.4 !important;
  }

  .glass-roadmap-card.photon-boost .card-glow {
    opacity: 0 !important;
  }

  /* Constrain Canvases & SVGs */
  canvas,
  svg {
    max-width: 100% !important;
  }

  .founder-grid {
    gap: 40px !important;
  }

  .hero-split-text h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem) !important;
    line-height: 1.1 !important;
  }

  .hero-label {
    margin-bottom: 16px !important;
  }

  /* 11. Footer Compactness (User Request) */
  .footer {
    padding: 60px 0 30px !important;
    margin-top: 40px !important;
  }

  .footer-top {
    margin-bottom: 30px !important;
    gap: 30px !important;
  }

  .column-title {
    margin-bottom: 12px !important;
  }

  .footer-link {
    margin-bottom: 8px !important;
  }

  .footer-bottom {
    padding-top: 24px !important;
  }
}



































/* ======================================== */
/* APP TOUR - SCREENSHOT SHOWCASE SECTION   */
/* ======================================== */
.app-tour-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  position: relative;
}

.app-tour-section .section-head h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.tour-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 48px 0 40px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  border: 1px solid #eaecf0;
}

.tour-tab {
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #57606a;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tour-tab:hover {
  color: #0066ff;
  background: rgba(0, 102, 255, 0.06);
}

.tour-tab.active {
  background: #0066ff;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25);
}

.tour-panel {
  display: none;
}

.tour-panel.active {
  display: block;
  animation: panelFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.tour-screenshot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tour-screenshot {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #eaecf0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.tour-screenshot:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 102, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tour-feature-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 120px;
}

.tour-module-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0066ff;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
}

.tour-feature-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #0b2731;
  line-height: 1.15;
}

.tour-feature-info>p {
  font-size: 1.05rem;
  color: #57606a;
  line-height: 1.7;
  margin-bottom: 32px;
}

.tour-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: #57606a;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid #eaecf0;
  transition: background 0.3s, border-color 0.3s;
}

.tour-feature-list li:hover {
  background: rgba(0, 102, 255, 0.04);
  border-color: rgba(0, 102, 255, 0.15);
}

.tour-feature-list li strong {
  color: #0b2731;
}

.feat-icon {
  color: #0066ff;
  font-size: 0.7rem;
  margin-top: 4px;
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 960px) {
  .tour-feature-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tour-feature-info {
    position: static;
  }
}

@media (max-width: 600px) {
  .tour-tabs {
    gap: 6px;
  }

  .tour-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .tour-feature-list li {
    font-size: 0.9rem;
  }
}

/* ======================================================= */
/* STICKY SCROLL - APP TOUR (Scroll Storytelling Pattern)   */
/* ======================================================= */
.ss-outer {
  padding: 0;
  background: var(--bg);
  position: relative;
  z-index: 1; /* Keep sticky content in its own layer */
}

/* ---- Centered sticky title — Now inside sticky block ---- */
.ss-section-title {
  text-align: center;
  padding: clamp(20px, 2.5vw, 40px) 20px 0;
  background: var(--bg);
  z-index: 10;
  flex-shrink: 0;
}
.ss-section-title .hero-label {
  display: block;
  margin-bottom: 8px;
}
.ss-section-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--logo-blue);
  margin: 0 0 20px;
}

/* Progress bar + counter row, centered under heading */
.ss-title-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: auto;
}
/* Dots container centered under heading */
.ss-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: auto;
}

.ss-dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ss-dot:hover {
  background: rgba(0, 102, 255, 0.2);
}

.ss-dot.active {
  width: 28px;
  border-radius: 99px;
  background: #0066ff;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.5);
}

/* Tall scroll-room wrapper: 7 steps */
.ss-scroll-wrapper {
  height: calc(7 * (100vh - 80px));
  position: relative;
}

/* The sticky frame — contains header + display */
.ss-sticky {
  position: sticky;
  top: 80px;
  width: 100%;
  height: calc(100vh - 80px);
  max-height: 1000px; /* Increased for breathing room */
  min-height: 720px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
  overflow: visible; /* Allow shadows to bleed out */
  background: transparent; /* No background here to avoid clipping line */
  border: none;
  z-index: 5;
}

/* ---- MODULE TABS — centered under heading, above progress bar ---- */
.ss-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 16px);
  width: 100%;
  flex-shrink: 0;
  padding: 14px clamp(20px, 3vw, 60px) 12px;
  border: none;
  background: transparent;
  flex-wrap: wrap;
  pointer-events: auto;
}

/* Horizontal progress bar — sits at the bottom edge of the nav bar */
.ss-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  transform: none;
  width: 100%;
  height: 3px;
  background: #eaecf0;
  border-radius: 0;
}
.ss-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0066ff, #00c6ff);
  border-radius: 0;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

.ss-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 6px clamp(10px, 1.2vw, 18px);
  border-radius: 999px;
  transition: all 0.3s;
  opacity: 0.45;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.ss-nav-item.active {
  opacity: 1;
  background: rgba(0, 102, 255, 0.07);
  border-color: rgba(0, 102, 255, 0.18);
}

.ss-nav-dot {
  width: clamp(8px, 0.7vw, 11px);
  height: clamp(8px, 0.7vw, 11px);
  border-radius: 50%;
  border: 2px solid #d0d7de;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.ss-nav-item.active .ss-nav-dot {
  border-color: #0066ff;
  background: #0066ff;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
  transform: scale(1.3);
}

.ss-nav-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  font-weight: 700;
  color: #0b2731;
  transition: color 0.3s;
}

.ss-nav-item.active .ss-nav-label {
  color: #0066ff;
}

/* Hidden in horizontal bar — too verbose */
.ss-nav-sub {
  display: none;
}

.ss-counter {
  margin-left: auto;
  margin-top: 0;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.7rem, 0.75vw, 0.85rem);
  font-weight: 700;
  color: #0b2731;
  letter-spacing: 0.05em;
}

.ss-counter-sep {
  margin: 0 4px;
  color: #d0d7de;
}

/* The main content area — flex centered in remaining space */
.ss-display {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 100px);
  padding: 20px clamp(32px, 5vw, 100px) 60px; /* Added top/bottom padding for shadows */
  background: transparent;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  overflow: visible; /* Shadows can now expand without clipping */
  position: relative;
}

/* Screenshot clip box — premium floating card with rounded corners */
.ss-screen-clip {
  flex: 0 0 clamp(300px, 48vw, 58%);
  max-height: calc(100vh - 160px);
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 
    0 32px 80px rgba(0, 0, 0, 0.12), 
    0 8px 24px rgba(0, 0, 0, 0.06);
  border: none;
}

/* Horizontal track of all 7 screenshots */
.ss-screen-track {
  display: flex;
  will-change: transform;
  transform: translateX(0);
}

.ss-screen {
  flex-shrink: 0;
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Info card wrapper — takes remaining width */
.ss-info-wrap {
  flex: 1;
  min-width: 0;
  max-width: 42%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ss-info-card {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.ss-info-card.active {
  pointer-events: auto;
}

.ss-tag {
  display: inline-block;
  font-size: clamp(0.62rem, 0.65vw, 0.72rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0066ff;
  background: rgba(0, 102, 255, 0.07);
  border: 1px solid rgba(0, 102, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: clamp(10px, 1.2vw, 18px);
}

.ss-info-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: clamp(6px, 0.8vw, 16px);
  color: #0b2731;
  line-height: 1.2;
}

.ss-info-card>p {
  font-size: clamp(0.9rem, 0.95vw, 1.15rem);
  color: #57606a;
  line-height: 1.65;
  margin-bottom: clamp(14px, 1.5vw, 24px);
}

.ss-feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.5vw, 8px);
}

.ss-feat-list li {
  display: flex;
  gap: 9px;
  font-size: clamp(0.82rem, 0.85vw, 1rem);
  color: #57606a;
  line-height: 1.45;
  padding: clamp(6px, 0.7vw, 12px) clamp(8px, 0.9vw, 16px);
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(8px);
}
.ss-feat-list li:hover {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 16px rgba(0,102,255,0.08);
}

.ss-feat-list li>span:first-child {
  color: #0066ff;
  font-size: 0.6rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.ss-feat-list li strong {
  color: #0b2731;
}

/* Mobile: stack vertically, no sticky */
@media (max-width: 900px) {
  .ss-scroll-wrapper {
    height: auto;
  }

  .ss-sticky {
    position: relative;
    height: auto;
    min-height: unset;
    flex-direction: column;
  }

  .ss-nav {
    display: none;
  }

  .ss-display {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .ss-screen-clip {
    width: 100%;
    max-height: none;
  }

  .ss-info-wrap {
    max-width: 100%;
    height: auto;
  }

  .ss-info-card {
    position: static;
    transform: none;
    opacity: 1;
  }

  .ss-info-card:not(.active) {
    display: none;
  }
}