/* ============================================================
   CyberGuard — Landing Page Design System v3.0
   ============================================================ */

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   Design Token Migration
   =========================== */
/* Local :root color definitions removed - now using centralized theme-tokens.css */
/* All colors now reference the design token system via var(--cg-*) */

:root {
  /* Layout tokens (non-color) */
  --container-width: 1280px;
  --section-padding: 100px;
  --card-radius: 16px;
  --btn-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--cg-text-2);
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#global-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  background-color: var(--cg-bg-base);
  will-change: transform;
}

/* Ambient Background Glows */
body::before {
  display: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cg-border);
  z-index: 1000;
  transition: background var(--cg-transition-base), border-color var(--cg-transition-base), box-shadow var(--cg-transition-base);
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.95);
  border-bottom-color: var(--cg-accent-muted);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--cg-text-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--cg-text-1);
}

.logo-text {
  color: var(--cg-text-1);
}

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

.nav-link {
  color: var(--cg-text-3);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all var(--cg-transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--cg-text-1);
  background: var(--cg-accent-muted);
}

.btn-login {
  padding: 8px 20px;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--cg-text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--cg-border);
  transition: all var(--cg-transition-fast);
}

.btn-login:hover {
  background: var(--cg-bg-elevated);
  border-color: var(--cg-accent);
  color: var(--cg-text-1);
}

.btn-primary {
  padding: 7px 17px;
  border-radius: var(--btn-radius);
  background: #fafafa;
  color: #09090b;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all var(--cg-transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity var(--cg-transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #e4e4e7;
  color: #09090b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--cg-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px;
  transition: all var(--cg-transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--cg-accent-muted);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  color: var(--cg-text-2);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--cg-bg-surface);
  border-bottom: 1px solid var(--cg-border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
  display: flex;
}

.mobile-link {
  color: var(--cg-text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background var(--cg-transition-fast);
}

.mobile-link:hover {
  background: var(--cg-accent-muted);
  color: var(--cg-accent);
}

.mobile-cta {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

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

.gradient-orb {
  display: none;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(20px, 10px) scale(1.02);
  }
}

.hero .container {
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-text-2);
  margin-bottom: 24px;
  box-shadow: var(--cg-shadow-sm);
  animation: fadeInUp 0.9s ease-out 0.15s both;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--cg-accent);
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--cg-text-1);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.9s ease-out 0.25s both;
}

.hero-title .accent-cyan {
  color: var(--cg-accent-dark);
}

.hero-description {
  font-size: 18px;
  color: var(--cg-text-3);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease-out 0.35s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease-out 0.45s both;
}

.btn-glow {
  padding: 11px 22px;
  border-radius: var(--btn-radius);
  background: #fafafa;
  color: #09090b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: all var(--cg-transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  transform: translateY(-2px);
  background: #e4e4e7;
  color: #09090b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-glow svg {
  width: 15px;
  height: 15px;
}

.btn-ghost {
  padding: 16px 28px;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--cg-text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--cg-border);
  transition: all var(--cg-transition-base);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost:hover {
  background: var(--cg-bg-elevated);
  border-color: var(--cg-accent);
  color: var(--cg-text-1);
}

.btn-ghost svg {
  width: 18px;
  height: 18px;
}

/* Hero Floating Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.9s ease-out 0.55s both;
}

.glass-card {
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--cg-shadow-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  display: none;
}

.hero-card {
  width: 100%;
  max-width: 420px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cg-success);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.progress-ring {
  width: 230px;
  height: 230px;
  margin: 0 auto 24px;
  position: relative;
}

.progress-ring > svg {
  transform: rotate(0deg);
  width: 100%;
  height: 100%;
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.progress-ring-fill {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  animation: progressAnimation 3s ease-out forwards;
}

/* SVG Gradient Stop Classes */
.gradient-stop-start {
  stop-color: var(--cg-accent);
  stop-opacity: 1;
}

.gradient-stop-end {
  stop-color: var(--cg-accent-hover);
  stop-opacity: 1;
}

