/* ═══════════════════════════════════════════════════
   SENTINEL AI — style.css (Full Page)
   ═══════════════════════════════════════════════════ */

/* 1. CSS Custom Properties */
:root {
  --background:           0 0% 10%;
  --foreground:           0 0% 96%;
  --primary:              119 99% 46%;
  --primary-foreground:   0 0% 4%;
  --secondary:            0 0% 18%;
  --secondary-foreground: 0 0% 96%;
  --muted:                0 0% 16%;
  --muted-foreground:     0 0% 60%;
  --accent:               119 99% 46%;
  --accent-foreground:    0 0% 4%;
  --destructive:          0 84% 60%;
  --border:               0 0% 20%;
  --input:                0 0% 20%;
  --ring:                 119 99% 46%;
  --radius:               0.5rem;
  --nav-button:           0 0% 18%;
  --hero-bg:              0 0% 8%;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Z-index */
  --z-scene:   0;
  --z-overlay: 2;
  --z-content: 10;
  --z-nav:     50;
  --z-toast:   500;

  /* Section scroll offset */
  --nav-height: 80px;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--hero-bg));
  color: hsl(var(--foreground));
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: 'Sora', sans-serif; cursor: pointer; border: none; outline: none; }
img { display: block; max-width: 100%; }

/* 3. Keyframes */
@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);     filter: blur(0); }
}
@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes orbit1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -60px) scale(1.05); }
  66%       { transform: translate(-30px, 40px) scale(0.95); }
}
@keyframes orbit2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-60px, -40px); }
}
@keyframes orbit3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(70px, -30px) scale(1.15); }
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 235, 11, 0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 235, 11, 0); }
}
@keyframes scan-line {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes stat-bar-grow {
  from { width: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 4. Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(4px);
  transition-delay: var(--stagger, 0s);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Hero stagger */
.animate-stagger {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: hsl(var(--border));
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1440px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .nav-inner { padding: 20px 64px; } }
.nav-logo {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: hsl(var(--foreground)); transition: color 0.2s ease; flex-shrink: 0;
}
.nav-logo:hover { color: hsl(var(--primary)); }
.nav-logo:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; border-radius: var(--radius-sm); }
.nav-links { display: none; list-style: none; align-items: center; gap: 32px; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); transition: color 0.2s ease;
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: hsl(var(--primary));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: hsl(var(--foreground)); }
.nav-link:hover::after { width: 100%; }
.nav-link:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; border-radius: 2px; }
.nav-cta-wrap { display: none; flex-shrink: 0; }
@media (min-width: 768px) { .nav-cta-wrap { display: flex; } }
.btn-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px;
  background: hsl(var(--nav-button)); color: hsl(var(--foreground));
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: var(--radius-md); border: 1px solid hsl(var(--border));
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.btn-nav-cta:hover { background: rgba(46, 46, 46, 0.8); box-shadow: 0 0 20px rgba(0, 235, 11, 0.08); }
.btn-nav-cta:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.btn-nav-cta:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-nav-cta:disabled { opacity: 0.4; pointer-events: none; }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  background-color: hsl(var(--hero-bg)); overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.4), transparent);
  z-index: var(--z-content);
  animation: scan-line 8s ease-in-out infinite; pointer-events: none;
}
.scene-fallback { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,235,11,0.12) 0%, transparent 70%); top: -10%; right: 5%; animation: orbit1 22s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,235,11,0.07) 0%, transparent 70%); bottom: 10%; left: -5%; animation: orbit2 18s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,180,8,0.06) 0%, transparent 70%); top: 40%; left: 40%; animation: orbit3 28s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,235,11,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,235,11,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spline-wrap { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
spline-viewer { width: 100%; height: 100%; display: block; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,0.30); pointer-events: none;
}
.hero-overlay::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(20,20,20,0.75) 0%, transparent 100%);
}
.hero-content {
  position: relative; z-index: var(--z-content); pointer-events: none;
  width: 100%; max-width: 90%; padding: 128px 24px 40px;
}
@media (min-width: 640px)  { .hero-content { max-width: 480px; } }
@media (min-width: 1024px) { .hero-content { max-width: 768px; padding: 128px 40px 40px; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,235,11,0.08); border: 1px solid rgba(0,235,11,0.20);
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--primary)); margin-bottom: 20px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--primary)); flex-shrink: 0;
  animation: badge-pulse 2s ease-in-out infinite;
}
.hero-heading {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.05em;
  color: hsl(var(--foreground)); text-transform: uppercase;
  margin-bottom: 12px;
}
@media (min-width: 768px) { .hero-heading { margin-bottom: 16px; } }
.text-primary { color: hsl(var(--primary)); }
.hero-sub {
  font-size: clamp(1.125rem, 2.5vw, 1.875rem); font-weight: 300;
  color: hsl(var(--foreground) / 0.80); margin-bottom: 12px; line-height: 1.3;
}
@media (min-width: 768px) { .hero-sub { margin-bottom: 24px; } }
.hero-desc {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem); font-weight: 300;
  color: hsl(var(--muted-foreground)); line-height: 1.7;
  margin-bottom: 16px; max-width: 540px;
}
@media (min-width: 768px) { .hero-desc { margin-bottom: 32px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; pointer-events: auto; }
.hero-trust {
  font-size: 12px; font-weight: 300;
  color: hsl(var(--muted-foreground) / 0.60);
  margin-top: 16px; letter-spacing: 0.04em;
}
@media (min-width: 768px) { .hero-trust { margin-top: 24px; } }

/* ═══════════════════════════════════════════════════
   BUTTONS (shared)
   ═══════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 2px rgba(0,235,11,0.10), 0 4px 12px rgba(0,235,11,0.15), 0 0 40px rgba(0,235,11,0.08);
}
@media (min-width: 768px) { .btn-primary { padding: 16px 32px; } }
.btn-primary:hover { filter: brightness(1.10); box-shadow: 0 4px 16px rgba(0,235,11,0.25), 0 0 60px rgba(0,235,11,0.15); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(0,235,11,0.15); }
.btn-primary:active { transform: scale(0.97) translateY(0); transition-duration: 0.1s; filter: brightness(1.0); }
.btn-primary:disabled { opacity: 0.4; pointer-events: none; filter: grayscale(30%); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: #ffffff; color: hsl(var(--hero-bg));
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .btn-secondary { padding: 16px 32px; } }
.btn-secondary:hover { filter: brightness(0.90); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.btn-secondary:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.btn-secondary:active { transform: scale(0.97) translateY(0); transition-duration: 0.1s; }
.btn-secondary:disabled { opacity: 0.4; pointer-events: none; }

/* ═══════════════════════════════════════════════════
   PAGE SECTIONS — SHARED
   ═══════════════════════════════════════════════════ */
.page-section {
  scroll-margin-top: var(--nav-height);
  padding: var(--space-4xl) 0;
  position: relative;
}
@media (min-width: 768px)  { .page-section { padding: var(--space-5xl) 0; } }

.section-container {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (min-width: 768px)  { .section-container { padding: 0 var(--space-xl); } }
@media (min-width: 1024px) { .section-container { padding: 0 var(--space-3xl); } }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: hsl(var(--primary)); margin-bottom: var(--space-sm);
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  color: hsl(var(--foreground)); margin-bottom: var(--space-md);
}
.section-subtext {
  font-size: 16px; font-weight: 300;
  color: hsl(var(--muted-foreground)); max-width: 480px; margin: 0 auto;
  line-height: 1.6;
}
.accent-underline {
  position: relative; display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: hsl(var(--primary));
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════ */
.services-section {
  background: hsl(var(--hero-bg));
  border-top: 1px solid hsl(var(--border));
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid hsl(var(--primary));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,235,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 40px rgba(0,235,11,0.06);
  background: rgba(255,255,255,0.05);
}
.service-card:focus-within { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.service-icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,235,11,0.08);
  border: 1px solid rgba(0,235,11,0.15);
  border-radius: var(--radius-md);
  color: hsl(var(--primary));
  margin-bottom: var(--space-lg);
}
.service-title {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: hsl(var(--foreground)); margin-bottom: var(--space-sm);
}
.service-desc {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: hsl(var(--muted-foreground)); margin-bottom: var(--space-lg);
}
.service-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  background: rgba(0,235,11,0.08); border: 1px solid rgba(0,235,11,0.15);
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: hsl(var(--primary));
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════ */
.about-section {
  background: hsl(0 0% 9%);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.about-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,235,11,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,235,11,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}
.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
@media (min-width: 1024px) { .about-container { grid-template-columns: 1fr 1fr; gap: var(--space-4xl); } }
.about-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.15;
  color: hsl(var(--foreground)); margin-bottom: var(--space-lg);
}
.about-desc {
  font-size: 16px; font-weight: 300; line-height: 1.75;
  color: hsl(var(--muted-foreground)); margin-bottom: var(--space-xl);
  max-width: 480px;
}
.about-cta-row { display: flex; gap: var(--space-md); }

