/* Locked Jar - Enterprise Cybersecurity Website Rebuild */
/* Design: Futuristic, tech-forward, cyber-inspired */

:root {
  --color-void: #05080f;
  --color-deep: #0a0e17;
  --color-slate: #0f172a;
  --color-slate-light: #1e293b;
  --color-navy: #0a1628;
  --color-navy-light: #0f2137;
  --color-neon: #00d4ff;
  --color-neon-dim: rgba(0, 212, 255, 0.6);
  --color-cyan: #06b6d4;
  --color-blue: #1a5f7a;
  --color-blue-bright: #0ea5e9;
  --color-accent: #00d4ff;
  --color-neon-green: #00ff88;
  --color-neon-green-dim: rgba(0, 255, 136, 0.4);
  --color-magenta: #ff00ea;
  --color-magenta-dim: rgba(255, 0, 234, 0.4);
  --color-white: #ffffff;
  --color-offwhite: #f1f5f9;
  --color-gray: #94a3b8;
  --color-gray-light: #cbd5e1;
  
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Orbitron', 'Outfit', 'DM Sans', sans-serif;
  
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
  --radius: 8px;
  --radius-glass: 12px;
}

/* Animated gradient border (conic) - for cards */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .glitch::before,
  .glitch::after {
    opacity: 0 !important;
    animation: none !important;
  }
}

/* Skip link - accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-neon);
  color: var(--color-void);
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-neon);
  outline-offset: 2px;
}

/* Visually hidden but available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-offwhite);
  background: var(--color-deep);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

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

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--color-slate);
  color: var(--color-white);
}

.section--blue {
  background: var(--color-slate-light);
  color: var(--color-white);
}

/* Header & Navigation - futuristic tech bar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 1px 0 rgba(0, 212, 255, 0.05);
}

.header.scrolled::before {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08), 0 1px 0 rgba(0, 212, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.logo-link {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu > li > a {
  position: relative;
  color: var(--color-offwhite);
  font-weight: 500;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.nav-menu > li > a::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-neon);
  transition: width var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible {
  color: var(--color-neon);
}

.nav-menu > li > a:hover::before,
.nav-menu > li > a:focus-visible::before {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.05);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a:focus-visible::after {
  width: 60%;
}

.nav-menu a:hover {
  color: var(--color-neon);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: rgba(10, 14, 24, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-glass);
  box-shadow: var(--shadow-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.25rem 0.65rem 1rem;
  color: var(--color-offwhite);
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  margin: 0 0.5rem;
  border-radius: 0 4px 4px 0;
}

.nav-dropdown a:hover {
  background: rgba(0, 212, 255, 0.08);
  color: var(--color-neon);
  border-left-color: var(--color-neon);
}

/* Our Work dropdown - wider */
.nav-dropdown--work {
  min-width: 340px;
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-offwhite);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-phone:hover {
  color: var(--color-neon);
  border-color: var(--color-neon);
  box-shadow: 0 0 16px var(--color-neon-dim);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width:  min(320px, 85vw);
    height: 100vh;
    background: var(--color-void);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.05);
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu > li > a {
    display: block;
    padding: 1rem 0;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 1rem 1rem;
  }

  .nav-item.active .nav-dropdown {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

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

/* Hero Section - no parallax, solid gradient only */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-void);
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-deep) 0%, var(--color-slate) 50%, var(--color-void) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Scanline overlay - cyberpunk CRT aesthetic */
.hero .hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 1px,
    rgba(0, 0, 0, 0.03) 1px,
    rgba(0, 0, 0, 0.03) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero h1,
