/* ============================================
   GDNA — Style Sheet
   Design: Dark tech, teal/cyan accents, modern
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Variables (exact palette from design spec) --- */
:root {
  /* Backgrounds */
  --bg-primary: #071826;
  --bg-nav: #0B202E;
  --bg-section: #0F2B38;
  --bg-section-alt: #183240;
  --bg-card: #1A3442;
  --bg-footer-top: #314550;
  --bg-footer-bottom: #081624;

  /* Accents — Teal / Cyan */
  --accent-teal-dark: #1E606D;
  --accent-teal-mid: #538A8B;
  --accent-teal-light: #95C5BD;
  --accent-cyan: #4EC9CC;
  --accent-cyan-bright: #40E0EC;
  --accent-cyan-neon: #17EFF4;
  --accent-cyan-extreme: #72FAFE;

  /* Accents — Green */
  --accent-green: #77E794;
  --accent-green-bright: #85EE91;

  /* Accents — Blue */
  --accent-blue: #4DB4D1;
  --accent-blue-deep: #2A75A7;

  /* Accents — Purple */
  --accent-purple: #8976B7;
  --accent-purple-dark: #47386C;

  /* Text */
  --text-primary: #FBFCFD;
  --text-secondary: #CAD0D4;
  --text-tertiary: #AAB0B4;
  --text-muted: #8B9095;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #061423 0%, #194049 100%);
  --gradient-section: linear-gradient(135deg, #0F323B 0%, #0E1D2B 100%);
  --gradient-cta: linear-gradient(180deg, #0C2331 0%, #2A3F4A 100%);
  --gradient-footer: linear-gradient(180deg, #314550 0%, #081624 100%);
  --gradient-btn: linear-gradient(135deg, #1E606D 0%, #4EC9CC 100%);
  --gradient-btn-hover: linear-gradient(135deg, #247A8A 0%, #40E0EC 100%);
  --gradient-glow: linear-gradient(135deg, #1E606D 0%, #17EFF4 50%, #72FAFE 100%);

  /* Borders */
  --border-card: #1E606D;
  --border-subtle: rgba(78, 201, 204, 0.15);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(78, 201, 204, 0.3);
  --shadow-glow-hover: 0 0 40px rgba(78, 201, 204, 0.5);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-cyan-bright);
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-teal-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-teal-mid); }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 32, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(78, 201, 204, 0.08);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}
.nav-logo .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-glow);
  box-shadow: 0 0 12px rgba(78, 201, 204, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-glow);
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-btn);
  color: var(--text-primary) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
  background: var(--gradient-btn-hover);
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #061423 0%, #194049 50%, #0B202E 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 201, 204, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 201, 204, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(78, 201, 204, 0.1);
  border: 1px solid rgba(78, 201, 204, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gradient-btn);
  color: var(--text-primary) !important;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-btn-hover);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary) !important;
  border: 1px solid rgba(78, 201, 204, 0.3);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(78, 201, 204, 0.08);
  transform: translateY(-2px);
}