@keyframes progressAnimation {
  from {
    stroke-dashoffset: 440;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.progress-icon-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-icon {
  width: 32px;
  height: 32px;
  color: white;
  transform: rotate(-45deg);
}

.hero-terminal {
  background: #000000;
  border: 1px solid var(--cg-border);
  border-radius: 6px;
  overflow: hidden;
  font-family: monospace;
  margin-top: 16px;
  text-align: left;
}

.terminal-header {
  background: rgba(20, 25, 45, 0.85);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cg-border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27c93f; }

.terminal-title {
  font-size: 10px;
  color: var(--cg-text-3);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 12px;
  height: 162px;
  overflow-y: hidden;
  font-size: 10.5px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: terminalFadeIn 0.3s ease-out forwards;
}

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

.term-tag {
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.term-tag.scan {
  background: rgba(59, 130, 246, 0.15);
  color: var(--cg-accent);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.term-tag.info {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.term-tag.ok {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.term-tag.blocked {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.term-text {
  color: var(--cg-text-2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Stats Banner (New)
   =========================== */
.stats-banner {
  padding: 30px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.stats-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 48px;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-banner-content:hover {
  border-color: rgba(96, 165, 250, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.stats-banner-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  flex: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stats-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-banner-item:hover .stats-banner-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.08) 100%);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.05) translateY(-2px);
}

.stats-banner-icon svg {
  width: 26px;
  height: 26px;
  color: #60a5fa;
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.4));
  transition: all 0.3s ease;
}

.stats-banner-item:hover .stats-banner-icon svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.7));
}

.stats-banner-text {
  text-align: left;
}

.stats-banner-value {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--cg-text-1);
  line-height: 1.1;
  margin-bottom: 4px;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}

.stats-banner-item:hover .stats-banner-value {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.stats-banner-label {
  font-size: 12px;
  color: var(--cg-text-3);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.stats-banner-item:hover .stats-banner-label {
  color: var(--cg-text-2);
}

.stats-banner-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.25) 50%, transparent);
}

/* ===========================
   Section Shared Styles
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--cg-accent-muted);
  border: 1px solid var(--cg-focus-ring);
  color: var(--cg-accent);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--cg-text-1);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--cg-accent) 0%, var(--cg-accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 18px;
  color: var(--cg-text-3);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   Features Section
   =========================== */
.features {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
}

.features-grid {
  min-height: 840px;
  margin-top: 16px;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.features-grid::before {
  content: "";
  position: absolute;
  inset: 4% 8%;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 17%, rgba(96, 165, 250, 0.25) 17.2% 17.45%, transparent 17.7% 29%, rgba(34, 197, 94, 0.18) 29.2% 29.45%, transparent 29.7% 43%, rgba(96, 165, 250, 0.14) 43.2% 43.45%, transparent 43.7%),
    conic-gradient(from 90deg, transparent 0 10deg, rgba(96, 165, 250, 0.28) 10deg 11deg, transparent 11deg 59deg, rgba(34, 197, 94, 0.2) 59deg 60deg, transparent 60deg 119deg, rgba(96, 165, 250, 0.2) 119deg 120deg, transparent 120deg 180deg, rgba(14, 165, 233, 0.2) 180deg 181deg, transparent 181deg 239deg, rgba(245, 158, 11, 0.16) 239deg 240deg, transparent 240deg 300deg, rgba(168, 85, 247, 0.18) 300deg 301deg, transparent 301deg);
  border-radius: 50%;
  filter: drop-shadow(0 0 36px rgba(59, 130, 246, 0.12));
  opacity: 0.9;
  animation: matrixSweep 18s linear infinite;
  z-index: -2;
}

.features-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center, rgba(125, 211, 252, 0.22), rgba(34, 197, 94, 0.08) 28%, transparent 58%),
    conic-gradient(from 120deg, rgba(59, 130, 246, 0.18), transparent 18%, rgba(34, 197, 94, 0.12), transparent 44%, rgba(14, 165, 233, 0.16), transparent 72%, rgba(168, 85, 247, 0.12), transparent);
  filter: blur(2px);
  opacity: 0.78;
  border-radius: 50%;
  z-index: 0;
}

@keyframes matrixSweep {
  to {
    transform: rotate(360deg);
  }
}

.feature-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.feature-core-ring,
.feature-core-sweep,
.feature-core-body,
.feature-core-tick {
  position: absolute;
  left: 50%;
  top: 50%;
}

.feature-core-ring {
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-outer {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  background:
    conic-gradient(from 0deg, transparent, rgba(96, 165, 250, 0.42) 9deg, transparent 20deg, transparent 145deg, rgba(34, 197, 94, 0.34) 158deg, transparent 172deg, transparent 260deg, rgba(14, 165, 233, 0.32) 272deg, transparent 286deg),
    radial-gradient(circle, transparent 58%, rgba(96, 165, 250, 0.06) 59%, transparent 62%);
  mask-image: radial-gradient(circle, transparent 58%, #000 59%, #000 62%, transparent 63%);
  animation: matrixSweep 16s linear infinite;
}

.ring-inner {
  width: 236px;
  height: 236px;
  border: 1px dashed rgba(34, 197, 94, 0.28);
  box-shadow: inset 0 0 36px rgba(34, 197, 94, 0.08);
  animation: matrixSweep 24s linear infinite reverse;
}

.feature-core-sweep {
  width: 2px;
  height: 165px;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(34deg);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.78), transparent);
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.55));
  animation: coreSweep 5.5s linear infinite;
}

.feature-core-body {
  width: 184px;
  height: 184px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: rgba(226, 246, 255, 0.96);
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.42), rgba(20, 184, 166, 0.22) 42%, rgba(15, 23, 42, 0.72)),
    radial-gradient(circle at 48% 35%, rgba(255, 255, 255, 0.34), transparent 18%),
    rgba(6, 12, 20, 0.94);
  clip-path: polygon(50% 0, 80% 13%, 100% 43%, 92% 75%, 65% 100%, 30% 94%, 5% 68%, 0 35%, 21% 10%);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.42),
    0 0 42px rgba(59, 130, 246, 0.34),
    0 22px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 38px rgba(255, 255, 255, 0.08);
  animation: coreFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.feature-core-body::before,
.feature-core-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-core-body::before {
  background:
    linear-gradient(72deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 43%, transparent 44%),
    linear-gradient(148deg, transparent 0 54%, rgba(96, 165, 250, 0.14) 55%, transparent 56%),
    linear-gradient(210deg, transparent 0 46%, rgba(34, 197, 94, 0.11) 47%, transparent 48%);
  opacity: 0.9;
}

.feature-core-body::after {
  background: linear-gradient(180deg, transparent 0 44%, rgba(125, 211, 252, 0.18) 45%, transparent 47%);
  animation: coreScan 3.8s ease-in-out infinite;
}

.feature-core-logo {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 16px rgba(125, 211, 252, 0.38));
  transform: translateY(-12px) scale(1.08);
  z-index: 2;
}

.feature-core-label {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  font-family: var(--cg-font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 12px rgba(125, 211, 252, 0.5);
  z-index: 2;
}

.core-facet {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
}

.facet-a {
  background: linear-gradient(35deg, transparent 48%, rgba(125, 211, 252, 0.26) 49%, transparent 50%);
}

.facet-b {
  background: linear-gradient(110deg, transparent 39%, rgba(34, 197, 94, 0.18) 40%, transparent 42%);
}

.facet-c {
  background: linear-gradient(276deg, transparent 56%, rgba(96, 165, 250, 0.2) 57%, transparent 58%);
}

.feature-core-tick {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.8);
}

.tick-a {
  transform: translate(-50%, -50%) rotate(25deg) translateY(-158px);
}

.tick-b {
  transform: translate(-50%, -50%) rotate(118deg) translateY(-158px);
}

.tick-c {
  transform: translate(-50%, -50%) rotate(213deg) translateY(-158px);
}

.tick-d {
  transform: translate(-50%, -50%) rotate(302deg) translateY(-158px);
}

