/* DESIGN SYSTEM VARIABLES - 2026 BRUTALIST PREMIUM */
:root {
  /* Color Palette - Conversion Focused */
  --bg-primary: #030305;
  /* Pitch OLED Black */
  --bg-secondary: #0A0A0E;
  --text-primary: #FFFFFF;
  --text-secondary: #8A8D98;

  /* Brand Accents - Used for structure and passive elements */
  --accent-base: #1A1D24;
  /* Subtle dark grey for structural borders and inactive states */
  --accent-blue: #00A8FF;
  /* Secondary brand color for passive highlights */
  --accent-cyan: #00E5FF;
  /* Radiant cyan for interactive glows */

  /* Conversion Action Color - The Von Restorff Effect 
     Used STRICTLY for elements we want users to click.
     Electric Lime Green #00FF66 contrasts aggressively against deep blacks/blues. */
  --accent-conversion: #00FF66;
  --accent-conversion-glow: rgba(0, 255, 102, 0.4);

  /* Glass Surfaces */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  /* White instead of blue for neutrality */
  --glass-hover-shadow: 0 0 0 1px var(--accent-cyan);
  /* Sharp 1px border instead of diffuse glow */

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --section-padding: 120px 0;
  --container-width: 1400px;
  /* Wider container for premium feel */
  --border-radius-lg: 0px;
  /* Brutalist sharp edges */
  --border-radius-md: 0px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.dark body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

h1 {
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

h2 {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h3 {
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

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

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

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

section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-conversion);
  /* Draw eye to interactive cards */
  border-color: var(--accent-conversion);
  background: rgba(0, 255, 102, 0.03);
  /* Subtle conversion tint on hover */
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-glow {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-glow:hover {
  background: var(--accent-conversion) !important;
  color: var(--bg-primary) !important;
  border-color: var(--accent-conversion) !important;
  box-shadow: 0 0 20px var(--accent-conversion-glow) !important;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-base);
}

.btn-outline:hover {
  border-color: var(--accent-conversion);
  color: var(--accent-conversion);
  background: rgba(0, 255, 102, 0.05);
}



/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0; /* Changed from 1.5rem to 0 to accommodate top-bar */
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.top-bar {
  background: rgba(3, 3, 5, 0.9);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.made-by {
  color: var(--text-secondary);
}

.author-name {
  color: var(--text-primary);
  font-weight: 500;
}

.about-link {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.about-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px var(--accent-cyan);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem; /* Added padding here since we removed it from .navbar */
  transition: padding var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.85); /* Slightly more opaque when scrolled */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled .nav-content {
  padding: 0.75rem 2rem; /* Shrink padding when scrolled */
}

.navbar.scrolled .top-bar {
  display: none; /* Hide top bar when scrolled for a cleaner look */
}

.navbar.scrolled .logo-icon {
  width: 24px;
  height: 24px;
}

.navbar.scrolled .logo-text {
  font-size: 1.05rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-blue);
  filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.5));
  transition: width var(--transition-normal), height var(--transition-normal), transform var(--transition-fast), filter var(--transition-fast), color var(--transition-fast);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  transition: font-size var(--transition-normal), color var(--transition-fast);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.8));
}

.logo:hover .logo-text {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.mobile-nav-links .mobile-cta {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

/* UTILITIES */
.highlight-blue {
  color: var(--accent-blue);
}

.highlight-cyan {
  color: var(--accent-cyan);
}

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* REUSABLE SECTION HEADERS */
.section-header {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

/* BRUTALIST HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  /* Accounts for nav */
}

/* Sharp Architectural Grid Background */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100px 100px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: 0;
  transform: perspective(1000px) rotateX(60deg) translateY(-100px) scale(3);
  transform-origin: top center;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  container-type: inline-size;
}

.hero-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
  /* 8.5cqi = 8.5% of container width. Fits "RELENTLESS." exactly without wrapping. */
  font-size: clamp(1.5rem, 8.5cqi, 7rem);
  white-space: nowrap;
  /* Force 1 word per line */
}

.hero-headline .line {
  display: block;
}

/* Specific Accent on the last word */
.hero-headline .line:last-child {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-conversion);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