/* Hero illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.tech-node {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-glow);
  box-shadow: 0 0 30px rgba(78, 201, 204, 0.3);
  animation: float-node 6s ease-in-out infinite;
}

.tech-node:nth-child(1) {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation-delay: 0s;
}

.tech-node:nth-child(2) {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 10%;
  opacity: 0.2;
  animation-delay: -1.5s;
}

.tech-node:nth-child(3) {
  width: 70px;
  height: 70px;
  bottom: 20%;
  left: 5%;
  opacity: 0.25;
  animation-delay: -3s;
}

.tech-node:nth-child(4) {
  width: 40px;
  height: 40px;
  top: 25%;
  left: 15%;
  opacity: 0.3;
  animation-delay: -4.5s;
}

.tech-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(78, 201, 204, 0.15), transparent);
  height: 1px;
  animation: pulse-line 4s ease-in-out infinite;
}

.tech-line:nth-child(5) {
  width: 60%;
  top: 30%;
  left: 20%;
  transform: rotate(-15deg);
  animation-delay: -1s;
}

.tech-line:nth-child(6) {
  width: 45%;
  bottom: 35%;
  right: 10%;
  transform: rotate(25deg);
  animation-delay: -2.5s;
}

.tech-line:nth-child(7) {
  width: 35%;
  top: 60%;
  left: 5%;
  transform: rotate(-40deg);
  animation-delay: -4s;
}

.tech-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: flicker-dot 3s ease-in-out infinite;
}

.tech-dot:nth-child(8) { top: 22%; left: 35%; animation-delay: 0s; }
.tech-dot:nth-child(9) { top: 45%; left: 70%; animation-delay: -0.8s; }
.tech-dot:nth-child(10) { top: 70%; left: 25%; animation-delay: -1.6s; }
.tech-dot:nth-child(11) { top: 35%; left: 80%; animation-delay: -2.4s; }
.tech-dot:nth-child(12) { top: 55%; left: 15%; animation-delay: -3.2s; }

.tech-hex {
  position: absolute;
  width: 80px;
  height: 90px;
  top: 10%;
  left: 30%;
  border: 1px solid rgba(78, 201, 204, 0.12);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: float-hex 8s ease-in-out infinite;
}

.tech-hex:nth-child(13) {
  width: 120px;
  height: 138px;
  top: auto;
  bottom: 5%;
  left: auto;
  right: 15%;
  animation-delay: -3s;
  border-color: rgba(78, 201, 204, 0.08);
}

@keyframes float-node {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes flicker-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float-hex {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* --- Section common --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(78, 201, 204, 0.1);
  border: 1px solid rgba(78, 201, 204, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Services Section --- */
.services {
  background: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(78, 201, 204, 0.1);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 201, 204, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 20px rgba(78, 201, 204, 0.08);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  position: relative;
}

