/* =========================================
   FROSTBYTE 5.0 - MODERN ARCTIC VIBE
   Refined, Minimalist, High-Fidelity Tech
   ========================================= */

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

:root {
  /* Antigravity Palette - Space Void & Arctic Neon */
  --fb-bg: #030508; /* Obsidian Void */
  --fb-text: #f0f9ff; /* Ice White */
  --fb-text-muted: #64748b;
  --fb-accent: #0ea5e9; /* Electric Blue */
  --fb-accent-glow: rgba(14, 165, 233, 0.4);

  /* Physics & Animation */
  --hover-transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  --drift-anim: drift 20s infinite alternate ease-in-out;
  --stasis-speed: 20s;

  /* Effects */
  --glass: rgba(15, 23, 42, 0.4);
  --glass-blur: 24px;
  --glass-border: rgba(255, 255, 255, 0.05);

  /* Atmospheric Circuitry Tokens */
  --circuit-opacity: 0.15;
  --circuit-glow: rgba(14, 165, 233, 0.3);
}

/* ATMOSPHERIC SILICON PATHWAY ARCHITECTURE */
.atmospheric-circuitry {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3; /* Behind stasis particles */
  opacity: var(--circuit-opacity);
  background-image: radial-gradient(
    circle at 1.5px 1.5px,
    rgba(14, 165, 233, 0.15) 1.5px,
    transparent 0
  );
  background-size: 50px 50px;
}

.global-data-stream {
  position: fixed;
  width: 2px;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--fb-accent),
    transparent
  );
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  z-index: -2;
}

@keyframes stream-flow {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
/* === PROFESSIONAL TOP NAVIGATION (HIDDEN FOR ANTIGRAVITY) === */
.navbar-v6 {
  display: none;
}

.navbar-v6.scrolled {
  padding: 1rem 0;
  background: rgba(3, 5, 8, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.nav-logo {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--fb-text);
  text-decoration: none;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--fb-accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fb-accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: var(--hover-transition);
}

.link-arrow:hover {
  color: var(--fb-text);
  transform: translateX(5px);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: var(--fb-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--hover-transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--fb-text);
}

.nav-cta {
  background: var(--fb-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--hover-transition);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--fb-accent-glow);
}

/* === STASIS FIELD (Relocated) === */
.stasis-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

@keyframes upward-float {
  0% {
    transform: translateY(105vh) translateX(0);
  }
  100% {
    transform: translateY(-10vh) translateX(var(--drift-x));
  }
}

/* === ANTIGRAVITY DOCK (OVERHAULED) === */
.bottom-dock {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent; /* Removed grey/shadow box */
  backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: 20px;
  display: flex;
  gap: 32px; /* Increased gap as requested */
  z-index: 9000;
}

.dock-item {
  min-width: 48px;
  height: 48px;
  padding: 0 16px; /* Added padding to fix label clipping */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* Fully transparent as requested */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Clean border instead of shadow */
  border-radius: 12px;
  color: var(--fb-text);
  text-decoration: none;
  font-size: 0.9rem; /* Slightly smaller text for clarity */
  font-weight: 500;
  transition: var(--hover-transition);
  white-space: nowrap; /* Prevent label wrapping */
}

.dock-item:hover {
  transform: translateY(-10px) scale(1.1);
  background: var(--fb-accent-glow);
  border-color: var(--fb-accent);
  color: #fff;
}

/* === GLOW ORB CURSOR === */
.fb-cursor-orb {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 70%
  );
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  filter: blur(40px);
  mix-blend-mode: screen;
}

/* === BASE RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  cursor: default; /* Restored for Accessibility/SEO */
}

body {
  background: var(--fb-bg);
  color: var(--fb-text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* === AMBIENT GLOW ORB (No functional cursor replacement) === */
.fb-cursor-orb {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 70%
  );
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  filter: blur(40px);
  mix-blend-mode: screen;
}

/* === CINEMATIC GLASS MASKING === */
.glass-mask-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
}

.video-parallax {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
  z-index: -1;
}

/* === SHARED LAYOUT COMPONENTS === */
.split-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
}

/* === 3D BENTO INTERACTION === */
.bento-card-wrapper {
  perspective: 1000px;
}

.bento-card {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.bento-card > * {
  transform: translateZ(30px); /* Internal elements pop */
}

/* === STABILITY OVERRIDES === */
.no-tilt .glass-card {
  transform: none !important;
  transition: var(--hover-transition);
}

.no-tilt .glass-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--fb-accent);
}