.hero-subheadline {
  font-size: 1.15rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.cta-primary {
  font-size: 1.1rem;
  padding: 1.25rem 2.5rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  display: flex;
  gap: 1rem;
}

.cta-primary:hover {
  background: var(--accent-conversion) !important;
  color: var(--bg-primary) !important;
  box-shadow: 0 0 20px var(--accent-conversion-glow) !important;
}

.cta-primary .arrow {
  transition: transform var(--transition-fast);
}

.cta-primary:hover .arrow {
  transform: translateX(10px);
}

.hero-stats-mini {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-stats-mini strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.hero-stats-mini .divider {
  color: var(--glass-border);
}

/* BRUTALIST ACCORDION MATRIX (SERVICES) */
.services-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.accordion-matrix {
  border-top: 1px solid var(--text-primary);
  margin-top: 4rem;
}

.accordion-item {
  border-bottom: 1px solid var(--glass-border);
  transition: border-color var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--text-primary);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 3rem 0;
  cursor: pointer;
}

.acc-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  width: 10%;
}

.acc-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  flex-grow: 1;
  transition: transform var(--transition-normal);
}

.accordion-header:hover .acc-title {
  transform: translateX(20px);
}

.acc-icon {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
}

/* Expanded State */
.accordion-item.active .acc-icon {
  transform: rotate(45deg);
  color: var(--accent-conversion);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s ease;
  padding: 0;
}

.accordion-item.active .accordion-content {
  padding-bottom: 3rem;
}

.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-left: 10%;
  /* Align with title */
}

.acc-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.acc-card:hover {
  background: rgba(0, 255, 102, 0.03);
  border-color: var(--accent-conversion);
  box-shadow: 0 0 0 1px var(--accent-conversion);
  /* Draw eye to interactive service cards */
}

.acc-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.acc-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.acc-card.compact-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
}

.acc-card.compact-card h4 {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* MARQUEE BANNER */
.marquee-wrapper {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 2rem;
  white-space: nowrap;
}

.marquee-divider {
  opacity: 0.3;
}

/* STATS BAR */
.stats-section {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 2rem;
  text-align: left;
  background: transparent;
  border: none;
  border-left: 1px solid var(--glass-border);
  border-radius: 0;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-left-color: var(--accent-cyan);
  box-shadow: none;
  transform: none;
}

/* WHY CHOOSE US - BENTO BOX SECTION */
.why-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
  margin-top: 4rem;
}

.bento-box {
  padding: 3rem;
  border-radius: 0;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.bento-box:hover {
  border-color: var(--accent-conversion);
  box-shadow: 0 0 0 1px var(--accent-conversion);
}

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

.bento-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
}

.bento-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.bento-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Specific Bento Placements */

/* Span 2 cols, 2 rows (Left side massive block) */
.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.bento-main h3 {
  font-size: 2.5rem;
  margin-top: auto;
  /* Push to bottom */
}

.bento-main p {
  font-size: 1.15rem;
  max-width: 80%;
  margin-bottom: 11rem;
}

/* Tall box (Right side column) */
.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--bg-primary);
}

/* Small standardized boxes */
.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Wide bottom box */
.bento-wide {
  grid-column: span 4;
  grid-row: span 1;
  display: flex;
  flex-direction: row;
  /* Horizontal layout */
  align-items: center;
  gap: 4rem;
  background: var(--text-primary);
}