.hero .hero-title {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Glitch effect - strong horizontal strip displacement, RGB split, 2s cycle */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Magenta layer - shifts right, strong chromatic aberration */
.glitch::before {
  color: var(--color-magenta);
  text-shadow: 3px 0 var(--color-magenta);
  clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
  animation: glitch-before 2s steps(1) infinite;
}

/* Cyan layer - shifts left */
.glitch::after {
  color: var(--color-neon);
  text-shadow: -3px 0 var(--color-neon);
  clip-path: polygon(0 35%, 100% 35%, 100% 70%, 0 70%);
  animation: glitch-after 2s steps(1) infinite;
  animation-delay: 0.03s;
}

/* Glitch bursts - large displacement (12px), full opacity, visible 15% of cycle */
@keyframes glitch-before {
  0%, 4.9%, 12.1%, 49.9%, 57.1%, 100% { 
    opacity: 0;
    transform: translate(0, 0);
    clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
  }
  5%, 6%, 7%, 8%, 9%, 10%, 11%, 12% {
    opacity: 1;
    transform: translate(12px, -5px);
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 22%);
  }
  50%, 51%, 52%, 53%, 54%, 55%, 56%, 57% {
    opacity: 1;
    transform: translate(-10px, 4px);
    clip-path: polygon(0 8%, 100% 0, 100% 22%, 0 15%);
  }
}

@keyframes glitch-after {
  0%, 4.9%, 12.1%, 49.9%, 57.1%, 100% { 
    opacity: 0;
    transform: translate(0, 0);
    clip-path: polygon(0 35%, 100% 35%, 100% 70%, 0 70%);
  }
  5%, 6%, 7%, 8%, 9%, 10%, 11%, 12% {
    opacity: 1;
    transform: translate(-12px, 6px);
    clip-path: polygon(0 40%, 100% 32%, 100% 72%, 0 65%);
  }
  50%, 51%, 52%, 53%, 54%, 55%, 56%, 57% {
    opacity: 1;
    transform: translate(10px, -4px);
    clip-path: polygon(0 32%, 100% 40%, 100% 65%, 0 72%);
  }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-neon);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--color-neon-dim);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 20px var(--color-neon-dim); opacity: 1; }
  50% { text-shadow: 0 0 24px var(--color-neon-dim); opacity: 0.95; }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.hero .btn--primary {
  background: var(--color-neon);
  color: var(--color-void);
  box-shadow: 0 0 24px var(--color-neon-dim);
}

.hero .btn--primary:hover {
  background: var(--color-white);
  color: var(--color-void);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.5);
}

.hero .btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(0, 212, 255, 0.5);
}

.hero .btn--ghost:hover {
  border-color: var(--color-neon);
  color: var(--color-neon);
  box-shadow: 0 0 20px var(--color-neon-dim);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Strip */
.stats-strip {
  background: linear-gradient(180deg, var(--color-void) 0%, var(--color-slate) 100%);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, var(--color-neon-dim), transparent);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neon);
  text-shadow: 0 0 20px var(--color-neon-dim);
  animation: stat-pulse 5s ease-in-out infinite;
}

@keyframes stat-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--color-neon-dim); }
  50% { opacity: 0.95; text-shadow: 0 0 24px var(--color-neon-dim); }
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* Why Locked Jar - revamped */
.why-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.why-intro h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.why-lead {
  color: var(--color-gray);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

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

.why-feature {
  --border-angle: 0deg;
  padding: 2rem 1.5rem;
  background:
    linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)) padding-box,
    conic-gradient(from var(--border-angle), var(--color-neon), rgba(0, 212, 255, 0.5), var(--color-neon)) border-box;
  border: 2px solid transparent;
  border-radius: 0 var(--radius-glass) var(--radius-glass) 0;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: border-spin 10s linear infinite;
}

.why-feature:hover {
  box-shadow: var(--shadow-glow), 0 0 30px rgba(0, 212, 255, 0.15);
  transform: translateX(4px);
}

.why-feature-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-neon);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.why-feature h3 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.why-feature p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* Section header (shared) */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .divider {
  width: 80px;
  height: 4px;
  background: var(--color-neon);
  margin: 0 auto 1rem;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--color-neon-dim);
}

.section-header h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.1rem;
}

.section--why {
  background: var(--color-slate);
  position: relative;
}

.section--why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Industries */
.section--industries {
  background: var(--color-deep);
  position: relative;
}

