/* 
 * G2ON Ultra-Modern Landing Page Styles
 */

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

:root {
  --black: #0A0A0A;
  --black-deep: #050505;
  --gray-900: #141414;
  --gray-800: #1E1E1E;
  --gray-700: #2A2A2A;
  --gray-600: #3A3A3A;
  --gray-400: #6B6B6B;
  --gray-300: #8A8A8A;
  --white: #F0F0F0;
  --white-dim: rgba(240, 240, 240, 0.5);
  --green: #C8FF00;
  --green-rgb: 200, 255, 0;
  --green-dim: rgba(200, 255, 0, 0.15);
  --green-glow: rgba(200, 255, 0, 0.4);
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--green);
  color: var(--black);
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* 2. Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-icon {
  width: 80px;
  animation: pulse 1.5s infinite var(--ease);
}

.preloader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--green);
  letter-spacing: 0.1em;
}

.preloader-bar-wrapper {
  width: 200px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--green);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

.preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

/* 3. Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  margin-left: -4px;
  margin-top: -4px;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), margin 0.2s var(--ease);
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(200, 255, 0, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  margin-left: -20px;
  margin-top: -20px;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
}

.cursor.active {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
}

.cursor-follower.active {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
}

@media (hover: none) {
  .cursor, .cursor-follower {
    display: none !important;
  }
}

/* 4. Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--green);
  z-index: 9990;
  transition: none;
}

/* 5. Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9995;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* 6. Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-bottom 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-800);
}

.navbar.hidden {
  transform: translateY(-100%);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

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

.nav-logo:hover .logo-icon {
  transform: rotate(90deg);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}

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

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

.nav-cta {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  background: transparent;
}

.nav-cta:hover {
  background: var(--green);
  color: var(--black);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

/* 7. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 2rem;
}

.hero-label {
  margin-bottom: 2rem;
}

.hero-label span {
  font-size: 0.8125rem;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  /* Animated in by JS; starts hidden so it never flashes visible before the entrance animation runs */
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.title-line {
  overflow: hidden;
}

.word {
  display: inline-block;
  margin-right: 0.3em;
  white-space: nowrap;
}

.char {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  /* Will be animated by JS */
}

.word.highlight .char {
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  opacity: 0;
  /* Animated in by JS; starts hidden so it never flashes visible before the entrance animation runs */
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  /* Animated in by JS; starts hidden so it never flashes visible before the entrance animation runs */
}

.hero-btn {
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  letter-spacing: 0.01em;
}

.hero-btn.primary {
  background: var(--green);
  color: var(--black);
}

.hero-btn.primary:hover {
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.3);
  transform: translateY(-2px);
}

.hero-btn.secondary {
  border: 1px solid var(--gray-600);
  color: var(--white);
  background: transparent;
}

.hero-btn.secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  /* Animated in by JS; starts hidden so it never flashes visible before the entrance animation runs */
}

.hero-scroll span {
  font-size: 0.6875rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--gray-800);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--green);
  animation: scrollDown 2s ease infinite;
}

/* 8. Section Utilities */
.section {
  padding: 10rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* 9. About Section */
.about .section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-left {
  /* Content Area */
}

.about-description p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-stats {
  display: grid;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--green);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  display: block;
  width: 100%;
  margin-top: 0.25rem;
}