@keyframes coreSweep {
  to {
    transform: translate(-50%, -100%) rotate(394deg);
  }
}

@keyframes coreFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(-1deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-8px) rotate(1deg);
  }
}

@keyframes coreScan {
  0%, 100% {
    transform: translateY(-58%);
    opacity: 0;
  }

  35%, 65% {
    opacity: 1;
  }

  50% {
    transform: translateY(58%);
  }
}

.feature-card {
  width: min(31%, 360px);
  min-height: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "line desc"
    "list list";
  column-gap: 18px;
  row-gap: 10px;
  transition: opacity var(--cg-transition-base), filter var(--cg-transition-base);
  opacity: 0;
  transform: none;
  position: absolute;
  overflow: visible;
  isolation: auto;
  z-index: 2;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: var(--beam-width, 190px);
  height: 1px;
  left: var(--beam-left, 60px);
  top: 33px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.85), rgba(96, 165, 250, 0.06));
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.34);
  transform: rotate(var(--beam-rotate, 0deg));
  transform-origin: left center;
  opacity: 0.74;
  z-index: -1;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.34);
  animation: nodePulse 2.7s ease-in-out infinite;
  pointer-events: none;
}

.feature-card:nth-child(1) {
  left: 2%;
  top: 9%;
  --beam-width: 300px;
  --beam-rotate: 18deg;
}

.feature-card:nth-child(2) {
  left: 36%;
  top: 0;
  --beam-width: 220px;
  --beam-rotate: 78deg;
}

.feature-card:nth-child(3) {
  right: 2%;
  top: 9%;
  --beam-left: -118px;
  --beam-width: 285px;
  --beam-rotate: 162deg;
}

.feature-card:nth-child(4) {
  left: 3%;
  bottom: 6%;
  --beam-width: 275px;
  --beam-rotate: -18deg;
}

.feature-card:nth-child(5) {
  left: 36%;
  bottom: 0;
  --beam-width: 210px;
  --beam-rotate: -78deg;
}

.feature-card:nth-child(6) {
  right: 3%;
  bottom: 6%;
  --beam-left: -104px;
  --beam-width: 260px;
  --beam-rotate: -162deg;
}

.feature-card.aos-animate {
  opacity: 1;
  transform: none;
}

.feature-card:hover {
  filter: brightness(1.12);
}

.feature-icon {
  grid-area: icon;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: all var(--cg-transition-base);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(96, 165, 250, 0.28), rgba(34, 197, 94, 0.08)),
    rgba(7, 11, 18, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.42);
  box-shadow:
    0 0 0 8px rgba(96, 165, 250, 0.035),
    0 0 34px rgba(59, 130, 246, 0.22),
    inset 0 0 18px rgba(255, 255, 255, 0.07);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  border-color: rgba(96, 165, 250, 0.72);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: var(--cg-text-1);
  transition: color var(--cg-transition-base);
}

.feature-title {
  grid-area: title;
  align-self: end;
  font-size: 22px;
  font-weight: 700;
  color: var(--cg-text-1);
  margin: 0;
  letter-spacing: -0.015em;
}

.feature-description {
  grid-area: desc;
  font-size: 14.5px;
  color: var(--cg-text-3);
  line-height: 1.6;
  margin: 0;
  max-width: 30rem;
}

.feature-list {
  grid-area: list;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  padding-top: 10px;
}

.feature-list li {
  font-size: 12.5px;
  color: var(--cg-text-2);
  padding: 0 0 0 16px;
  position: relative;
  border-bottom: 0;
  transition: all var(--cg-transition-fast);
}

.feature-list li:hover {
  color: var(--cg-text-1);
  padding-left: 18px;
  background: transparent;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--cg-accent-dark);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.65);
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(2.15);
    opacity: 0;
  }
}

/* ===========================
   Tools Section
   =========================== */
.tools {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
}

.tools-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding: 22px 0;
  overflow: visible;
}

.tools-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.64), rgba(34, 197, 94, 0.44), transparent);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.28);
}

.tool-category {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0 24px 68px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  transition: opacity var(--cg-transition-base), transform var(--cg-transition-base), border-color var(--cg-transition-base);
  opacity: 0;
  transform: translateY(28px);
  position: relative;
  overflow: visible;
  min-height: auto;
}

.tool-category::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--cg-accent-dark);
  box-shadow:
    0 0 0 7px rgba(59, 130, 246, 0.08),
    0 0 22px rgba(59, 130, 246, 0.7);
}

.tool-category:last-child {
  border-bottom: 0;
}

.tool-category.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.tool-category:hover {
  transform: translateX(8px);
  border-color: rgba(96, 165, 250, 0.28);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  border-bottom: 0;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(255, 255, 255, 0.035)),
    rgba(7, 11, 18, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--cg-transition-base);
}

.tool-category:hover .category-icon {
  transform: scale(1.08);
  border-color: rgba(96, 165, 250, 0.58);
}

.category-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cg-text-1);
  transition: color var(--cg-transition-base);
}

.category-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cg-text-1);
  letter-spacing: -0.01em;
}

.tool-table-header {
  display: none;
}

.tool-table-header span {
  font-size: 12px;
  font-weight: 600;
  color: var(--cg-text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.tool-item {
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  transition: all var(--cg-transition-fast);
}

.tool-item:last-child {
  border-bottom: none;
}

.tool-item:hover {
  background: transparent;
  padding-left: 0;
}

.tool-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-text-2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--cg-transition-fast);
  padding: 8px 12px;
  border-left: 1px solid rgba(96, 165, 250, 0.34);
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.09), transparent);
}

.tool-item:hover .tool-name {
  color: var(--cg-text-1);
}

.tool-name::before {
  content: '>';
  font-family: var(--cg-font-mono);
  font-size: 11px;
  font-weight: 900;
  color: var(--cg-accent-dark);
  flex-shrink: 0;
}