/* === FAQ CARD REFINEMENT === */
.faq-card {
  padding: 3rem; /* Increased padding */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.faq-card h3 {
  font-size: 1.5rem;
  color: var(--fb-accent); /* Titles in electric blue */
}

.faq-card p {
  line-height: 1.6;
  margin: 0;
}

/* === CHROMATIC ABERRATION SCROLL === */
.chromatic-shift {
  animation: chromatic-pulse 4s infinite alternate;
}

@keyframes chromatic-pulse {
  0% {
    filter: drop-shadow(1px 0 0 rgba(255, 0, 0, 0.1))
      drop-shadow(-1px 0 0 rgba(0, 255, 255, 0.1));
  }
  100% {
    filter: drop-shadow(3px 0 0 rgba(255, 0, 0, 0.3))
      drop-shadow(-3px 0 0 rgba(0, 255, 255, 0.3));
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* === REUSABLE COMPONENTS === */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: var(--hover-transition);
  position: relative;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  -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;
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-5px);
}

.badge {
  display: inline-flex;
  padding: 6px 16px;
  background: var(--fb-accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--fb-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-flex;
  padding: 14px 32px;
  background: var(--fb-accent);
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--hover-transition);
  border: 1px solid var(--fb-accent);
}

.btn-primary:hover {
  background: #fff;
  color: var(--fb-accent);
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--fb-accent-glow);
}

.btn-secondary {
  display: inline-flex;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--fb-accent);
  color: var(--fb-accent);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--hover-transition);
}

.btn-secondary:hover {
  background: var(--fb-accent-glow);
  color: #fff;
  border-color: #fff;
}

/* === MICRO-TEXTURE === */
.noise-v5 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === BENTO GRID UTILITY === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 2.5rem;
}

.bento-6 {
  grid-column: span 6;
}
.bento-4 {
  grid-column: span 4;
}
.bento-8 {
  grid-column: span 8;
}
.bento-3 {
  grid-column: span 3;
}
.bento-12 {
  grid-column: span 12;
}

@media (max-width: 768px) {
  .bento-6,
  .bento-4,
  .bento-8,
  .bento-3 {
    grid-column: span 12;
  }
}

/* === VERTICAL PROJECT STACK === */
.project-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.project-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding: 3rem !important;
  align-items: center;
  min-height: 600px;
  overflow: hidden;
}

.project-panel-media {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--glass-border);
  position: relative;
}

.project-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-panel:hover .project-panel-media img {
  transform: scale(1.05);
}

.project-panel-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-panel-info h3 {
  font-size: 2.5rem;
  color: var(--fb-accent);
}

.project-panel-info p {
  font-size: 1.1rem;
  color: var(--fb-text-muted);
  max-width: 400px;
}

.project-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.project-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .project-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem !important;
  }
  .project-panel-media {
    height: 400px;
  }
}

/* === SHARED UI V6 === */
.navbar-v5 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(1, 2, 4, 0.5);
  backdrop-filter: blur(12px);
  transition: var(--hover-transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--fb-text);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.nav-links-v5 {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links-v5 a {
  color: var(--fb-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--hover-transition);
}

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

/* === HERO V6 FOUNDATION === */
.hero-v5 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  text-align: left;
  position: relative;
  z-index: 10;
}

.hero-left {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10; /* Increased from 16/9 to prevent laptop clipping */
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-left .glass-mask-container {
  mask-image: none;
  -webkit-mask-image: none;
  height: 100%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
}

.hero-left .video-parallax {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
}

.hero-glow-sphere {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(80px);
}

.hero-title-v5 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
  line-height: 1;
}

.hero-sub-v5 {
  font-size: 1.1rem;
  color: var(--fb-text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
}

/* === CENTERING UTILITIES FOR SERVICES/LEGAL === */
.hero-v5.centered-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-v5.centered-hero .hero-sub-v5 {
  margin-left: auto !important;
  margin-right: auto !important;
}

.text-center-block {
  text-align: center !important;
}

.text-center-block h1,
.text-center-block h2,
.text-center-block h3,
.text-center-block p {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-sub-v5 {
    margin: 0 auto 3rem;
  }
}

/* === FOOTER V6 === */
.footer-v5 {
  padding: 5rem 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
}

.footer-content-v5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === SILICON PATHWAY GRID === */
.labs-connector-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.pathway-line {
  fill: none;
  stroke: var(--fb-accent);
  stroke-width: 2;
  stroke-dasharray: 100;
  /* Neon Tech Bloom Effect */
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px var(--fb-accent))
    drop-shadow(0 0 15px var(--fb-accent));
  animation: flow 10s linear infinite;
}

.pathway-line.reverse {
  animation-direction: reverse;
}

.tech-node {
  fill: var(--fb-accent);
  filter: drop-shadow(0 0 5px var(--fb-accent));
}

@keyframes flow {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* === GROWTH ENGINE PULSE === */
.growth-pulse-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35; /* Increased for vibrance */
  overflow: hidden;
}

.graph-line {
  fill: none;
  stroke: var(--fb-accent);
  stroke-width: 2; /* Thicker for neon vibe */
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  filter: drop-shadow(0 0 5px var(--fb-accent));
  animation: graph-draw 8s ease-out forwards;
}

.graph-pulse {
  offset-path: path(
    "M 0 400 L 100 380 L 200 390 L 300 350 L 400 360 L 500 300 L 600 310 L 700 250 L 800 260 L 900 180 L 1000 150"
  );
  animation: move-pulse 10s linear infinite;
  fill: #fff; /* White core for neon brightness */
  /* Intense Neon Bloom */
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px var(--fb-accent))
    drop-shadow(0 0 20px var(--fb-accent));
}