.cube-scene {
  width: 150px;
  height: 150px;
  perspective: 600px;
  margin: 0 auto;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 12s infinite linear;
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(200, 255, 0, 0.15);
  background: rgba(200, 255, 0, 0.03);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cube-face.front  { transform: rotateY(0deg) translateZ(75px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(75px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(75px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(75px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(75px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }

/* 10. Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: rgba(200, 255, 0, 0.2);
}

.card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  transform: translate(-50%, -50%);
  z-index: 1;
}

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

.card-icon {
  margin-bottom: 1.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-dim);
  border: 1px solid rgba(200, 255, 0, 0.1);
  position: relative;
  z-index: 2;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.card-text {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-arrow {
  color: var(--green);
  font-size: 1.5rem;
  transition: transform 0.3s var(--ease);
  display: inline-block;
  position: relative;
  z-index: 2;
}

.service-card:hover .card-arrow {
  transform: translateX(8px);
}

/* 11. Process Section */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 4rem;
}

.timeline-track {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-800);
  transform: translateX(-50%);
}

.timeline-progress {
  width: 100%;
  height: 0%;
  background: var(--green);
  transition: none;
}

.process-step {
  position: relative;
  padding-bottom: 4rem;
  opacity: 0.3;
  transition: opacity 0.5s var(--ease);
}

.process-step.active {
  opacity: 1;
}

.step-marker {
  position: absolute;
  left: -4rem;
  top: 0;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.process-step.active .step-icon {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 15px rgba(200, 255, 0, 0.4);
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.step-text {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 500px;
}

/* 12. CTA Section */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 12rem 0;
}

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

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.cta-subtitle {
  color: var(--gray-400);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3.5rem;
  background: var(--green);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  letter-spacing: 0.01em;
}

.cta-button:hover {
  box-shadow: 0 0 60px rgba(200, 255, 0, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.cta-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.orb:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--green);
  top: 10%;
  left: -5%;
  animation: float1 8s ease-in-out infinite;
}

.orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 10%;
  right: -5%;
  animation: float2 10s ease-in-out infinite;
}

.orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 6s ease-in-out infinite;
}

/* 13. Footer */
.footer {
  background: var(--black-deep);
  border-top: 1px solid var(--gray-800);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-tagline {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s var(--ease);
}

.social-link:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8125rem;
}

/* --- SHOWCASE (3D card-stack carousel) --- */
.showcase-container {
  width: 100%;
  position: relative;
}

.showcase-pin {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--black-deep);
  z-index: 10;
  perspective: 1600px;
}

.showcase-track {
  position: relative;
  width: 100%;
  height: 100vh;
  transform-style: preserve-3d;
}

.showcase-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 5%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.showcase-panel {
  width: 100%;
  max-width: 550px;
  height: 70vh;
  max-height: 650px;
  background: #0f0f0f;
  border: 1px solid var(--gray-800);
  border-radius: 32px;
  padding: 4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase-left {
  background: #111;
  align-items: center;
}

.showcase-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.graphic-shield, .graphic-speed, .graphic-data {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: rgba(200, 255, 0, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 0, 0.1);
}

.graphic-shield svg, .graphic-speed svg, .graphic-data svg {
  position: relative;
  z-index: 1;
}

.icon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(200, 255, 0, 0.2);
  animation: pulse 2s infinite ease-out;
}

.icon-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 255, 0, 0.25);
  pointer-events: none;
  animation: spin 14s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.showcase-tag {
  font-family: 'Space Grotesk', monospace;
  color: var(--green);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  border: 1px solid rgba(200, 255, 0, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(200, 255, 0, 0.03);
}

.showcase-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.showcase-desc {
  color: var(--gray-400);
  font-size: 1.1rem;
  line-height: 1.6;
}

.showcase-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 3rem;
}

.showcase-nav .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-700);
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.showcase-nav .nav-dot:hover {
  transform: scale(1.4);
}

.showcase-nav .nav-dot.active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* --- FEATURES (Group 1) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-bottom: 80px; /* Space for staircase transform */
}

.feature-card-wrapper {
  position: relative;
  transition: transform 0.3s ease;
}

/* Escadinha (Staircase) effect */
.feature-card-wrapper:nth-child(2) {
  transform: translateY(40px);
}

.feature-card-wrapper:nth-child(3) {
  transform: translateY(80px);
}

.feature-card {
  padding: 4.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 450px;
}

.feature-card.type-3 {
  padding: 0;
}

.feature-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 0 1rem;
  z-index: 10;
}