.tool-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.tool-status.safe {
  color: var(--cg-success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tool-status.active {
  color: var(--cg-text-1);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tool-status.enabled {
  color: var(--cg-text-1);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* More Features Coming Soon - Animated Text */
.more-features-text {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
}

.animated-dots {
  font-size: 18px;
  font-weight: 600;
  color: var(--cg-text-1);
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.animated-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 40px 28px;
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  border-radius: var(--card-radius);
  position: relative;
  transition: all var(--cg-transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-card:hover {
  background: var(--cg-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
  box-shadow: var(--cg-shadow-lg);
}

.step-number {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--cg-text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.4;
}

.step-card:hover .step-number {
  opacity: 1;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--cg-transition-base);
}

.step-card:hover .step-icon {
  transform: scale(1.08);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--cg-text-1);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--cg-text-1);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.step-description {
  font-size: 14px;
  color: var(--cg-text-3);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  flex-shrink: 0;
  width: 48px;
}

.step-connector svg {
  width: 24px;
  height: 24px;
  color: var(--cg-text-2);
  opacity: 0.5;
}

/* ===========================
   Team Collaboration Section
   =========================== */
.team-collaboration {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.team-text {
  opacity: 0;
  transform: translateX(-28px);
}

.team-text.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.team-description {
  font-size: 17px;
  color: var(--cg-text-3);
  line-height: 1.8;
  margin-bottom: 40px;
}

.team-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--cg-bg-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid var(--cg-border);
  transition: all var(--cg-transition-base);
}

.team-feature-item:hover {
  background: var(--cg-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(6px);
  box-shadow: var(--cg-shadow-md);
}

.team-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cg-text-1);
}

.team-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cg-text-1);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-feature-item p {
  font-size: 13.5px;
  color: var(--cg-text-3);
  line-height: 1.6;
}

.team-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(28px);
}

.team-visual.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.team-roles-display {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 320px;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 16px;
  transition: all var(--cg-transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.role-card:hover {
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--cg-shadow-md);
}

.role-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--cg-text-1);
  flex-shrink: 0;
  background: var(--cg-bg-elevated);
  border: 1px solid var(--cg-border);
}

.role-owner:hover,
.role-editor:hover,
.role-viewer:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--cg-shadow-md);
}

.role-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.role-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--cg-text-1);
  letter-spacing: -0.01em;
}

.role-desc {
  font-size: 13px;
  color: var(--cg-text-3);
}

/* ===========================
   Security Section
   =========================== */
.security {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-text {
  opacity: 0;
  transform: translateX(-28px);
}

.security-text.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.security-description {
  font-size: 17px;
  color: var(--cg-text-3);
  line-height: 1.8;
  margin-bottom: 40px;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--cg-bg-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid var(--cg-border);
  transition: all var(--cg-transition-base);
}

.security-feature:hover {
  background: var(--cg-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(6px);
  box-shadow: var(--cg-shadow-md);
}

.security-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cg-text-1);
}

.security-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cg-text-1);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.security-feature p {
  font-size: 13.5px;
  color: var(--cg-text-3);
  line-height: 1.6;
}

/* Security Visual */
.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(28px);
}

.security-visual.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

/* Zero-Trust Network Graph Styles */
.zero-trust-graph-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--cg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zero-trust-graph-container::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

#zeroTrustCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.zero-trust-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.graph-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.graph-node {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cg-bg-surface);
  border: 1.5px solid var(--cg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: all var(--cg-transition-base);
  box-shadow: var(--cg-shadow-md);
  cursor: pointer;
}