.section--industries::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.industries-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.industries-intro h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.industries-intro p {
  color: var(--color-gray);
  font-size: 1rem;
}
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.industry-tag {
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-offwhite);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.industry-tag:hover {
  border-color: var(--color-neon);
  color: var(--color-neon);
  box-shadow: 0 0 20px var(--color-neon-dim);
}

.industry-tag[aria-expanded="true"] {
  border-color: var(--color-neon);
  background: rgba(0, 212, 255, 0.15);
  color: var(--color-neon);
  box-shadow: 0 0 24px var(--color-neon-dim);
}

/* Industry detail panel (shown when tag clicked) */
.industry-detail {
  margin-top: 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition), max-height 0.35s ease;
}

.industry-detail.visible {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.industry-detail-inner {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-glass);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-glow), 0 0 40px rgba(255, 0, 234, 0.05);
  position: relative;
}

.industry-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-gray);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition);
}

.industry-detail-close:hover {
  color: var(--color-neon);
}

.industry-detail-title {
  font-size: 1.25rem;
  color: var(--color-offwhite);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.industry-detail-text {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.industry-detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.industry-detail-cases {
  list-style: none;
  margin: 0;
  padding: 0;
}

.industry-detail-cases li {
  margin-bottom: 0.5rem;
}

.industry-detail-cases a {
  color: var(--color-neon);
  font-size: 0.9rem;
}

.industry-detail-cases a:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-shadow: 0 0 10px var(--color-neon-dim);
}

/* How we work - revamped */
.section--how {
  background: var(--color-slate);
  position: relative;
}

.section--how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.how-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.how-intro h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.how-lead {
  color: var(--color-gray);
  font-size: 1.1rem;
}

.how-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.how-step-new {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.how-step-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.35rem;
  background: var(--color-neon);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-neon-dim);
}

.how-step-content h3 {
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.how-step-content p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .how-step-new {
    max-width: none;
  }
}

/* Services Section */
.section--services {
  background: var(--color-deep);
  position: relative;
}

.section--services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.services-header .divider {
  width: 80px;
  height: 4px;
  background: var(--color-neon);
  margin: 0 auto 1rem;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--color-neon-dim);
}

.services-header h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.75rem;
}

.services-lead {
  color: var(--color-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.service-card-span-2 {
  grid-column: 1 / -1;
}

.service-card-span-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.service-card-span-2 .service-card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-card-span-2 .service-card-body {
  flex: 1;
}

/* Animated conic gradient border - award-winning futuristic card effect */
.service-card-new {
  --border-angle: 0deg;
  background:
    linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)) padding-box,
    conic-gradient(from var(--border-angle), var(--color-neon), rgba(0, 212, 255, 0.5), var(--color-neon)) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-glass);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: border-spin 8s linear infinite;
}

.service-card-new:hover {
  box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

@keyframes border-spin {
  to { --border-angle: 360deg; }
}

.service-card-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  color: var(--color-neon);
}

.service-card-icon img,
.service-card-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card-icon--ai {
  color: var(--color-neon);
}

.service-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-neon);
}

.service-card-link:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px var(--color-neon-dim);
}

.service-card-body h3 {
  color: var(--color-offwhite);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.service-card-tagline {
  color: var(--color-neon);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-card-body p:not(.service-card-tagline) {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

  .service-card-span-2 {
    grid-column: 1;
  }

  .service-card-span-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .service-card-span-2 .service-card-icon {
    margin-bottom: 0;
  }
}

/* CTA Section - revamped */
.cta-section {
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-slate) 0%, var(--color-void) 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

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

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-inner .btn--primary {
  background: var(--color-neon);
  color: var(--color-void);
  box-shadow: 0 0 24px var(--color-neon-dim);
}

.cta-inner .btn--primary:hover {
  background: var(--color-white);
  color: var(--color-void);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.5);
}

/* Contact Section - revamped */
.contact-section {
  background: var(--color-slate);
  padding: 5rem 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--color-offwhite);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-details a {
  color: var(--color-neon);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px var(--color-neon-dim);
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-neon);
  font-weight: 500;
}