.service-icon.cyber { background: rgba(78, 201, 204, 0.12); }
.service-icon.devops { background: rgba(119, 231, 148, 0.12); }
.service-icon.ai { background: rgba(137, 118, 183, 0.12); }
.service-icon.train { background: rgba(77, 180, 209, 0.12); }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.service-tag {
  padding: 3px 10px;
  background: rgba(78, 201, 204, 0.06);
  border: 1px solid rgba(78, 201, 204, 0.1);
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* --- Expertise Section --- */
.expertise {
  background: var(--bg-section);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid rgba(78, 201, 204, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
}

.expertise-card:hover {
  border-color: rgba(78, 201, 204, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.expertise-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

.expertise-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expertise-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.expertise-card li::before {
  content: '▸';
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Stats / CTA Section --- */
.stats {
  background: var(--bg-primary);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 60px;
}

.stat-item {
  padding: 32px;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

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

.cta-box {
  text-align: center;
  background: var(--gradient-cta);
  border: 1px solid rgba(78, 201, 204, 0.1);
  border-radius: 20px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(78, 201, 204, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--gradient-footer);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(78, 201, 204, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(78, 201, 204, 0.08);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: all 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(78, 201, 204, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    height: 350px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 32, 46, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border-bottom: 1px solid rgba(78, 201, 204, 0.08);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-visual {
    height: 250px;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-box {
    padding: 40px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   ANIMATIONS (complètes — GDNA spec §8)
   ============================================= */

/* --- 8.1 Timing vars --- */
:root {
  --duration-fast:   0.15s;
  --duration-normal: 0.3s;
  --duration-slow:   0.5s;
  --duration-glow:   1.2s;
  --duration-float:  2s;
  --duration-particle: 3.5s;
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 8.2 CTA Glow pulsant (mappé sur .btn-primary existant) --- */
.btn-primary {
  position: relative;
  animation: cta-glow var(--duration-glow) ease-in-out infinite alternate;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #17EFF4 100%);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
@keyframes cta-glow {
  0%   { box-shadow: 0 4px 20px rgba(78, 201, 204, 0.25), 0 0 40px rgba(78, 201, 204, 0.08); }
  50%  { box-shadow: 0 6px 28px rgba(78, 201, 204, 0.40), 0 0 60px rgba(23, 239, 244, 0.20); }
  100% { box-shadow: 0 4px 20px rgba(78, 201, 204, 0.25), 0 0 40px rgba(78, 201, 204, 0.08); }
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--accent-cyan);
  color: var(--text-secondary);
  animation: none;
}
.btn-secondary:hover {
  background: rgba(78, 201, 204, 0.1);
  border-color: #17EFF4;
  color: var(--text-primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(78, 201, 204, 0.15);
}

/* --- 8.3 Particules flottantes --- */
.hero-particles { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 1; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
  will-change: transform;
  box-shadow: 0 0 20px 4px currentColor;
}
.particle--circle  { border-radius: 50%; }
.particle--hex     { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); border-radius: 0; }
.particle--diamond { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); border-radius: 0; }
.particle--ring    { border-radius: 50%; background: transparent !important; border: 2px solid; }
.particle--cyan    { background: rgba(78, 201, 204, 0.85); border-color: #4EC9CC; color: #4EC9CC; }
.particle--teal    { background: rgba(30, 96, 109, 0.85); border-color: #1E606D; color: #1E606D; }
.particle--green   { background: rgba(119, 231, 148, 0.85); border-color: #77E794; color: #77E794; }
.particle--blue    { background: rgba(77, 180, 209, 0.85); border-color: #4DB4D1; color: #4DB4D1; }
.particle--white   { background: rgba(251, 252, 253, 0.5); border-color: #FBFCFD; color: #FBFCFD; }
@keyframes float-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(15px, -20px) rotate(90deg) scale(1.05); }
  50%  { transform: translate(-10px, -40px) rotate(180deg) scale(0.95); }
  75%  { transform: translate(20px, -15px) rotate(270deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}
@keyframes float-sway {
  0%   { transform: translateX(0) translateY(0); }
  33%  { transform: translateX(25px) translateY(-15px); }
  66%  { transform: translateX(-15px) translateY(-30px); }
  100% { transform: translateX(0) translateY(0); }
}
.particle:nth-child(1)  { animation: float-drift var(--duration-particle) var(--ease-in-out) infinite; }
.particle:nth-child(2)  { animation: float-drift calc(var(--duration-particle) * 1.3) var(--ease-in-out) infinite reverse; }
.particle:nth-child(3)  { animation: float-sway calc(var(--duration-particle) * 0.8) ease-in-out infinite; }
.particle:nth-child(4)  { animation: float-drift calc(var(--duration-particle) * 1.1) var(--ease-in-out) infinite; }
.particle:nth-child(5)  { animation: float-sway calc(var(--duration-particle) * 1.4) ease-in-out infinite reverse; }
.particle:nth-child(6)  { animation: float-drift calc(var(--duration-particle) * 0.9) var(--ease-in-out) infinite 1s; }
.particle:nth-child(7)  { animation: float-sway calc(var(--duration-particle) * 1.2) ease-in-out infinite 0.5s; }
.particle:nth-child(8)  { animation: float-drift calc(var(--duration-particle) * 1.5) var(--ease-in-out) infinite reverse 0.3s; }
.particle::after { content: ''; position: absolute; inset: -50%; background: inherit; filter: blur(20px); opacity: 0.3; border-radius: 50%; }

/* --- 8.4 Réseau (mappé sur .tech-line/.tech-node/.tech-dot existants) --- */
@keyframes network-pulse {
  0%   { opacity: 0.15; transform: scaleX(0.8); }
  50%  { opacity: 0.50; transform: scaleX(1.1); }
  100% { opacity: 0.15; transform: scaleX(0.8); }
}
@keyframes node-pulse {
  0%   { transform: scale(0.8); box-shadow: 0 0 8px rgba(23, 239, 244, 0.3); }
  100% { transform: scale(1.3); box-shadow: 0 0 20px rgba(23, 239, 244, 0.8); }
}

/* --- 8.5 Scroll reveal — déjà existant, on ajoute les variantes --- */
.reveal--left   { transform: translateX(-40px); }
.reveal--right  { transform: translateX(40px); }
.reveal--scale  { transform: scale(0.9); }
.reveal--left.visible { transform: translateX(0); }
.reveal--right.visible { transform: translateX(0); }
.reveal--scale.visible { transform: scale(1); }

/* --- 8.6 Hover lift cartes (mappé sur .service-card existant) --- */
.service-card {
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out);
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(78, 201, 204, 0.08);
  border-color: rgba(78, 201, 204, 0.4);
  background: linear-gradient(135deg, #1E3848 0%, var(--bg-section) 100%);
}
.service-card:active { transform: translateY(-2px) scale(0.99); }
.service-card .service-icon {
  transition: transform var(--duration-fast) var(--ease-bounce);
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-6deg);
}

/* --- 8.7 Compteur stats — déjà existant dans JS, on ajoute les décos --- */
.stat-number .suffix { font-size: 1.5rem; color: var(--accent-cyan); margin-left: 2px; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.25rem; letter-spacing: 0.03em; text-transform: uppercase; }

/* --- 8.8 Nav sticky + blur amélioré --- */
.nav {
  transition: background var(--duration-normal) var(--ease-out), backdrop-filter var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-bottom var(--duration-normal) var(--ease-out);
}
.nav--scrolled {
  background: rgba(7, 24, 38, 0.85) !important;
  backdrop-filter: blur(12px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.2) !important;
  box-shadow: 0 1px 0 rgba(78, 201, 204, 0.08) !important;
  border-bottom: none !important;
}

/* --- 8.9 Barre de progression --- */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-neon), var(--accent-green));
  z-index: 1001; transform-origin: left; scale: 0 1;
  transition: scale 0.1s linear; will-change: scale;
}

/* --- 8.10 Texte gradient animé (mappé sur .highlight existant) --- */
.highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-neon), var(--accent-green), var(--accent-blue), var(--accent-cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 4s ease-in-out infinite alternate;
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes typing  { from { width: 0; } to { width: 100%; } }
@keyframes blink-caret { 50% { border-color: transparent; } }
.typewriter {
  display: inline-block; overflow: hidden; white-space: nowrap;
  border-right: 2px solid var(--accent-cyan);
  animation: typing 2.5s steps(30, end) forwards, blink-caret 0.75s step-end infinite;
  max-width: fit-content;
}

/* --- 8.11 Footer liens animés --- */
.footer a:not(.social-icon) { position: relative; color: var(--text-tertiary); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
.footer a:not(.social-icon)::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent-cyan); transition: width var(--duration-normal) var(--ease-out); }
.footer a:not(.social-icon):hover { color: var(--text-primary); }
.footer a:not(.social-icon):hover::after { width: 100%; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(78, 201, 204, 0.2);
  color: var(--text-tertiary);
  transition: all var(--duration-fast) var(--ease-bounce);
}
.footer-social a:hover {
  background: rgba(78, 201, 204, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 20px rgba(78, 201, 204, 0.2);
}

/* --- 8.12 Séparateur de section --- */
.section-divider {
  width: 100%; height: 1px; border: none;
  background: linear-gradient(90deg, transparent 0%, rgba(78,201,204,0.3) 20%, rgba(78,201,204,0.5) 50%, rgba(78,201,204,0.3) 80%, transparent 100%);
  animation: divider-scan 3s ease-in-out infinite;
  margin: 0;
}
@keyframes divider-scan {
  0%   { opacity: 0.3; transform: scaleX(0.95); }
  50%  { opacity: 0.8; transform: scaleX(1.05); }
  100% { opacity: 0.3; transform: scaleX(0.95); }
}
.section-divider--wave svg { display: block; width: 100%; height: 40px; animation: wave-flow 6s linear infinite; }
@keyframes wave-flow { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 8.13 Micro-interactions --- */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
.page-loader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring { width: 48px; height: 48px; border: 3px solid rgba(78,201,204,0.1); border-top-color: var(--accent-cyan); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: relative; overflow: hidden; }
.ripple::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25); width: 100%; padding-top: 100%;
  top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
  opacity: 0; pointer-events: none;
}
.ripple:active::after { animation: ripple-effect 0.6s ease-out forwards; }
@keyframes ripple-effect {
  from { transform: translate(-50%,-50%) scale(0); opacity: 0.6; }
  to   { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}
.lazy-img { opacity: 0; transform: scale(0.95); filter: blur(10px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out), filter var(--duration-slow) var(--ease-out); }
.lazy-img.loaded { opacity: 1; transform: scale(1); filter: blur(0); }

/* --- 8.14 Toast notification --- */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid rgba(78, 201, 204, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 9999; animation: toast-in var(--duration-normal) var(--ease-out);
  max-width: 420px;
}
.toast--success { border-color: rgba(119, 231, 148, 0.4); }
.toast--error { border-color: rgba(255, 71, 87, 0.4); }
@keyframes toast-in {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.toast--success .toast-icon::before { content: '✓'; color: var(--accent-green); }
.toast--error .toast-icon::before { content: '✕'; color: #ff4757; }
.toast-message { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.4; flex: 1; }
.toast-close { background: none; border: none; color: var(--text-tertiary); font-size: 1.25rem; cursor: pointer; padding: 0.25rem; line-height: 1; transition: color var(--duration-fast) var(--ease-out); }
.toast-close:hover { color: var(--text-primary); }

/* =============================================
   MODAL CONTACT
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 24, 38, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay:not([hidden]) { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal-container {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, #183240 0%, #0F2B38 100%);
  border: 1px solid rgba(30, 96, 109, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(78, 201, 204, 0.05);
  animation: modal-in 0.3s ease-out;
}
@keyframes modal-in {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}
.modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}
.modal-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.modal-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0.125rem 0 0;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  transform: rotate(90deg);
}

.modal-form {
  padding: 1.25rem 1.5rem 1.5rem;
}
.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 480px) {
  .modal-form-row { grid-template-columns: 1fr; }
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.modal-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: rgba(7, 24, 38, 0.6);
  border: 1px solid rgba(78, 201, 204, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.modal-field input:focus,
.modal-field textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(78, 201, 204, 0.12);
}
.modal-field input::placeholder,
.modal-field textarea::placeholder { color: rgba(170, 176, 180, 0.35); }
.modal-field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.field-error {
  font-size: 0.75rem;
  color: #ff4757;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.field-error.visible { opacity: 1; }

.field-count {
  text-align: right;
  font-size: 0.6875rem;
  color: rgba(170, 176, 180, 0.4);
  margin-top: 0.125rem;
}

.modal-submit {
  width: 100%;
  margin-top: 0.75rem;
  cursor: pointer;
}

.modal-legal {
  text-align: center;
  font-size: 0.6875rem;
  color: rgba(170, 176, 180, 0.4);
  margin: 0.75rem 0 0;
}

/* Toast dans le modal */
.modal-toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.modal-toast:not([hidden]) { display: flex; }
.modal-toast[hidden] { display: none; }
.modal-toast--success .modal-toast-icon::before { content: '✓'; color: var(--accent-green); }
.modal-toast--error .modal-toast-icon::before { content: '✕'; color: #ff4757; }
.modal-toast-icon { font-weight: 700; margin-right: 0.25rem; }