/* Stat cards */
.about-right { display: flex; flex-direction: column; gap: var(--space-lg); }
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: hsl(var(--primary)); margin-bottom: var(--space-sm);
}
.stat-label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); margin-bottom: var(--space-md);
}
.stat-bar {
  height: 3px; background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full); overflow: hidden;
}
.stat-bar-fill {
  height: 100%; background: hsl(var(--primary));
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card.visible .stat-bar-fill { width: var(--bar-width, 80%); }

/* ═══════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════ */
.projects-section {
  background: hsl(var(--hero-bg));
  border-top: 1px solid hsl(var(--border));
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,235,11,0.08);
}
.project-card-inner { padding: var(--space-xl); height: 100%; display: flex; flex-direction: column; }
.project-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-lg);
}
.project-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: hsl(var(--primary));
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--primary));
  animation: badge-pulse 2s ease-in-out infinite;
}
.project-year {
  font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}
.project-number {
  font-size: 48px; font-weight: 700; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.06); line-height: 1;
  margin-bottom: var(--space-sm);
}
.project-title {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: hsl(var(--foreground)); margin-bottom: var(--space-md);
  line-height: 1.2;
}
.project-desc {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: hsl(var(--muted-foreground)); margin-bottom: var(--space-lg);
  flex: 1;
}
.project-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: auto; }
.ptag {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

/* ═══════════════════════════════════════════════════
   TEAM SECTION
   ═══════════════════════════════════════════════════ */
.team-section {
  background: hsl(0 0% 9%);
  border-top: 1px solid hsl(var(--border));
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  border-color: rgba(0,235,11,0.15);
}
.team-img-wrap {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: hsl(0 0% 14%);
}
.team-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  filter: grayscale(20%);
}
.team-card:hover .team-img { transform: scale(1.04); filter: grayscale(0%); }
.team-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.7) 0%, transparent 50%);
  pointer-events: none;
}
/* Fallback when image fails */
.team-img-wrap::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 700; color: rgba(0,235,11,0.3);
  background: hsl(0 0% 12%);
  z-index: 0;
}
.team-img { position: relative; z-index: 1; }
.team-info { padding: var(--space-lg); }
.team-name {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  color: hsl(var(--foreground)); margin-bottom: 4px;
}
.team-role {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--primary)); margin-bottom: var(--space-sm);
}
.team-bio {
  font-size: 13px; font-weight: 300; line-height: 1.65;
  color: hsl(var(--muted-foreground));
}

