/* ==========================================================================
   BHISHMA CYBERSECURITY SOLUTIONS — BLACK & RED HACKER THEMED DESIGN SYSTEM
   Obsidian Dark Surface + Laser Crimson & Quantum Cyber Red
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BLACK & RED HACKER COLOR & TYPOGRAPHY TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Obsidian Deep Black & Dark Carbon Base */
  --bg-deep: #030508;
  --bg-main: #070B12;
  --bg-surface: #0C111C;
  --bg-surface-elevated: #121A2B;
  --bg-card: rgba(12, 17, 28, 0.88);
  --bg-card-hover: rgba(20, 28, 46, 0.96);
  --bg-input: #050810;
  --navbar-bg: rgba(6, 9, 15, 0.92);
  --navbar-scrolled: rgba(3, 5, 8, 0.98);
  --footer-bg: #020305;

  /* Executive Typography & Accents */
  --text-heading: #FFFFFF;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Laser Crimson & Hacker Red Accents */
  --primary: #FF2A43;
  --primary-glow: #EF4444;
  --primary-dark: #DC2626;
  --red: #FF2A43;
  --red-glow: rgba(255, 42, 67, 0.45);
  --red-dim: rgba(255, 42, 67, 0.12);
  
  --cyan: #FF2A43;
  --cyan-glow: #FF4D63;
  --cyan-dim: rgba(255, 42, 67, 0.14);
  
  --green: #00FF66;
  --green-glow: #34D399;
  --purple: #C084FC;
  --amber: #F59E0B;
  --blue-ice: #38BDF8;

  /* Precision Glass Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 42, 67, 0.38);
  --border-blue: rgba(255, 42, 67, 0.3);
  --border-red: rgba(255, 42, 67, 0.45);

  /* Stat Pedestals */
  --stat-bg: linear-gradient(180deg, rgba(20, 14, 24, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
  --stat-border: 1px solid rgba(255, 42, 67, 0.3);
  --stat-number-grad: linear-gradient(135deg, #FFFFFF 20%, #FFA8B2 60%, #FF2A43 100%);

  /* 3D Shadows & Specular Glows */
  --shadow-3d: 0 20px 45px -15px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 35px rgba(255, 42, 67, 0.35);
  --shadow-hover: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 42, 67, 0.5);

  /* Focus & Accessibility */
  --focus-ring: #FF2A43;
  --focus-ring-offset: #030508;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --text-inverse: #030508;
  --electric: #FF4D63;

  /* Modern Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-stat: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing & Radius */
  --max-w: 1240px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.65;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 140px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 15%, #90C8FF 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  display: inline-block;
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   4. 3D BACKGROUND PARTICLES & ATMOSPHERIC LIGHTING
   -------------------------------------------------------------------------- */
#cyber-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.glow-blue {
  top: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.25) 0%, transparent 70%);
}

.glow-cyan {
  top: 18%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 77, 99, 0.15) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   5. LAYOUT CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 56px 0;
  position: relative;
}

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

.section-header p {
  font-size: 1.18rem;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   SKIP LINK (WCAG 2.1 SC 2.4.1)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--cyan);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   FOCUS VISIBLE (WCAG 2.1 SC 2.4.7)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}
.btn-primary:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. NAVBAR
   -------------------------------------------------------------------------- */
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(6, 9, 15, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

#navbar.scrolled {
  background: var(--navbar-scrolled);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--border-blue);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 12px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.nav-logo:hover img {
  transform: scale(1.02);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a,
.nav-dropdown > button.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-dropdown > a::after,
.nav-dropdown > button.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nav-dropdown.open > a::after,
.nav-dropdown.open > button.nav-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-2px);
  border-color: var(--cyan);
}

