/* ═══════════════════════════════════════════════════════════
   CYBERNSEC — Premium Cybersecurity Website
   Design System & Complete Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Brand */
  --brand-red: #E31E24;
  --brand-red-dark: #b8181d;

  /* Accents */
  --accent-cyan: #00d4ff;
  --accent-blue: #0066ff;
  --accent-green: #00ff88;

  /* Neutrals */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d14;
  --bg-elevated: #12121c;
  --bg-card: #141420;
  --bg-card-hover: #1a1a2a;
  --surface: #1e1e2e;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: rgba(240,240,245,0.65);
  --text-muted: rgba(240,240,245,0.4);

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

  /* Sizing */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--brand-red);
  color: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff6b6b 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sec-head {
  text-align: center;
  margin-bottom: 64px;
}

.sec-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(227,30,36,0.25);
  border-radius: 100px;
  background: rgba(227,30,36,0.06);
}

.sec-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo-img {
  height: 130px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
  transition: height var(--transition);
}

.navbar.scrolled .nav-logo-img {
  height: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--brand-red) !important;
  color: #fff !important;
  margin-left: 10px;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--brand-red-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

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

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 15%, rgba(227,30,36,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 80%, rgba(0,212,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(0,102,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 80% 30% at 80% 20%, rgba(0,255,136,0.03) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.55) 60%, rgba(10,10,15,0.85) 100%);
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

.eyebrow-sep {
  opacity: 0.3;
}

.hero-h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 40px;
}

.hero-sub strong {
  color: var(--text-primary);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
}

.metric-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.metric-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-red);
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-red), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.4; height: 24px; }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(227,30,36,0.25);
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227,30,36,0.35);
}

.btn-ghost {
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.btn-ghost:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(227,30,36,0.05);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.center-cta {
  text-align: center;
  margin-top: 64px;
}

/* ─── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.trust-strip {
  display: flex;
  gap: 32px;
  overflow: hidden;
  flex: 1;
}

.trust-strip span {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ─── ABOUT ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(227,30,36,0.08);
  color: var(--brand-red);
  flex-shrink: 0;
}

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Flag Row */
.flag-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.flag-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex: 1;
}

.flag-emoji { font-size: 1.5rem; }

.flag-card div {
  display: flex;
  flex-direction: column;
}

.flag-card strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.flag-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Terminal */
.about-visual {
  position: sticky;
  top: 120px;
}

.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.td {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.td.red { background: #ff5f57; }
.td.yellow { background: #febc2e; }
.td.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.terminal-body {
  padding: 20px;
  line-height: 1.9;
}

.tl { color: var(--text-secondary); }
.tp { color: var(--accent-cyan); }
.tc { color: var(--text-primary); }
.to { color: var(--accent-green); }
.tw { color: #ffaa00; }
.ts { color: var(--brand-red); }

.cursor {
  animation: blink 1.2s step-end infinite;
  color: var(--accent-cyan);
}

@keyframes blink { 50% { opacity: 0; } }

/* Proof Badges */
.proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.proof-badges span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}

/* ─── SERVICES ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.svc-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

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

.svc-featured {
  border-color: rgba(227,30,36,0.2);
  background: linear-gradient(135deg, rgba(227,30,36,0.04), transparent);
}

.svc-featured::before {
  opacity: 0.5;
}

.svc-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--brand-red);
}

.svc-icon svg {
  width: 100%;
  height: 100%;
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.svc-tags {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.svc-card > p:not(.svc-tags) {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.svc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.svc-tech span {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

.svc-impact {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ─── RESEARCH ────────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}

.research-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.rc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(0,212,255,0.06);
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.research-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.research-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Publications */
.pub-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.pub-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pub-list {
  display: flex;
  flex-direction: column;
}

.pub-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.pub-row:first-child { border-top: none; }

.pub-row:hover {
  padding-left: 8px;
}

.pub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0,212,255,0.08);
  color: var(--accent-cyan);
  white-space: nowrap;
  flex-shrink: 0;
}

.pub-cve {
  background: rgba(227,30,36,0.1);
  color: var(--brand-red);
}

.pub-name {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.pub-row:hover .pub-name {
  color: var(--text-primary);
}

.pub-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.pub-arrow {
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.pub-row:hover .pub-arrow {
  color: var(--brand-red);
  transform: translate(3px, -3px);
}

/* ─── INDUSTRIES ──────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.ind-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}

.ind-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.ind-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(227,30,36,0.06);
  color: var(--brand-red);
  margin-bottom: 20px;
}

.ind-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ind-card > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.ind-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ind-card li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.ind-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: 0.5;
}

/* ─── GLOBAL PRESENCE ─────────────────────────────────────── */
.global-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 64px;
}

.global-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
}

.global-card:hover {
  border-color: var(--border-hover);
}

.global-flag {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.global-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.global-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.global-card > p:not(.global-role) {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.global-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.global-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.global-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.8rem;
}

.global-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(227,30,36,0.06);
  border: 1px solid rgba(227,30,36,0.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.global-phone:hover {
  background: rgba(227,30,36,0.1);
  border-color: rgba(227,30,36,0.3);
}

/* Global Connector */
.global-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 100px;
}

.gc-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--brand-red), transparent);
  opacity: 0.3;
}