/* ═══════════════════════════════════════════════════
   CONTACTS SECTION
   ═══════════════════════════════════════════════════ */
.contacts-section {
  background: hsl(var(--hero-bg));
  border-top: 1px solid hsl(var(--border));
}
.contacts-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
@media (min-width: 1024px) { .contacts-container { grid-template-columns: 1fr 1fr; gap: var(--space-4xl); } }
.contacts-heading {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  color: hsl(var(--foreground)); margin-bottom: var(--space-md);
}
.contacts-desc {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: hsl(var(--muted-foreground)); margin-bottom: var(--space-xl);
}
.contacts-info { list-style: none; display: flex; flex-direction: column; gap: var(--space-md); }
.contacts-info-item {
  display: flex; align-items: center; gap: var(--space-md);
  font-size: 15px; font-weight: 400; color: hsl(var(--foreground) / 0.80);
}
.contacts-info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,235,11,0.08); border: 1px solid rgba(0,235,11,0.15);
  border-radius: var(--radius-md); color: hsl(var(--primary));
}
.contacts-link { color: hsl(var(--foreground) / 0.80); transition: color 0.2s ease; }
.contacts-link:hover { color: hsl(var(--primary)); }
.contacts-link:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; border-radius: 2px; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.input-wrap { position: relative; }
.input-wrap input,
.input-wrap textarea {
  width: 100%; padding: 20px 16px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  color: hsl(var(--foreground)); font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 400;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none; resize: none;
}
.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px rgba(0,235,11,0.10);
}
.input-wrap label {
  position: absolute; top: 14px; left: 16px;
  font-size: 14px; font-weight: 400;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.input-wrap input:focus + label,
.input-wrap input:not(:placeholder-shown) + label,
.input-wrap textarea:focus + label,
.input-wrap textarea:not(:placeholder-shown) + label {
  top: 5px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: hsl(var(--primary));
}
.input-error {
  display: none; font-size: 12px; color: hsl(var(--destructive));
  margin-top: 4px; padding-left: 4px;
}
.input-wrap.error input,
.input-wrap.error textarea { border-color: hsl(var(--destructive)); }
.input-wrap.error .input-error { display: block; }

.btn-form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,235,11,0.20), 0 0 40px rgba(0,235,11,0.08);
  width: 100%;
}
.btn-form-submit:hover { filter: brightness(1.10); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,235,11,0.30), 0 0 60px rgba(0,235,11,0.12); }
.btn-form-submit:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.btn-form-submit:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-form-submit:disabled { opacity: 0.5; pointer-events: none; filter: grayscale(20%); }
.btn-submit-icon { display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(0 0% 7%);
  padding: var(--space-xl) 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-md);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy {
  font-size: 13px; font-weight: 300; letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
}
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: center; }
.footer-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); transition: color 0.2s ease;
}
.footer-link:hover { color: hsl(var(--primary)); }
.footer-link:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; border-radius: 2px; }