.bento-wide .bento-content {
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.bento-wide .bento-icon {
  margin: 0;
  color: var(--bg-primary);
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.bento-wide h3 {
  color: var(--bg-primary);
  margin: 0;
  font-size: 2rem;
  flex-shrink: 0;
}

.bento-wide p {
  color: var(--bg-primary);
  opacity: 0.8;
  margin: 0;
}

/* Subtle background meshes for visual interest */
.bento-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background-size: 20px 20px;
  background-image: radial-gradient(var(--glass-border) 1px, transparent 0);
  opacity: 0.3;
  z-index: 1;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-main,
  .bento-wide {
    grid-column: span 2;
  }

  .bento-tall {
    grid-column: span 1;
  }

  .bento-wide .bento-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-main,
  .bento-tall,
  .bento-small,
  .bento-wide {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* CYBERSECURITY SECTION */
.cyber-section {
  position: relative;
  background-color: var(--bg-primary);
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.cyber-bg-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: repeating-radial-gradient(circle at center,
      rgba(0, 229, 255, 0.03) 0,
      rgba(0, 229, 255, 0.03) 40px,
      transparent 40px,
      transparent 80px);
  animation: radarPulse 10s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes radarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.2;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.2;
  }
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.text-glow {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.cyber-desc {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.cyber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cyber-card {
  text-align: center;
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(10, 14, 26, 0.6);
}

.cyber-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.cyber-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* PROCESS STEPPER */
.process-section {
  padding: 6rem 0;
}

.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-blue);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
}

.step-connector {
  flex: 0 0 50px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-blue) 0, var(--accent-blue) 5px, transparent 5px, transparent 10px);
  margin-top: 25px;
  /* align with badge center */
  opacity: 0.5;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.quote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.client-details h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.client-details span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* CONTACT SECTION */
.contact-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.contact-form-wrapper {
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

input.error,
textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 0;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 1rem;
}

.submit-btn.loading {
  cursor: not-allowed;
  opacity: 0.8;
}

.form-message {
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
  font-weight: 500;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.success-message {
  background: rgba(0, 217, 126, 0.1);
  border: 1px solid rgba(0, 217, 126, 0.3);
  color: var(--success-green);
}

.info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 168, 255, 0.05) 100%);
  height: 100%;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-list li {
  display: flex;
  gap: 1rem;
}

.info-list .icon {
  font-size: 1.5rem;
}

.info-list strong {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.info-list a {
  color: var(--text-secondary);
}

.info-list a:hover {
  color: var(--accent-cyan);
}

.info-list span {
  color: var(--text-secondary);
  line-height: 1.4;
}

.contact-divider {
  border: 0;
  height: 1px;
  background: var(--glass-border);
  margin: 2rem 0;
}

.reassurance-block {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--accent-blue);
}

.reassurance-block h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.reassurance-block p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: #05080f;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legal-links a:hover {
  color: var(--text-primary);
}

/* Final Responsive Overrides for bottom sections */
@media (max-width: 1024px) {

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

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

@media (max-width: 768px) {

  .cyber-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    flex-direction: column;
    align-items: flex-start;
  }

  .step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: -10px 0 15px 24px;
    background: repeating-linear-gradient(180deg, var(--accent-blue) 0, var(--accent-blue) 5px, transparent 5px, transparent 10px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
  }
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  /* Offset for nav */
}

/* Gradient Background Mesh */
.hero-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 15% 50%, rgba(0, 168, 255, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.15), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(0, 229, 255, 0.1), transparent 40%);
  background-size: 200% 200%;
  animation: gradientMesh 15s ease infinite;
}

/* Noise overlay */
.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image: 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.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 800px;
  /* Constrain text width for 60/40 split feel */
}

.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.hero-headline .line {
  display: block;
}

.hero-subheadline {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Floating Cards Orbiting Effect */
.floating-cards-container {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  z-index: 2;

  @media (max-width: 1024px) {
    display: none;
    /* Hide complex graphics on smaller screens */
  }
}

.float-card {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 1.5rem;
  min-width: 200px;
  text-align: center;
}

.card-1 {
  top: 10%;
  right: 20%;
  animation: floatY 6s ease-in-out infinite;
}

.card-2 {
  top: 45%;
  left: 0;
  animation: floatX 8s ease-in-out infinite reverse;
}

.card-3 {
  bottom: 15%;
  right: 10%;
  animation: floatY 7s ease-in-out infinite 1s;
}

/* MARQUEE */
.marquee-wrapper {
  overflow: hidden;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  display: flex;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-divider {
  margin: 0 3rem;
  color: var(--accent-blue);
}

/* STATS SECTION */
.stats-section {
  padding-top: 0;
  /* Let it sit right below marquee naturally */
  margin-top: -3rem;
  /* Small overlap */
  position: relative;
  z-index: 11;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrapper {
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.stat-icon {
  width: 36px;
  height: 36px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-value .prefix,
.stat-value .suffix {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.stat-value .stat-number-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Additional Responsive Tweaks */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}


/* Inline SVG Enhancements for Emojis Replacements */
.inline-svg {
  width: 1.25em;
  height: 1.25em;
  vertical-align: text-bottom;
  display: inline-block;
  stroke: currentColor;
}

.service-icon .inline-svg,
.cyber-icon .inline-svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent-cyan);
}

.service-icon .inline-svg {
  color: var(--accent-blue);
}

.tab-btn .inline-svg {
  margin-right: 0.5rem;
  vertical-align: middle;
}

.contact-info .icon .inline-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-blue);
}