.nav-dropdown.open > a,
.nav-dropdown.open > button.nav-dropdown-toggle {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-menu a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-menu a:hover {
  background: rgba(255, 30, 39, 0.18);
  color: #FFFFFF;
  transform: translateX(4px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-heading);
  transition: all var(--transition);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mob-link {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #FF1E27 0%, #E50914 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 30, 39, 0.45);
  box-shadow: 0 8px 26px rgba(255, 30, 39, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E50914 0%, #B30006 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 38px rgba(255, 30, 39, 0.55);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: rgba(14, 26, 61, 0.6);
  color: var(--cyan);
  border: 1px solid var(--border-glow);
}

.btn-outline-dark:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: #FFFFFF;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 170px;
  padding-bottom: 120px;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, var(--bg-surface) 0%, var(--bg-deep) 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item span.icon {
  color: var(--cyan);
  font-weight: 700;
}

/* 3D Isometric Console */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3d);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.hero-card-header {
  background: var(--bg-surface);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

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

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.hero-card-body {
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-label {
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.metric-status.pass {
  background: rgba(16, 185, 129, 0.18);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* --------------------------------------------------------------------------
   9. REFINED LUXURY STATS STRIP (World-Class Space Grotesk 3D Pedestals)
   -------------------------------------------------------------------------- */
.stats-strip {
  background: radial-gradient(ellipse at 50% 50%, var(--bg-surface) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 76px 0;
  position: relative;
}

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

.stat-item {
  background: var(--stat-bg);
  border: var(--stat-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px var(--cyan);
}

.stat-item:hover {
  border-color: var(--cyan);
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-family: var(--font-stat);
  font-size: clamp(2.5rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--stat-number-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: capitalize;
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. 3D CARDS & SERVICES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  box-shadow: var(--shadow-3d);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px) translateZ(0);
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--cyan);
}

.service-card:hover .service-card-footer span.arrow {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   11. DEVSECOPS PIPELINE WIDGET
   -------------------------------------------------------------------------- */
.devsecops-pipeline-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-3d);
}

.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
  position: relative;
}

.pipeline-flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green));
  z-index: 1;
}

.pipeline-stage {
  position: relative;
  z-index: 2;
  text-align: center;
}

.pipeline-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 18px auto;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition);
}

.pipeline-stage:hover .pipeline-icon {
  transform: scale(1.18);
}

.pipeline-stage h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pipeline-stage p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. COMPLIANCE CARDS
   -------------------------------------------------------------------------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.compliance-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: var(--shadow-3d);
}

.compliance-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.compliance-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.compliance-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.compliance-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue { background: rgba(37, 99, 235, 0.15); color: #2563EB; border: 1px solid rgba(37, 99, 235, 0.35); }
.badge-green { background: rgba(16, 185, 129, 0.15); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-cyan { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--border-glow); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.35); }
.badge-orange { background: rgba(245, 158, 11, 0.15); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.35); }

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 26px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   14. SEAMLESS CONTACT FORM & SIDEBAR
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-3d);
}

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

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

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--text-heading);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

select option {
  background-color: var(--bg-surface);
  color: var(--text-heading);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--green);
  padding: 18px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 120px 24px;
}

.legal-meta {
  background: var(--bg-surface);
  border-left: 3px solid var(--cyan);
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 44px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-heading);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--text-heading);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 28px;
}

.legal-content li {
  margin-bottom: 12px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.94rem;
}

.legal-content th,
.legal-content td {
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.legal-content th {
  background: var(--bg-surface);
  font-weight: 600;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  color: #94A3B8;
  padding: 48px 0 28px 0;
  font-size: 0.88rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 0.85fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94A3B8;
  max-width: 290px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: #FF1E27;
  border-color: #FF4D63;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(255, 30, 39, 0.5);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  color: #94A3B8;
  font-size: 0.8rem;
  padding: 3px 0;
  line-height: 1.45;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: #FF2A43;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748B;
}

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

.footer-legal a {
  color: #64748B;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #FF2A43;
}

/* --------------------------------------------------------------------------
   17. COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-hover);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text-main);
  font-size: 0.94rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   18. SCROLL FADE-UP
   -------------------------------------------------------------------------- */
.fade-up { opacity: 1; transform: none; }

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid,
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }
  .pipeline-flow::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    transform: none !important;
  }
  .services-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  .section {
    padding: 76px 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION (WCAG 2.1 SC 2.3.3)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .pulse-dot {
    animation: none;
    box-shadow: 0 0 0 2px var(--cyan);
  }
  #cyber-canvas {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   TRUST & CERT BADGES SECTION
   -------------------------------------------------------------------------- */
.trust-proof-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}