.graph-node:hover {
  transform: translate(-50%, -50%) scale(1.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.node-icon-wrapper {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--cg-transition-base);
}

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

.node-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: var(--cg-text-3);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.node-api {
  border-color: rgba(59, 130, 246, 0.4);
}
.node-api .node-icon-wrapper { color: #3b82f6; }
.node-api:hover { border-color: #3b82f6; }

.node-gw {
  border-color: rgba(255, 255, 255, 0.3);
}
.node-gw .node-icon-wrapper { color: var(--cg-text-1); }
.node-gw:hover { border-color: var(--cg-text-1); }

.node-auth {
  border-color: rgba(34, 197, 94, 0.4);
}
.node-auth .node-icon-wrapper { color: #22c55e; }
.node-auth:hover { border-color: #22c55e; }

.node-db {
  border-color: rgba(245, 158, 11, 0.4);
}
.node-db .node-icon-wrapper { color: #f59e0b; }
.node-db:hover { border-color: #f59e0b; }


/* ===========================
   Organization Workflow Section
   =========================== */
.org-workflow {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.workflow-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px) /* cg-ignore */;
  align-items: center;
  margin-top: 50px /* cg-ignore */;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 24px /* cg-ignore */;
}

.workflow-step-card {
  display: flex;
  gap: 20px /* cg-ignore */;
  padding: 24px /* cg-ignore */;
  border-radius: 16px /* cg-ignore */;
  border: 1px solid var(--cg-border);
  background: rgba(17, 17, 17, 0.45) /* cg-ignore */;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all var(--cg-transition-base);
  position: relative;
  text-align: left;
}

.workflow-step-card:hover {
  background: rgba(255, 255, 255, 0.02) /* cg-ignore */;
  border-color: rgba(255, 255, 255, 0.12) /* cg-ignore */;
  transform: translateX(4px) /* cg-ignore */;
}

.workflow-step-card.active {
  background: var(--cg-bg-surface);
  border-color: rgba(59, 130, 246, 0.45) /* cg-ignore */;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transform: translateX(8px) /* cg-ignore */;
}

.step-card-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 24px;
}

.step-card-num {
  font-size: 15px /* cg-ignore */;
  font-weight: 800;
  color: var(--cg-text-3);
  font-family: var(--cg-font-mono);
  transition: color var(--cg-transition-base);
}

.workflow-step-card.active .step-card-num {
  color: var(--cg-accent-dark);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.step-card-line-track {
  width: 2px;
  flex: 1;
  background: var(--cg-border);
  margin: 12px 0 0 0 /* cg-ignore */;
  min-height: 50px /* cg-ignore */;
  position: relative;
}

.step-card-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--cg-accent-dark), transparent);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-step-card.active .step-card-line-fill {
  height: 100%;
}

.step-card-content h3 {
  font-size: 18px /* cg-ignore */;
  font-weight: 700;
  color: var(--cg-text-1);
  margin-bottom: 6px /* cg-ignore */;
  letter-spacing: -0.015em;
}

.step-card-content p {
  font-size: 13.5px /* cg-ignore */;
  color: var(--cg-text-3);
  line-height: 1.65;
  transition: color var(--cg-transition-base);
}

.workflow-step-card.active .step-card-content p {
  color: var(--cg-text-2);
}

/* Right Side: Visual Sandbox / Preview Console */
.workflow-preview-wrapper {
  position: relative;
  height: 440px /* cg-ignore */;
  border-radius: 20px /* cg-ignore */;
  background: rgba(9, 9, 11, 0.7) /* cg-ignore */;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--cg-border);
  box-shadow: var(--cg-shadow-xl);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.workflow-preview-pane {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 3.5vw, 32px) /* cg-ignore */;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(15px) /* cg-ignore */;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-preview-pane.active {
  opacity: 1;
  transform: translateY(0) /* cg-ignore */;
  pointer-events: auto;
  z-index: 5;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px /* cg-ignore */;
  margin-bottom: 20px /* cg-ignore */;
  padding-bottom: 12px /* cg-ignore */;
  border-bottom: 1px solid var(--cg-border);
  flex-shrink: 0;
}

.preview-dots {
  display: flex;
  gap: 6px /* cg-ignore */;
}

.preview-dots .dot {
  width: 8px /* cg-ignore */;
  height: 8px /* cg-ignore */;
  border-radius: 50%;
}

.preview-dots .dot.red { background: #ff5f56 /* cg-ignore */; }
.preview-dots .dot.yellow { background: #ffbd2e /* cg-ignore */; }
.preview-dots .dot.green { background: #27c93f /* cg-ignore */; }

.preview-title {
  font-size: 10px /* cg-ignore */;
  font-family: var(--cg-font-mono);
  color: var(--cg-text-3);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mock Forms & UI Components */
.mock-form {
  display: flex;
  flex-direction: column;
  gap: 14px /* cg-ignore */;
}

.mock-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px /* cg-ignore */;
  text-align: left;
}

.mock-label {
  font-size: 10px /* cg-ignore */;
  color: var(--cg-text-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-input {
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  padding: 10px 14px /* cg-ignore */;
  border-radius: 8px /* cg-ignore */;
  font-size: 13.5px /* cg-ignore */;
  color: var(--cg-text-1);
  font-family: var(--cg-font-mono);
}

.mock-plans-row {
  display: flex;
  gap: 10px /* cg-ignore */;
  margin-top: 6px /* cg-ignore */;
}

.mock-plan-pill {
  flex: 1;
  text-align: center;
  font-size: 11.5px /* cg-ignore */;
  font-weight: 700;
  padding: 8px 10px /* cg-ignore */;
  border-radius: 6px /* cg-ignore */;
  border: 1px solid var(--cg-border);
  background: transparent;
  color: var(--cg-text-3);
  cursor: pointer;
  transition: all var(--cg-transition-fast);
}

.mock-plan-pill:hover {
  border-color: rgba(255, 255, 255, 0.12) /* cg-ignore */;
  color: var(--cg-text-2);
}

.mock-plan-pill.active {
  border-color: rgba(59, 130, 246, 0.4) /* cg-ignore */;
  background: rgba(59, 130, 246, 0.1) /* cg-ignore */;
  color: var(--cg-text-1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.mock-plan-features-card {
  margin-top: 14px /* cg-ignore */;
  padding: 12px 14px /* cg-ignore */;
  border-radius: 10px /* cg-ignore */;
  background: rgba(255, 255, 255, 0.02) /* cg-ignore */;
  border: 1px solid var(--cg-border);
  text-align: left;
}

.mock-plan-price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px /* cg-ignore */;
  padding-bottom: 8px /* cg-ignore */;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) /* cg-ignore */;
}

.price-label {
  font-size: 10px /* cg-ignore */;
  color: var(--cg-text-3);
  text-transform: uppercase;
  font-weight: 700;
}

.price-value {
  font-size: 14px /* cg-ignore */;
  font-weight: 800;
  color: var(--cg-accent-dark);
  font-family: var(--cg-font-mono);
}

.mock-plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px /* cg-ignore */;
}

.mock-feature-item {
  display: flex;
  align-items: center;
  gap: 8px /* cg-ignore */;
  font-size: 11px /* cg-ignore */;
  color: var(--cg-text-2);
}

.mock-feature-item .chk-icon {
  color: var(--cg-success);
  font-weight: 800;
}

/* Paymob Mock Card with 3D wrapper */
.mock-card-3d-wrapper {
  perspective: 1000px /* cg-ignore */;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.mock-credit-card {
  width: 100%;
  max-width: 290px /* cg-ignore */;
  aspect-ratio: 1.586/1;
  padding: 20px /* cg-ignore */;
  border-radius: 14px /* cg-ignore */;
  background: linear-gradient(135deg, #1e1b4b 0%, #030712 100%) /* cg-ignore */;
  border: 1px solid rgba(99, 102, 241, 0.2) /* cg-ignore */;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mock-credit-card::before {
  content: '';
  position: absolute;
  top: -50% /* cg-ignore */;
  left: -50% /* cg-ignore */;
  width: 200% /* cg-ignore */;
  height: 200% /* cg-ignore */;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%) /* cg-ignore */;
  pointer-events: none;
}

.mock-credit-card.success-glow {
  border-color: rgba(34, 197, 94, 0.6) /* cg-ignore */;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.35), 0 10px 30px rgba(0, 0, 0, 0.4) /* cg-ignore */;
}

.card-chip {
  width: 32px /* cg-ignore */;
  height: 24px /* cg-ignore */;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) /* cg-ignore */;
  border-radius: 4px /* cg-ignore */;
  opacity: 0.85;
}

.card-number {
  font-family: var(--cg-font-mono);
  font-size: 15px /* cg-ignore */;
  color: var(--cg-text-1);
  letter-spacing: 0.1em;
  margin: 12px 0 /* cg-ignore */;
}

.card-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-label {
  display: block;
  font-size: 8px /* cg-ignore */;
  color: rgba(255, 255, 255, 0.4) /* cg-ignore */;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px /* cg-ignore */;
}

.card-val {
  font-family: var(--cg-font-mono);
  font-size: 11px /* cg-ignore */;
  color: var(--cg-text-1);
  font-weight: 600;
}

/* Action button for Step 2 checkout */
.billing-action-container {
  margin-top: 18px /* cg-ignore */;
  display: flex;
  justify-content: center;
}

.mock-checkout-btn {
  width: 100%;
  max-width: 290px /* cg-ignore */;
  padding: 10px 20px /* cg-ignore */;
  border-radius: 8px /* cg-ignore */;
  background: var(--cg-accent-dark);
  border: 1px solid rgba(255, 255, 255, 0.05) /* cg-ignore */;
  color: var(--cg-text-1);
  font-weight: 700;
  font-size: 12px /* cg-ignore */;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px /* cg-ignore */;
  transition: all var(--cg-transition-base);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.mock-checkout-btn:hover:not(:disabled) {
  transform: translateY(-2px) /* cg-ignore */;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  background: #2563eb /* cg-ignore */;
}

.mock-checkout-btn:disabled {
  background: var(--cg-border);
  color: var(--cg-text-3);
  cursor: not-allowed;
  box-shadow: none;
}

.mock-checkout-btn.success {
  background: linear-gradient(90deg, #10b981, #059669) /* cg-ignore */;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-spinner {
  width: 14px /* cg-ignore */;
  height: 14px /* cg-ignore */;
  border: 2px solid rgba(255, 255, 255, 0.3) /* cg-ignore */;
  border-radius: 50%;
  border-top-color: #ffffff /* cg-ignore */;
  animation: btn-spin 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.billing-status {
  margin-top: 18px /* cg-ignore */;
  display: flex;
  justify-content: center;
}

.status-badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px /* cg-ignore */;
  padding: 6px 12px /* cg-ignore */;
  border-radius: 20px /* cg-ignore */;
  background: rgba(34, 197, 94, 0.1) /* cg-ignore */;
  border: 1px solid rgba(34, 197, 94, 0.2) /* cg-ignore */;
  color: var(--cg-success);
  font-size: 11.5px /* cg-ignore */;
  font-weight: 700;
}

.status-badge-secure svg {
  flex-shrink: 0;
}

.status-badge-secure.processing {
  background: rgba(245, 158, 11, 0.1) /* cg-ignore */;
  border-color: rgba(245, 158, 11, 0.2) /* cg-ignore */;
  color: #f59e0b /* cg-ignore */;
}

/* DNS Terminal Console */
.terminal-console {
  background: #000000;
  border-radius: 12px /* cg-ignore */;
  border: 1px solid var(--cg-border);
  padding: 16px /* cg-ignore */;
  font-family: var(--cg-font-mono);
  font-size: 10px /* cg-ignore */;
  line-height: 1.6;
  text-align: left;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.terminal-action-container {
  margin-bottom: 12px /* cg-ignore */;
}

.mock-audit-btn {
  padding: 6px 12px /* cg-ignore */;
  border-radius: 6px /* cg-ignore */;
  background: rgba(59, 130, 246, 0.1) /* cg-ignore */;
  border: 1px solid rgba(59, 130, 246, 0.3) /* cg-ignore */;
  color: var(--cg-accent-dark);
  font-weight: 700;
  font-size: 11px /* cg-ignore */;
  font-family: var(--cg-font-mono);
  cursor: pointer;
  transition: all var(--cg-transition-fast);
}

.mock-audit-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.2) /* cg-ignore */;
  border-color: rgba(59, 130, 246, 0.5) /* cg-ignore */;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.mock-audit-btn:disabled {
  border-color: var(--cg-border);
  color: var(--cg-text-3);
  cursor: not-allowed;
  background: transparent;
}

.terminal-lines {
  flex: 1;
  overflow-y: auto;
  min-height: 140px /* cg-ignore */;
}

.terminal-console .prompt {
  color: var(--cg-accent-dark);
  font-weight: 700;
}

.terminal-line {
  margin-bottom: 4px /* cg-ignore */;
  opacity: 0;
  transform: translateY(8px) /* cg-ignore */;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.terminal-line.reveal {
  opacity: 1;
  transform: translateY(0) /* cg-ignore */;
}

.terminal-cursor {
  display: inline-block;
  width: 6px /* cg-ignore */;
  background: var(--cg-accent-dark);
  margin-left: 2px /* cg-ignore */;
  animation: term-blink 1s step-end infinite;
}

@keyframes term-blink {
  from, to { background: transparent; }
  50% { background: var(--cg-accent-dark); }
}

.mock-roles-row {
  display: flex;
  gap: 8px /* cg-ignore */;
  flex-wrap: wrap;
  transition: opacity 0.5s ease;
}

.mock-role-badge {
  padding: 4px 8px /* cg-ignore */;
  border-radius: 4px /* cg-ignore */;
  font-size: 9.5px /* cg-ignore */;
  font-weight: 700;
  border: 1px solid var(--cg-border);
}

.mock-role-badge.owner {
  background: rgba(168, 85, 247, 0.1) /* cg-ignore */;
  border-color: rgba(168, 85, 247, 0.2) /* cg-ignore */;
  color: #c084fc /* cg-ignore */;
}

.mock-role-badge.editor {
  background: rgba(59, 130, 246, 0.1) /* cg-ignore */;
  border-color: rgba(59, 130, 246, 0.2) /* cg-ignore */;
  color: #60a5fa /* cg-ignore */;
}

@media (max-width: 900px) {
  .workflow-container {
    grid-template-columns: 1fr;
    gap: 40px /* cg-ignore */;
  }
  
  .workflow-preview-wrapper {
    height: 400px /* cg-ignore */;
  }
}

/* ===========================
   CTA Section
   =========================== */
.cta {
  padding: var(--section-padding) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 60px);
  background: var(--cg-bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--cg-border);
  border-radius: 24px;
  box-shadow: var(--cg-shadow-xl);
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease, opacity 0.8s ease-out;
}

.cta-content.aos-animate {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cta-content.aos-animate:hover {
  transform: scale(1) translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--cg-shadow-xl);
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, var(--cg-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta-description {
  font-size: 18px;
  color: var(--cg-text-3);
  margin-bottom: 44px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-buttons .btn-primary {
  background: #fafafa;
  color: #09090b;
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  background: #e4e4e7;
}

.cta-buttons .btn-secondary {
  background: var(--cg-bg-elevated);
  border-color: var(--cg-border);
  color: var(--cg-text-1);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: var(--cg-bg-elevated);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--cg-text-1);
  box-shadow: none;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: transparent;
  color: var(--cg-text-3);
  padding: 60px 0 32px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cg-border) 50%, transparent 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo {
  color: var(--cg-text-1);
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--cg-text-1);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cg-text-3);
}

.footer-column h4 {
  color: var(--cg-text-1);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.footer-column a {
  display: block;
  color: var(--cg-text-3);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color var(--cg-transition-fast), transform var(--cg-transition-fast);
}

.footer-column a:hover {
  color: var(--cg-text-1);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--cg-border);
  font-size: 13px;
  color: var(--cg-text-3);
}subtle);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-subtle);
  font-size: 13px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(28px, 3.5vw, 48px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 280px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: 40px;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-card {
    max-width: 400px;
    width: 100%;
  }

  .step-connector {
    padding-top: 0;
    padding: 12px 0;
    transform: rotate(90deg);
  }

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

  .stats-banner-content {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stats-banner-item {
    padding: 0 16px;
  }

  .stats-banner-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: clamp(22px, 2.8vw, 36px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid,
  .tools-showcase {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    gap: 0;
  }

  .step-card {
    padding: 28px 20px;
  }

  .team-content {
    gap: 32px;
  }

  .team-roles-display {
    max-width: 100%;
  }

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

  .cta-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

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

  .security-shield {
    width: 240px;
    height: 240px;
  }

  .security-shield svg {
    width: 100px;
    height: 100px;
  }

  .stats-banner-content {
    flex-direction: column;
    padding: 24px;
  }

  .stats-banner-item {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .btn-large {
    padding: 13px 24px;
    font-size: 14px;
  }
}

/* ===========================
   Scroll Animations (AOS)
   =========================== */
[data-aos] {
  transition-property: opacity, transform;
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(28px);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-28px);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(28px);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.92);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered delays */
[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

[data-delay="400"] {
  transition-delay: 0.4s;
}

[data-delay="500"] {
  transition-delay: 0.5s;
}

[data-delay="600"] {
  transition-delay: 0.6s;
}


/* ===========================
   Authenticated Navbar Styles
   =========================== */
/* User info section */
.user-info,
#user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

#userInitials,
#mobileUserInitials {
  text-transform: uppercase;
}

/* User name display */
.user-name,
#userName,
#mobileUserName {
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-text-1);
  margin: 0;
  line-height: 1;
}

/* Account dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: transparent;
  border: 1px solid var(--cg-border);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all var(--cg-transition-fast);
}

.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--cg-text-2);
  transition: transform var(--cg-transition-fast);
}

.dropdown.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--cg-bg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--cg-shadow-lg);
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  display: block !important;
}

.dropdown-menu a,
.dropdown-menu button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  color: var(--cg-text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--cg-transition-fast);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--cg-accent-muted);
  color: var(--cg-text-1);
}

.dropdown-menu button {
  color: var(--cg-danger);
}

.dropdown-menu button:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--cg-danger);
}

/* Mobile authenticated menu */
.mobile-user-info {
  padding: 16px;
  background: var(--cg-bg-surface);
  border-radius: 12px;
  margin: 8px 0;
  border: 1px solid var(--cg-border);
}

.mobile-user-info .user-avatar {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

#mobile-logout-btn {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--cg-border);
  color: var(--cg-danger);
  cursor: pointer;
  padding: 16px 28px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--cg-transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#mobile-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--cg-danger);
}

/* Hidden class for conditional rendering */
.hidden {
  display: none !important;
}

/* Responsive styles for authenticated navbar */
@media (max-width: 768px) {
  #user-info {
    display: none !important;
  }
  
  .mobile-user-info {
    display: block;
  }
}

/* ============================================================
   CyberGuard — UI Enhancements & Animations
   ============================================================ */

/* Typewriter Cursor blinking */
.typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--cg-accent);
  animation: blink 0.75s step-end infinite;
  font-weight: 500;
}

@keyframes blink {
  from, to { color: transparent }
  50% { color: var(--cg-accent) }
}

/* Enhanced Status Indicator Pulse */
.status-indicator {
  position: relative;
  background: var(--cg-success);
}

/* Bottom-Aligned Status Info */
.radar-status-info {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.progress-ring > .progress-shield-icon {
  width: 52px;
  height: 52px;
  color: var(--cg-text-1);
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* High-Tech Radar Scope Graphic */
.radar-grid-outer {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.radar-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.radar-grid-inner {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.08) 0deg, rgba(255, 255, 255, 0) 120deg);
  animation: radarSweep 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.radar-crosshairs {
  position: absolute;
  inset: -12px;
  pointer-events: none;
}

.radar-crosshairs::before,
.radar-crosshairs::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

/* Vertical crosshair */
.radar-crosshairs::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

/* Horizontal crosshair */
.radar-crosshairs::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===========================
   Quantum Orbiting Comet & Forcefield Styles
   =========================== */
.orbit-comet-wrapper {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: cometOrbit 6s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.orbit-comet {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--cg-accent-dark);
  border-radius: 50%;
}

.forcefield-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: forcefieldPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cometOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes forcefieldPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.95;
  }
}

.status-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--cg-text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
  margin-bottom: 3px;
  line-height: 1;
}

.status-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cg-success);
  border-radius: 50%;
  display: inline-block;
}

.status-dot.scanning {
  background-color: #f59e0b;
}

/* Target Scope Static */
.target-scope-pulsate {
  color: var(--cg-text-1);
}

.status-text {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Enhanced Start Scanning Button (Glow & Shimmer) */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 4s infinite linear;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.btn-glow:hover {
  transform: translateY(-3px);
}

/* Stats Cards Layout & Glow Animations */
.card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--cg-transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--cg-accent);
}

.stat-icon {
  width: 18px;
  height: 18px;
  transition: all var(--cg-transition-base);
}

.card-stat:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--cg-bg-elevated);
  box-shadow: var(--cg-shadow-md);
}