@keyframes graph-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes move-pulse {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* === FAQ PLANET BACKGROUND === */
.faq-planet-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.faq-planet-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Subtle backdrop */
  filter: blur(5px) saturate(0.8);
}

.faq-planet-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent, var(--fb-bg) 80%);
  z-index: 1;
}

@media (max-width: 768px) {
  .faq-planet-bg {
    display: none;
  }
}

/* === MOBILE OPTIMIZATION ENHANCEMENTS === */
:root {
  --section-pad: 8rem;
  --container-max: 1400px;
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 6rem;
  }
  .container {
    padding: 0 4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem;
    --glass-blur: 16px;
  }

  .container {
    padding: 0 2rem;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
  }
  h2 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }

  .hero-v5 {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-title-v5 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    text-align: center;
  }
  .hero-sub-v5 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Split Layout Responsiveness */
  .split-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .split-layout > div {
    padding: 2rem !important;
    width: 100% !important;
  }

  .split-layout img {
    height: 300px !important;
    min-height: 300px !important;
  }

  /* Dock Adjustment */
  .bottom-dock {
    width: calc(100% - 40px);
    gap: 12px;
    padding: 8px;
    bottom: 20px;
    justify-content: center;
  }

  .dock-item {
    padding: 0 12px;
    min-width: auto;
    font-size: 0.75rem;
  }
}

/* Responsive Utilities */
.container-narrow { max-width: 900px !important; }
.container-medium { max-width: 1000px !important; }
.text-center { text-align: center !important; }

.section-card {
  padding: 4rem !important;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--fb-text-muted);
}

@media (max-width: 768px) {
  .section-card { padding: 2.5rem 1.5rem !important; }
  .lead-text { font-size: 1.1rem; }
}

/* === ROCKET ORBIT ANIMATION === */
.rocket-orbit-container {
  position: absolute;
  inset: -25px; /* Increased offset to stay clearly outside the form */
  pointer-events: none;
  z-index: 10;
}

.rocket-ship {
  position: absolute;
  width: 40px;
  height: 40px;
  offset-rotate: auto 90deg;
  /* Animation will be handled by GSAP for better sync */
  filter: drop-shadow(0 0 15px var(--fb-accent));
  z-index: 11;
}

.rocket-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--fb-accent);
  stroke-width: 3; /* Slightly thicker for better visibility */
  stroke-linecap: round;
  filter: blur(2px) drop-shadow(0 0 10px var(--fb-accent));
  opacity: 0.8;
  z-index: 10;
}

.rocket-trail-glow {
  /* No independent animation here, controlled via dashoffset sync with rocket */
  stroke-dasharray: 100 1000;
  stroke-dashoffset: 0;
}

/* BLOCKCHAIN BACKGROUND */
.blockchain-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* CENTERED GROWTH TOOLKIT */
.centered-content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.feature-grid-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.feature-grid-centered .feature-item {
    padding: 1.5rem;
    position: relative;
    border-radius: 16px;
    background: rgba(255,255,255,0.01);
    border: 1px solid transparent;
    transition: var(--hover-transition);
}

.feature-grid-centered .feature-item:hover {
    background: rgba(14, 165, 233, 0.03);
    border-color: rgba(14, 165, 233, 0.1);
    transform: translateY(-5px);
}

/* PREMIUM ANIMATIONS & CIRCUITRY */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(to bottom, var(--fb-accent), transparent);
    width: 2px;
    height: 100px;
    left: 24px;
    z-index: 1;
    transform-origin: top;
    opacity: 0.3;
}

.glow-pulse {
    box-shadow: 0 0 15px var(--fb-accent);
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.card-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.card-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s var(--fb-ease);
}

.glass-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.different-section .container {
  position: relative;
  z-index: 2;
}
/* === MOBILE OPTIMIZATION OVERRIDES === */
@media (max-width: 480px) {
  /* Global Overflow Protection */
  .container {
    padding: 0 1.5rem !important;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .bento-6, .bento-4, .bento-8, .bento-3, .bento-12 {
    grid-column: span 1 !important;
  }

  .hero-v5 {
    padding-top: 60px;
    min-height: 80vh;
  }

  .hero-title-v5 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-sub-v5 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .section-title-v5 {
    font-size: 2rem !important;
  }

  /* Digital Labs Scaling */
  .bento-card {
    padding: 2rem;
    min-height: auto;
  }

  #labs {
    padding-bottom: 4rem;
  }

  /* FAQ (Knowledge Base) Dock Protection */
  #faq {
    padding-bottom: 140px; /* Room for the bottom dock */
  }

  .faq-card {
    padding: 1.5rem;
  }

  .faq-card h3 {
    font-size: 1.25rem;
  }

  /* Bottom Dock Scaling */
  .bottom-dock {
    width: 95%;
    padding: 8px;
    gap: 8px;
    bottom: 10px;
  }

  .dock-item {
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    font-size: 0.7rem;
  }

  /* Decorative Element Contrainment */
  .hero-glow-sphere {
    display: none;
  }

  .fb-cursor-orb {
    display: none;
  }

  svg, canvas {
    max-width: 100% !important;
  }
}
