/* ==========================================================================
   XILEM - AAA Gaming Landing Page Stylesheet
   Design Theme: AI + Web3 + Cyberpunk + Gaming
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(10, 10, 10, 0.7);
  --bg-glass: rgba(5, 5, 5, 0.65);

  --accent-primary: #b8ff1a; /* Primary Neon Green */
  --accent-glow: #d8ff3f; /* Secondary Yellow-Green */
  --accent-glow-rgb: 184, 255, 26;

  --text-white: #ffffff;
  --text-gray: #9b9b9b;
  --text-dark: #050505;

  --border-color: rgba(184, 255, 26, 0.25);
  --border-hover: rgba(184, 255, 26, 0.6);
  --border-white-translucent: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-headings: "Bebas Neue", sans-serif;
  --font-body: "Space Grotesk", sans-serif;

  /* Spacing & Borders */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Sizes */
  --navbar-height: 80px;
  --section-padding: clamp(4rem, 8vw, 8rem);
}

/* --------------------------------------------------------------------------
   2. Reset & Core Page Setup
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(184, 255, 26, 0.5);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   3. Interactive Background Canvas & Ambient Lights
   -------------------------------------------------------------------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.glow-1 {
  top: -10%;
  left: -10%;
  background: radial-gradient(
    circle,
    var(--accent-primary) 0%,
    rgba(184, 255, 26, 0) 70%
  );
}

.glow-2 {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(
    circle,
    var(--accent-glow) 0%,
    rgba(216, 255, 63, 0) 70%
  );
}

/* --------------------------------------------------------------------------
   4. Typography & Animations
   -------------------------------------------------------------------------- */
.text-neon {
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(184, 255, 26, 0.5);
}

.text-white {
  color: var(--text-white);
}

/* Animations declarations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(0.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.3;
  }
}

@keyframes flow-line {
  0% {
    stroke-dashoffset: 20;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Scroll Reveal Classes (JS handles adding the 'active' class) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delayed reveals */
.scroll-reveal:nth-child(2) {
  transition-delay: 0.15s;
}
.scroll-reveal:nth-child(3) {
  transition-delay: 0.3s;
}
.scroll-reveal:nth-child(4) {
  transition-delay: 0.45s;
}

/* --------------------------------------------------------------------------
   5. Buttons System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 2px;
  padding: 12px 30px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.35rem;
}

/* Primary Button Design */
.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-dark);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 15px rgba(184, 255, 26, 0.25);
}

.btn-primary:hover {
  transform: scale(1.03);
  background-color: var(--accent-glow);
  box-shadow: 0 0 25px rgba(184, 255, 26, 0.5);
}

/* Secondary Button Design */
.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  transform: scale(1.03);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(184, 255, 26, 0.2);
}

/* Arrow Button variation */
.btn-arrow {
  gap: 8px;
}

.btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-arrow:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* Button Ripple Styling */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

.btn-primary .ripple-effect {
  background: rgba(0, 0, 0, 0.15);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Sticky Navbar
   -------------------------------------------------------------------------- */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 100;
  transition:
    background-color var(--transition-medium),
    backdrop-filter var(--transition-medium),
    border-color var(--transition-medium),
    height var(--transition-medium);
  border-bottom: 1px solid transparent;
}

.navbar-container.scrolled {
  height: 70px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-color: rgba(184, 255, 26, 0.12);
}

.navbar-content {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  transition: transform var(--transition-medium);
}

.logo-wrapper:hover .logo-icon {
  transform: rotate(180deg);
}

.logo-path-1 {
  transition: fill var(--transition-fast);
}

.logo-wrapper:hover .logo-path-1 {
  fill: var(--text-white);
}

.logo-wrapper:hover .logo-path-2 {
  fill: var(--accent-primary);
}

/* Navbar links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(184, 255, 26, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

/* --------------------------------------------------------------------------
   7. Hero Section (Overlapping Elements & Mouse Parallax)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

/* Translucent vertical glass panels overlaying in background */
.vertical-panels {
  position: absolute;
  top: 0;
  left: 8%;
  width: 45%;
  height: 100%;
  display: flex;
  gap: 20px;
  pointer-events: none;
  z-index: 2; /* Sits on top of robot but behind hero text content */
}

.panel {
  flex: 1;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.005) 100%
  );
  border-left: 1px solid var(--border-white-translucent);
  border-right: 1px solid var(--border-white-translucent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  align-items: center;
  z-index: 3;
}