.card-stat:hover .stat-icon {
  transform: scale(1.15) rotate(8deg);
  color: var(--cg-text-1);
}

/* Bouncing Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cg-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--cg-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition: all var(--cg-transition-fast);
}

.scroll-indicator:hover {
  color: var(--cg-text-1);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--cg-bg-elevated);
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

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

/* Trust Badges Pills Layout */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease-out 0.5s both;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cg-text-2);
  transition: all var(--cg-transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-badge:hover {
  color: var(--cg-text-1);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--cg-bg-surface);
}

.trust-badge-icon {
  width: 13px;
  height: 13px;
  color: var(--cg-accent-dark);
}

@media (max-width: 1100px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 30px;
    min-height: auto;
    padding-top: 330px;
  }

  .features-grid::before {
    inset: 20px auto auto calc(50% - 150px);
    width: 300px;
    height: 300px;
    animation: none;
  }

  .features-grid::after {
    top: 170px;
    width: 280px;
    height: 280px;
  }

  .feature-core {
    top: 170px;
    width: 280px;
    height: 280px;
  }

  .ring-outer {
    width: 280px;
    height: 280px;
  }

  .ring-inner {
    width: 200px;
    height: 200px;
  }

  .feature-core-sweep {
    height: 140px;
  }

  .feature-core-body {
    width: 156px;
    height: 156px;
  }

  .feature-core-logo {
    width: 62px;
    height: 62px;
  }

  .feature-core-label {
    bottom: 34px;
    font-size: 10px;
  }

  .feature-core-tick {
    transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-134px);
  }

  .tick-a { --tick-angle: 25deg; }
  .tick-b { --tick-angle: 118deg; }
  .tick-c { --tick-angle: 213deg; }
  .tick-d { --tick-angle: 302deg; }

  .feature-card,
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    position: relative;
    inset: auto;
    width: auto;
    grid-column: auto;
    bottom: auto;
    right: auto;
    left: auto;
    top: auto;
  }

  .feature-card::before {
    display: none;
  }

  .tool-category {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 275px;
  }

  .features-grid::before {
    left: calc(50% - 120px);
    width: 240px;
    height: 240px;
  }

  .features-grid::after {
    top: 140px;
    width: 224px;
    height: 224px;
  }

  .feature-core {
    top: 140px;
    width: 224px;
    height: 224px;
  }

  .ring-outer {
    width: 224px;
    height: 224px;
  }

  .ring-inner {
    width: 158px;
    height: 158px;
  }

  .feature-core-sweep {
    height: 112px;
  }

  .feature-core-body {
    width: 126px;
    height: 126px;
  }

  .feature-core-logo {
    width: 48px;
    height: 48px;
  }

  .feature-core-label {
    bottom: 27px;
    font-size: 8px;
  }

  .feature-core-tick {
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-106px);
  }

  .feature-card {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px;
  }

  .feature-icon {
    width: 58px;
    height: 58px;
  }

  .feature-title {
    font-size: 19px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .tools-showcase::before {
    left: 18px;
  }

  .tool-category {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0 22px 52px;
  }

  .tool-list {
    gap: 8px;
  }
}