.gc-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(227,30,36,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227,30,36,0.05);
}

.gc-node span {
  font-size: 0.55rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  line-height: 1.4;
}

/* Capabilities */
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cap-item svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

/* ─── CASE STUDIES ────────────────────────────────────────── */
.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
}

.case-card:hover {
  border-color: var(--border-hover);
}

.case-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.case-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.case-tag.before {
  background: rgba(255,170,0,0.1);
  color: #ffaa00;
}

.case-tag.after {
  background: rgba(0,255,136,0.08);
  color: var(--accent-green);
}

.case-side p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(227,30,36,0.06);
  color: var(--brand-red);
}

.case-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.case-stats span {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  padding-left: 16px;
  position: relative;
}

.case-stats span::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-slider {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.test-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.test-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 12px;
  box-sizing: border-box;
}

.test-stars {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.test-card blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--brand-red);
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(227,30,36,0.1);
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.test-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.test-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.slider-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(227,30,36,0.06);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--brand-red);
  width: 24px;
  border-radius: 100px;
}

/* ─── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(227,30,36,0.08) 0%, transparent 70%),
    var(--bg-primary);
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}

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

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.cm {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm svg {
  color: var(--brand-red);
  flex-shrink: 0;
}

.cm strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

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

.cm a:hover {
  color: var(--brand-red);
}

.social-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(227,30,36,0.06);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.req { color: var(--brand-red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-red);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--brand-red);
  margin-top: 4px;
  min-height: 18px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: var(--radius);
  margin-top: 16px;
  color: var(--accent-green);
  font-size: 0.9rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-img {
  height: 200px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-flags {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--brand-red);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contacts a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-contacts a:hover {
  color: var(--brand-red);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

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

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

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ─── SCROLL REVEAL ANIMATION ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    position: static;
  }
  .global-grid {
    grid-template-columns: 1fr;
  }
  .global-connector {
    flex-direction: row;
    min-width: auto;
    padding: 0;
  }
  .gc-line { width: auto; height: 1px; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .sec-head {
    margin-bottom: 48px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .hamburger {
    display: flex;
  }

  .hero-h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-metrics {
    gap: 24px;
  }

  .metric-num {
    font-size: 1.8rem;
  }

  .hero-scroll {
    display: none;
  }

  .flag-row {
    flex-direction: column;
  }

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

  .case-flow {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .case-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

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

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

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

  .trust-bar .container {
    flex-direction: column;
    gap: 12px;
  }

  .trust-strip {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
}

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

  .btn-lg {
    padding: 14px 24px;
    justify-content: center;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-form {
    padding: 24px;
  }

  .case-card {
    padding: 24px;
  }

  .test-card {
    padding: 24px;
    margin: 0;
  }
}