.hero-col-left {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

/* robot container styling */
.robot-container {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 120%;
  height: 130%;
  z-index: 1; /* Behind panels and text */
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-robot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.75;
  animation: float 8s ease-in-out infinite;
}

.hero-left-content {
  position: relative;
  z-index: 4; /* Sits on top of panels */
}

.hero-left-content .subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 6px;
  margin-bottom: 10px;
  display: block;
  text-shadow: 0 0 10px rgba(184, 255, 26, 0.3);
}

.hero-left-content .main-title {
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -2px;
  margin-bottom: 15px;
  background: linear-gradient(180deg, #ffffff 50%, #888888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.hero-left-content .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--accent-glow);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 30px;
}

/* Coming soon glowing badge */
.coming-soon-badge {
  display: inline-block;
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  background: rgba(184, 255, 26, 0.05);
  backdrop-filter: blur(5px);
  margin-bottom: 40px;
}

.coming-soon-badge span {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 4px;
}

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

/* Right Column (Anime Soldier) */
.hero-col-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}

.soldier-container {
  position: absolute;
  right: -20%;
  top: -20%;
  width: 140%;
  height: 140%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-soldier-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.65;
  animation: float 6s ease-in-out infinite alternate;
}

.hero-right-content {
  position: relative;
  z-index: 4;
  background: rgba(5, 5, 5, 0.6);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  align-self: flex-end;
}

.right-heading-wrap {
  margin-bottom: 30px;
}

.right-heading-wrap .label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 5px;
}

.right-heading-wrap .sub-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(184, 255, 26, 0.3);
  margin-bottom: 10px;
}

.right-heading-wrap .powered-by {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-gray);
  text-transform: uppercase;
}

.right-heading-wrap .chain-highlight {
  color: var(--text-white);
  border-bottom: 1.5px solid var(--accent-primary);
  padding-bottom: 2px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(184, 255, 26, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(184, 255, 26, 0.1);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.feature-icon {
  width: 18px;
  height: 18px;
}

.feature-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
}

.feature-item:hover .feature-icon-wrapper {
  transform: scale(1.1);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(184, 255, 26, 0.3);
}

/* --------------------------------------------------------------------------
   8. Feature Strip (4 Horizontal Cards)
   -------------------------------------------------------------------------- */
.feature-strip-section {
  position: relative;
  z-index: 5;
  padding: 40px 0;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Premium Card Layout */
.glow-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform var(--transition-medium),
    border-color var(--transition-medium),
    box-shadow var(--transition-medium);
}

.card-glow-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(184, 255, 26, 0.08),
    transparent 40%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glow-card:hover .card-glow-element {
  opacity: 1;
}

.glow-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 35px rgba(184, 255, 26, 0.15);
}

.card-content {
  padding: 35px 30px;
  z-index: 1;
  position: relative;
}

.card-icon-box {
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(184, 255, 26, 0.06);
  border: 1px solid rgba(184, 255, 26, 0.2);
  transition:
    transform var(--transition-medium),
    border-color var(--transition-medium);
}

.svg-glow-icon {
  width: 26px;
  height: 26px;
  transition: filter var(--transition-medium);
}

.glow-card:hover .card-icon-box {
  border-color: var(--accent-primary);
  transform: rotate(5deg) scale(1.05);
}

.glow-card:hover .svg-glow-icon {
  filter: drop-shadow(0 0 5px var(--accent-primary));
}

.card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. About Section (Three Columns with Animated Diagram)
   -------------------------------------------------------------------------- */
.about-section {
  position: relative;
  z-index: 5;
  padding: var(--section-padding) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.about-col {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

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

/* Column 1 text styling */
.about-desc-wrap .paragraph-large {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-desc-wrap .paragraph-secondary {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 40px;
}

/* Column 2: How It Works diagram */
.how-it-works-wrap {
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: space-between;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}

.process-node-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 90px;
}

.process-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid rgba(184, 255, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition:
    transform var(--transition-medium),
    border-color var(--transition-medium);
}

.node-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle,
    rgba(184, 255, 26, 0.1) 0%,
    transparent 80%
  );
  z-index: 2;
}

.node-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-medium);
}

.node-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: var(--accent-primary);
  filter: blur(10px);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 1;
}

.process-node:hover {
  transform: scale(1.1);
  border-color: var(--accent-primary);
}

.process-node:hover .node-glow {
  opacity: 0.35;
}

.process-node:hover .node-icon {
  transform: rotate(5deg) scale(1.05);
}