/* Accessibility: Reduced Motion Fallbacks */
@media (prefers-reduced-motion: reduce) {
  .btn-glow::after {
    animation: none;
    display: none;
  }
  .status-indicator {
    animation: none;
  }
  .card-stat:hover {
    transform: none !important;
  }
  .card-stat:hover .stat-icon {
    transform: none !important;
  }
  .scroll-indicator svg {
    animation: none;
  }
  .typewriter-cursor {
    animation: none;
    display: none;
  }
}

/* =============================================
   CyberNotify Modal System (Copied from cyber-theme.css)
   ============================================= */

/* 2.1 — Modal layout */
#cyber-notify-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#cyber-notify-modal:not(.hidden) {
  display: flex;
}

/* 2.1 — Backdrop */
#cyber-notify-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}

.cyber-notify-open #cyber-notify-backdrop {
  opacity: 1;
}

/* 2.2 — Dialog container (glassmorphism) */
#cyber-notify-dialog {
  position: relative;
  z-index: 1;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  font-family: var(--cg-font-sans);
  padding: 2rem;
  border-radius: var(--cg-radius-lg);
  min-width: 320px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.cyber-notify-open #cyber-notify-dialog {
  opacity: 1;
  transform: scale(1);
}

/* 2.2 — Icon */
#cyber-notify-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

/* 2.2 — Message */
#cyber-notify-message {
  color: var(--cg-text-1);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* 2.2 — Action buttons row */
#cyber-notify-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* 2.2 — Button base styles */
#cyber-notify-confirm-btn,
#cyber-notify-cancel-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

/* Material Symbols Icons */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* Primary/Ghost Button styling overrides inside the modal */
#cyber-notify-modal .cyber-btn-primary {
  background: #fafafa;
  color: #09090b;
  border: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--cg-transition-base);
  cursor: pointer;
  text-decoration: none;
}
#cyber-notify-modal .cyber-btn-primary:hover {
  background: #e4e4e7;
  box-shadow: none;
}
#cyber-notify-modal .cyber-btn-ghost {
  background: transparent;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-weight: 500;
  transition: all var(--cg-transition-base);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#cyber-notify-modal .cyber-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fafafa;
}