.contact-linkedin:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px var(--color-neon-dim);
}

.contact-form-wrap {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: var(--radius-glass);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(5, 8, 15, 0.5);
  color: var(--color-offwhite);
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-neon);
  box-shadow: 0 0 0 1px var(--color-neon-dim);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  min-height: 48px;
  background: var(--color-neon);
  color: var(--color-void);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 20px var(--color-neon-dim);
}

.form-submit:hover {
  background: var(--color-white);
  color: var(--color-void);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.5);
}

/* Footer - revamped */
.footer {
  background: var(--color-void);
  color: var(--color-offwhite);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 200px;
}

.footer-logo img {
  height: 40px;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

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

.footer-links a:hover {
  color: var(--color-neon);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  color: var(--color-offwhite);
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: var(--color-neon);
}

.footer-contact h4 {
  color: var(--color-offwhite);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

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

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-neon);
  color: var(--color-void);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: var(--color-neon);
  color: var(--color-void);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 0 20px var(--color-neon-dim);
}

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

.back-to-top:hover {
  background: var(--color-white);
  color: var(--color-void);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.6);
}

/* Page Content (for service pages) */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--color-void);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 1px,
    rgba(0, 0, 0, 0.03) 1px,
    rgba(0, 0, 0, 0.03) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--color-white);
  max-width: 720px;
  margin: 0 auto;
}

.page-header-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.page-content {
  padding: 4rem 0;
  background: var(--color-deep);
  position: relative;
}

.page-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-content .container {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.page-content:has(.case-study-grid) .container {
  max-width: 1200px;
}

.page-content h2 {
  color: var(--color-offwhite);
  margin: 2rem 0 1rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p, .page-content li {
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

/* Case study pages */
.case-study-header {
  padding: 8rem 0 4rem;
  background: var(--color-void);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-study-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.case-study-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 1px,
    rgba(0, 0, 0, 0.03) 1px,
    rgba(0, 0, 0, 0.03) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.case-study-header .container {
  position: relative;
  z-index: 2;
}

.case-study-header h1 {
  color: var(--color-white);
  font-family: var(--font-heading);
  max-width: 720px;
  margin: 0 auto;
}

.case-study-meta {
  color: var(--color-neon);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

.case-study-content {
  padding: 4rem 0;
  background: var(--color-deep);
  position: relative;
}

.case-study-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.case-study-content .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.case-study-section {
  margin-bottom: 2.5rem;
}

.case-study-section h2 {
  color: var(--color-neon);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.case-study-section p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.case-study-outcome {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-left: 3px solid var(--color-neon);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
}

.case-study-outcome p:first-child {
  color: var(--color-offwhite);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case-study-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
}

.case-study-cta p {
  color: var(--color-offwhite);
  margin-bottom: 1rem;
}

.case-study-cta .btn--primary {
  box-shadow: 0 0 24px var(--color-neon-dim);
}

/* Case study grid (Our Work index) */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-study-card {
  --border-angle: 0deg;
  display: block;
  padding: 2rem;
  background:
    linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)) padding-box,
    conic-gradient(from var(--border-angle), var(--color-neon), rgba(0, 212, 255, 0.5), var(--color-neon)) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-glass);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: border-spin 8s linear infinite;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 212, 255, 0.15);
}

.case-study-card h3 {
  color: var(--color-offwhite);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.case-study-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.case-study-card-meta {
  font-size: 0.8rem;
  color: var(--color-neon);
  letter-spacing: 0.03em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}

.btn--primary {
  background: var(--color-neon);
  color: var(--color-void);
  box-shadow: 0 0 20px var(--color-neon-dim);
}

.btn--primary:hover {
  background: var(--color-white);
  color: var(--color-void);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.5);
}

.btn--secondary {
  background: var(--color-slate-light);
  color: var(--color-white);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn--secondary:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--color-neon);
}