.node-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  margin-top: 12px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.node-desc {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 4px;
  line-height: 1.2;
}

/* Glowing Connecting Arrows */
.flow-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  height: 60px;
  margin-bottom: 45px; /* align with nodes vertically */
}

.arrow-svg {
  width: 100%;
  height: 20px;
  overflow: visible;
}

.arrow-dot {
  animation: flow-arrow-dot 2s linear infinite;
}

@keyframes flow-arrow-dot {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(35px);
  }
}

/* Active node state */
.process-node.active-node {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(184, 255, 26, 0.4);
}
.process-node.active-node .node-glow {
  opacity: 0.25;
}

/* Column 3: AI Ecosystem mini-grid */
.ecosystem-cards-wrap {
  justify-content: space-between;
}

.ecosystem-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex-grow: 1;
}

.mini-glow-card {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(184, 255, 26, 0.1);
  overflow: hidden;
  transition:
    transform var(--transition-medium),
    border-color var(--transition-medium),
    box-shadow var(--transition-medium);
}

.mini-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(184, 255, 26, 0.15),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mini-glow-card:hover .mini-glow-border {
  opacity: 1;
}

.mini-glow-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 20px rgba(184, 255, 26, 0.12);
}

.mini-card-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.mini-card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast);
}

.mini-glow-card:hover .mini-card-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px var(--accent-primary));
}

.mini-card-content span {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   10. Vision Section (Castle Cinematic Background CTA)
   -------------------------------------------------------------------------- */
.vision-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0;
  z-index: 5;
}

.vision-bg-image {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
}

.vision-castle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.vision-fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    rgba(5, 5, 5, 0) 30%,
    rgba(5, 5, 5, 0) 70%,
    var(--bg-primary) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.vision-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

.vision-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vision-left {
  display: flex;
  flex-direction: column;
}

.vision-badge {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 4px;
  margin-bottom: 15px;
  display: block;
}

.vision-title {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--text-white);
}

/* Vision CTA card styling */
.vision-right {
  display: flex;
  justify-content: flex-end;
}

.cta-box {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border-color);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  max-width: 540px;
  width: 100%;
}

.cta-headline {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-white);
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.cta-buttons .btn {
  width: 100%;
}

/* Social icons wrap */
.social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.social-svg-icon {
  width: 20px;
  height: 20px;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 5px 15px rgba(184, 255, 26, 0.2);
}

.social-link:hover .social-svg-icon {
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   11. Footer Section
   -------------------------------------------------------------------------- */
.footer-container {
  position: relative;
  z-index: 5;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-gray);
  letter-spacing: 1.5px;
  line-height: 1.5;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-heading {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: var(--text-white);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.footer-links-col a {
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-chain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.powered-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  letter-spacing: 2px;
}

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

.chain-icon {
  width: 24px;
  height: 24px;
}

.chain-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

/* Footer Bottom copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 30px 0;
}

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

.copyright {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* --------------------------------------------------------------------------
   12. Back To Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
  box-shadow: 0 0 15px rgba(184, 255, 26, 0.15);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(184, 255, 26, 0.4);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. Responsive Styles (Mobile & Tablet Adjustments)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .navbar-content {
    padding: 0 20px;
  }

  .hero-grid {
    padding: 20px;
  }

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

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

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

  .footer-chain {
    grid-column: span 3;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-col-left {
    padding-right: 0;
    align-items: center;
  }

  .robot-container {
    left: 5%;
    width: 90%;
    height: 100%;
    top: 0;
  }

  .vertical-panels {
    left: 5%;
    width: 90%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-col-right {
    padding-left: 0;
    align-items: center;
  }

  .soldier-container {
    right: 5%;
    width: 90%;
    height: 100%;
    top: 0;
  }

  .hero-right-content {
    align-self: center;
    width: 100%;
    max-width: 600px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .vision-left {
    align-items: center;
  }

  .vision-right {
    justify-content: center;
  }

  .cta-box {
    max-width: 600px;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Navbar Hamburger Reveal */
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding-bottom: 100px;
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: 99;
  }

  .nav-links.mobile-active {
    transform: translateX(0);
  }

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

  .process-flow {
    flex-direction: column;
    gap: 40px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    height: 30px;
    margin-bottom: 0;
  }

  .arrow-svg {
    width: 40px;
  }

  .ecosystem-mini-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info {
    align-items: center;
  }

  .footer-chain {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-toggle.toggle-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-toggle.toggle-active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.toggle-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