.feature-header svg {
  color: var(--gray-400);
}

.header-right-dots {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--white);
  z-index: 2;
}

.feature-text {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: auto;
  z-index: 2;
}

.feature-text.muted {
  color: var(--gray-600);
}

.feature-dots {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--gray-700);
  border-radius: 50%;
}
.dot.active {
  background: var(--gray-400);
}

/* Feature Graphic - Globe */
.feature-graphic-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid var(--gray-700);
  background: radial-gradient(circle, transparent 30%, rgba(20,20,20,0.8) 100%);
  z-index: 1;
}
.feature-graphic-globe::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; width: 1px; height: 100%;
  background: var(--gray-700);
  transform: translateX(-50%);
}
.feature-graphic-globe::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 1px;
  background: var(--gray-700);
  transform: translateY(-50%);
}
.globe-satellite {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

/* Removed overrides since borders are handled by SVG */
.feature-card-wrapper.type-3 .feature-header {
  /* empty */
}

.feature-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: grayscale(100%) contrast(1.2);
  mix-blend-mode: luminosity;
}

.feature-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.overlay-text {
  position: absolute;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--white);
}

.overlay-top {
  top: 6rem;
  left: 2rem;
}

.overlay-bottom {
  bottom: 2rem;
  right: 2rem;
  text-align: right;
}

.feature-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(200,255,0,0.15) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* --- TECHNOLOGY (Group 2) --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: var(--black-deep);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tech-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  color: var(--gray-300);
}

.tech-arrow {
  color: var(--gray-500);
}

.tech-desc {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.tech-graphic {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.tech-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 6px 6px;
  background-image: radial-gradient(circle, var(--gray-600) 1px, transparent 1px);
  pointer-events: none;
}

.tech-stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.tech-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.15);
}

.tech-metric {
  display: flex;
  flex-direction: column;
}

.tech-metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.tech-metric-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

.tech-graphic.dot-matrix-1::before {
  mask-image: radial-gradient(circle at 50% 100%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 100%, black 30%, transparent 70%);
}
.tech-graphic.dot-matrix-2::before {
  mask-image: linear-gradient(45deg, transparent 20%, black 50%, transparent 80%);
  -webkit-mask-image: linear-gradient(45deg, transparent 20%, black 50%, transparent 80%);
}
.tech-graphic.dot-matrix-3::before {
  mask-image: radial-gradient(circle at 80% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, black 40%, transparent 80%);
}

/* 14. Responsive Design */
@media (max-width: 1024px) {
  .section-grid,
  .about .section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid, .features-grid, .tech-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
  }
  
  .feature-card-wrapper:nth-child(2),
  .feature-card-wrapper:nth-child(3) {
    transform: none;
  }
  
  .navbar-container {
    padding: 0 2rem;
  }
  .showcase-page {
    flex-direction: column;
    justify-content: center;
    padding: 90px 5% 30px;
    gap: 1rem;
  }

  .showcase-panel {
    max-width: 100%;
    border-radius: 24px;
  }

  .showcase-panel.showcase-left {
    height: 25vh;
    min-height: 140px;
    padding: 1.5rem;
  }

  .showcase-panel.showcase-right {
    height: auto;
    max-height: 58vh;
    padding: 2rem 1.75rem;
  }

  .showcase-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .showcase-tag {
    margin-bottom: 1rem;
  }

  .showcase-desc {
    font-size: 0.95rem;
  }

  .showcase-nav {
    margin-top: 1.5rem;
  }

  .graphic-shield, .graphic-speed, .graphic-data {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .services-grid, .features-grid, .tech-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--black);
    z-index: 1000;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-menu.active .nav-cta {
    display: block;
    margin-top: 1rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .hero-scroll {
    display: none;
  }
}

/* 15. Animation Keyframes */
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

@keyframes rotateCube {
  0% { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -60%); }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.95);
  }
}