/* ═══════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════ */
#toast-container {
  position: fixed; bottom: var(--space-lg); right: var(--space-lg);
  z-index: var(--z-toast); display: flex; flex-direction: column;
  gap: var(--space-sm); pointer-events: none;
}
.toast {
  pointer-events: auto; padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  color: hsl(var(--foreground)); font-size: 14px; font-family: 'Sora', sans-serif;
  display: flex; align-items: center; gap: var(--space-sm);
  transform: translateX(120%); opacity: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  min-width: 240px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); }
.toast.error   { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.3); }
.toast.info    { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); }

/* ═══════════════════════════════════════════════════
   MOBILE OVERRIDES
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .nav-inner { padding: 16px 20px; }
  .hero-content { padding: 100px 20px 32px; }
  .hero-badge { font-size: 10px; padding: 5px 12px; }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 13px; width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; }
  .section-container { padding: 0 var(--space-md); }
  .about-container { gap: var(--space-2xl); }
  .contacts-container { gap: var(--space-2xl); }
  .footer-inner { gap: var(--space-lg); }
  .footer-nav { gap: var(--space-md); }
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .animate-stagger, .scroll-reveal {
    animation: none; opacity: 1; transform: none; filter: none;
    transition: none;
  }
  .orb-1, .orb-2, .orb-3, .badge-dot, .status-dot { animation: none; }
  .hero-section::before { animation: none; opacity: 0; }
  .stat-bar-fill { transition: none; }
}