.trust-proof-section .section-label {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.cert-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0.72;
  transition: opacity 0.25s ease;
  min-width: 0;
}

.cert-badge:hover {
  opacity: 1;
}

.cert-badge-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.cert-badge-icon svg {
  width: 22px;
  height: 22px;
}

.cert-badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-align: center;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-3d);
}

.testimonial-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
  font-style: italic;
  flex-grow: 1;
  margin: 0;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.6rem;
  color: var(--cyan);
  margin-right: 4px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

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

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   SVG ICON SYSTEM
   -------------------------------------------------------------------------- */
.icon-svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

.service-icon {
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg,
.pipeline-icon svg,
.compliance-icon svg {
  display: block;
}

.compliance-icon {
  font-size: 1rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   FOOTER — improved legal link contrast
   -------------------------------------------------------------------------- */
.footer-legal a {
  color: #94A3B8;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

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

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cert-badges {
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   ENTERPRISE SUITE: FINDING INSPECTOR, SCOPE ESTIMATOR & HUD MODALS
   ========================================================================== */

/* 1. Island CTA Button */
.btn-island-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #00FF66 0%, #00F0FF 100%);
  color: #020406;
  padding: 8px 8px 8px 24px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 255, 102, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.btn-island-cta:hover {
  background: linear-gradient(135deg, #00FF88 0%, #38BDF8 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(0, 255, 102, 0.5);
  color: #020406;
}

.btn-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(2, 4, 6, 0.25);
  color: #020406;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-island-cta:hover .btn-icon-bubble {
  transform: translateX(3px);
}

/* 2. Double-Bezel Live Finding Inspector */
.double-bezel-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 229, 255, 0.08) 50%, rgba(37, 99, 235, 0.05));
  border-radius: 20px;
  padding: 1px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 229, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.bezel-inner-card {
  background: #080F24;
  border-radius: 19px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.finding-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.finding-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.finding-tab-btn.active, .finding-tab-btn:hover {
  background: rgba(0, 229, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.finding-alert-box {
  background: #050A1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.code-diff-container {
  background: #030611;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  margin-top: 10px;
}

.diff-del {
  color: #F87171;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  display: block;
}

.diff-add {
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  display: block;
}

/* 3. Interactive Scope & Effort Estimator Section */
.scope-estimator-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #060B1E 0%, #08102A 50%, #060B1E 100%);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.estimator-box-wrapper {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(37, 99, 235, 0.1) 50%, rgba(255, 255, 255, 0.05));
  border-radius: 24px;
  padding: 1px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
}

.estimator-inner-grid {
  background: #0A1330;
  border-radius: 23px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
}

.estimator-controls {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-group {
  margin-bottom: 28px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.slider-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
}

.cyber-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #05091C;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00FF66;
  border: 3px solid #060B1E;
  box-shadow: 0 0 12px #00FF66;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cyber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.estimator-summary-panel {
  padding: 40px;
  background: #060C20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-kpi-block {
  margin-bottom: 24px;
}

.kpi-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.kpi-value-huge {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #00FF66;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.3);
}

.kpi-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.estimator-badges-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.estimator-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 4. Cyber HUD Scoping Consultation Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.cyber-hud-modal {
  background: #080F26;
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 32px;
  position: relative;
  overflow: hidden;
  animation: modalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-hud-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, transparent);
  animation: scanMove 4s infinite linear;
}

@keyframes scanMove {
  0% { top: 0%; opacity: 0.8; }
  50% { top: 100%; opacity: 0.2; }
  100% { top: 0%; opacity: 0.8; }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border-color: #EF4444;
}

.cyber-hud-input {
  width: 100%;
  background: #040817;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  outline: none;
}

.cyber-hud-input:focus {
  border-color: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
  background: #060D24;
}

/* 5. Assurance & Execution (3 Benefits) */
.benefits-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.benefit-double-bezel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 229, 255, 0.04));
  border-radius: 16px;
  padding: 1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.benefit-card-inner {
  background: #08102A;
  border-radius: 15px;
  padding: 28px;
  height: 100%;
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.benefit-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .estimator-inner-grid {
    grid-template-columns: 1fr;
  }
  .estimator-controls {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .benefits-3col-grid {
    grid-template-columns: 1fr;
  }
  .commitments-grid {
    grid-template-columns: 1fr !important;
  }
}

.commitment-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.commitment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 67, 0.4);
}

/* --------------------------------------------------------------------------
   INTERACTIVE TABS & DROPDOWN SELECTOR (SERVICES & SOLUTIONS)
   -------------------------------------------------------------------------- */
.selector-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selector-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
}

.filter-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 42, 67, 0.08);
  border-color: rgba(255, 42, 67, 0.3);
}

.filter-tab-btn.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF2A43 0%, #B91C1C 100%);
  border-color: #FF2A43;
  box-shadow: 0 4px 18px rgba(255, 42, 67, 0.45);
}

.custom-filter-dropdown-wrap {
  display: none;
  width: 100%;
}

.custom-filter-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 42, 67, 0.4);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius);
  outline: none;
  cursor: pointer;
}

@media (max-width: 860px) {
  .selector-nav-tabs {
    display: none;
  }
  .custom-filter-dropdown-wrap {
    display: block;
  }
}

/* Service & Domain Content Panes */
.service-pane,
.domain-pane,
.pane-content {
  display: none;
  animation: paneFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-pane.active,
.domain-pane.active,
.pane-content.active {
  display: block !important;
}

@keyframes paneFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.single-focus-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-3d);
}

@media (max-width: 960px) {
  .single-focus-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   CUSTOM 2D VECTOR INFOGRAPHICS (MATCHING USER'S 5 REFERENCE SAMPLES)
   -------------------------------------------------------------------------- */
.vector-infographic-box {
  background: radial-gradient(circle at center, rgba(255, 42, 67, 0.08) 0%, rgba(6, 9, 16, 0.95) 75%);
  border: 1px solid rgba(255, 42, 67, 0.22);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.8);
}

/* 1. Hexagonal Threat Hub (Sample 4 & 5) */
.hex-threat-hub {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hex-center-node {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #FF2A43 0%, #991B1B 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 0 28px rgba(255, 42, 67, 0.6);
  z-index: 5;
  text-align: center;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.hex-satellite-node {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  transition: transform 0.2s, border-color 0.2s;
  z-index: 4;
}

.hex-satellite-node:hover {
  border-color: #FF2A43;
  transform: scale(1.05);
}

.hex-satellite-node .node-icon {
  color: #FF2A43;
  font-size: 0.95rem;
}

/* Position 6 Satellites around 340px circle */
.hex-pos-1 { top: 6px; left: 50%; transform: translateX(-50%); }
.hex-pos-2 { top: 70px; right: -10px; }
.hex-pos-3 { bottom: 70px; right: -10px; }
.hex-pos-4 { bottom: 6px; left: 50%; transform: translateX(-50%); }
.hex-pos-5 { bottom: 70px; left: -10px; }
.hex-pos-6 { top: 70px; left: -10px; }

/* 2. Concentric Radar Rings (Sample 2) */
.radar-rings-hub {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 42, 67, 0.2);
}

.radar-ring-1 { width: 140px; height: 140px; }
.radar-ring-2 { width: 220px; height: 220px; border-color: rgba(255, 42, 67, 0.15); }
.radar-ring-3 { width: 300px; height: 300px; border-color: rgba(255, 42, 67, 0.1); }

.radar-center-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #FF2A43 0%, #7F1D1D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.6rem;
  box-shadow: 0 0 30px rgba(255, 42, 67, 0.7);
  z-index: 5;
}

/* 3. Radial Shield Hub (Sample 3) */
.shield-radial-hub {
  position: relative;
  width: 330px;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-center-core {
  width: 90px;
  height: 100px;
  background: linear-gradient(135deg, #FF2A43, #B91C1C);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(255, 42, 67, 0.6);
  z-index: 5;
}

/* 4. Red Team Monitor Diagram (Sample 1) */
.redteam-monitor-hub {
  width: 100%;
  max-width: 360px;
  background: #02050A;
  border: 1px solid rgba(255, 42, 67, 0.3);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.monitor-screen {
  background: #090E1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
}

.monitor-bug-icon {
  font-size: 2.8rem;
  color: #FF2A43;
  filter: drop-shadow(0 0 12px rgba(255, 42, 67, 0.7));
  margin-bottom: 8px;
}

.rt-badge-card {
  position: absolute;
  background: rgba(14, 22, 38, 0.95);
  border: 1px solid rgba(255, 42, 67, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.rt-badge-top-left { top: -14px; left: 10px; }
.rt-badge-bottom-right { bottom: -14px; right: 10px; }
.rt-badge-hacker-1 { top: 40%; left: -20px; background: rgba(255, 42, 67, 0.15); border-color: #FF2A43; color: #FF6B7D; }
.rt-badge-hacker-2 { top: 40%; right: -20px; background: rgba(255, 42, 67, 0.15); border-color: #FF2A43; color: #FF6B7D; }/* --------------------------------------------------------------------------
   APPSECURE-STYLE 2-COLUMN LAYOUT & VECTOR DIAGRAMS (MATCHING REFERENCE SAMPLES)
   -------------------------------------------------------------------------- */
.hacker-highlight {
  background: linear-gradient(135deg, #FF2A43 0%, #FF6B7D 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hacker-highlight-blue {
  background: linear-gradient(135deg, #38BDF8 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* AppSecure-Style Solid Pill Button */
.btn-appsecure-pill {
  background: linear-gradient(135deg, #FF1E42 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(255, 30, 66, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  margin-top: 24px;
}

.btn-appsecure-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 35px rgba(255, 30, 66, 0.6);
  border-color: #FFFFFF;
}

.pill-arrow {
  font-size: 0.8rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-appsecure-pill:hover .pill-arrow {
  transform: translateX(4px);
}

/* 3-Column Bottom Micro-Features (Samples 4 & 5) */
.domain-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.domain-feature-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-star-icon {
  color: #FF2A43;
  font-size: 1.2rem;
  line-height: 1;
}

.domain-feature-item p {
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 900px) {
  .domain-feature-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* SVG Vector Illustration Container */
.svg-diagram-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}

.svg-diagram-wrapper svg {
  width: 100%;
  height: auto;
  overflow: visible;
}


/* ==========================================================================
   LIVE FINDING INSPECTOR & ATTACK-SURFACE COMPONENT (ACCURATE RED TEAM UI)
   ========================================================================== */
.inspector-card-container {
  background: #080C16;
  border: 1px solid rgba(255, 30, 39, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 30, 39, 0.16);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.inspector-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #FF2A43;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.inspector-finding-id {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 4px;
}

.inspector-title {
  color: #FFFFFF;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.inspector-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #04060C;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.specs-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.specs-value {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #E2E8F0;
  word-break: break-all;
}

.inspector-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.inspector-tab-link {
  background: none;
  border: none;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.inspector-tab-link:hover {
  color: #FFF;
  background: rgba(255, 30, 39, 0.1);
}

.inspector-tab-link.active {
  color: #FFF;
  background: #FF1E27;
}

.inspector-code-block {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.55;
  background: #03050A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #0B0F1E;
  border: 1px solid rgba(255, 30, 39, 0.3);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 30, 39, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-menu a {
  color: #CBD5E1 !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 30, 39, 0.16) !important;
  color: #FFFFFF !important;
  transform: translateX(4px);
}
