/* ========================================
   Security Tools Manual - Design System
   Purple/Spaceship/Gravity Theme
   ======================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

/* CSS Variables */
:root {
  /* Colors - Purple/Spaceship Theme */
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --primary-glow: rgba(139, 92, 246, 0.4);

  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --secondary-glow: rgba(6, 182, 212, 0.3);

  --accent: #f472b6;
  --accent-glow: rgba(244, 114, 182, 0.3);

  /* Background Colors */
  --bg-dark: #0a0612;
  --bg-primary: #0f0b1a;
  --bg-secondary: #1a1625;
  --bg-card: #1e1a2e;
  --bg-elevated: #251f36;
  --bg-glass: rgba(30, 26, 46, 0.7);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --gradient-hero: linear-gradient(
    180deg,
    rgba(10, 6, 18, 0) 0%,
    rgba(10, 6, 18, 0.8) 50%,
    #0a0612 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(6, 182, 212, 0.05) 100%
  );
  --gradient-glow: radial-gradient(
    ellipse at center,
    var(--primary-glow) 0%,
    transparent 70%
  );

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--primary-glow);

  /* Borders */
  --border-subtle: 1px solid rgba(139, 92, 246, 0.1);
  --border-glow: 1px solid rgba(139, 92, 246, 0.3);

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --section-padding: 100px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

img[loading="lazy"] {
  content-visibility: auto;
}

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

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

/* Section Styles */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

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

@media (max-width: 480px) {
  section {
    padding: 48px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  }
}

.section-header h2 {
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  padding: 20px 0;
  transition: var(--transition-normal);
  background: var(--bg-primary);
  border-bottom: var(--border-subtle);
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo i {
  font-size: 1.8rem;
  color: var(--primary);
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 8px;
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-glass);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.nav-toggle:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary);
}

.nav-toggle i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.nav-menu-wrapper {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-secondary);
  border: var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
  z-index: 10000;
  overflow: hidden;
}

.nav-menu-wrapper.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-menu a i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
  outline: none;
}

.nav-menu a:hover i,
.nav-menu a:focus i,
.nav-menu a.active i {
  opacity: 1;
  transform: scale(1.1);
}


/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 80vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(5px);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 40px;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 90px 32px 40px;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    max-height: 80vh;
    margin-top: 0;
  }
  
  .hero-content {
    padding: 60px 24px 32px;
    max-width: 100%;
  }
  
  .hero-bg img {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    max-height: 70vh;
    margin-top: 0;
  }
  
  .hero-content {
    padding: 50px 16px 24px;
    max-width: 100%;
  }
  
  .hero-bg img {
    transform: scale(1);
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding: 40px 12px 20px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: var(--border-glow);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .hero-badge {
    padding: 6px 16px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 14px;
    font-size: 0.75rem;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero h1 {
  margin-bottom: 24px;
  text-shadow: 0 0 60px var(--primary-glow);
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .hero h1 {
    margin-bottom: 20px;
    line-height: 1.1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    margin-bottom: 16px;
    line-height: 1.15;
  }
}

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

.hero p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero p {
    font-size: 1rem;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding: 0 8px;
  }
}

/* Floating Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: -2s;
  animation-duration: 12s;
}
.particle:nth-child(3) {
  left: 40%;
  animation-delay: -4s;
  animation-duration: 18s;
}
.particle:nth-child(4) {
  left: 60%;
  animation-delay: -6s;
  animation-duration: 14s;
}
.particle:nth-child(5) {
  left: 80%;
  animation-delay: -8s;
  animation-duration: 16s;
}
.particle:nth-child(6) {
  left: 10%;
  animation-delay: -10s;
  animation-duration: 20s;
}
.particle:nth-child(7) {
  left: 70%;
  animation-delay: -3s;
  animation-duration: 13s;
}
.particle:nth-child(8) {
  left: 90%;
  animation-delay: -7s;
  animation-duration: 17s;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

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

.btn-primary:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-3px);
}

.btn-secondary:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .btn-group {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .btn-group {
    gap: 10px;
  }
}

/* Button Responsive */
@media (max-width: 768px) {
  .btn {
    padding: 13px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================================
   Bento Grid Layout - Award Winner Design
   ======================================== */
.bento-grid {
  display: grid;
  gap: 24px;
}

.bento-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.bento-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .bento-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 768px) {
  .bento-grid-3,
  .bento-grid-4 {
    grid-template-columns: 1fr;
  }
  .bento-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bento-grid-5 {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    gap: 16px;
  }
}

/* Bento Card - Award Winner Style */
.bento-card {
  background: linear-gradient(
    145deg,
    rgba(30, 26, 46, 0.9) 0%,
    rgba(15, 11, 26, 0.95) 100%
  );
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Animated gradient border on hover */
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--accent) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Glow effect */
.bento-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--primary-glow) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: transparent;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px var(--primary-glow);
}

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

.bento-card:hover::after {
  opacity: 0.5;
}

/* Icon container with floating animation */
.bento-card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 24px var(--primary-glow);
  position: relative;
  z-index: 1;
}

.bento-card:hover .icon {
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.bento-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.bento-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* Feature Bento (Large) - Spanning 2 columns */
.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(6, 182, 212, 0.05) 50%,
    rgba(15, 11, 26, 0.95) 100%
  );
}

@media (max-width: 768px) {
  .bento-card.featured {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 24px;
  }
  
  .bento-card .icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  
  .bento-card h3 {
    font-size: 1.2rem;
  }
}

/* ========================================
   Tool Cards (CTA) - Award Winner Style
   ======================================== */
.tool-card {
  background: linear-gradient(
    145deg,
    rgba(30, 26, 46, 0.95) 0%,
    rgba(15, 11, 26, 0.98) 100%
  );
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Gradient border effect */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--accent) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--primary-glow) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.tool-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: transparent;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 80px var(--primary-glow);
}

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

.tool-card:hover::after {
  opacity: 0.4;
}

.tool-card .tool-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin: 0 auto 28px;
  font-size: 2.25rem;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 12px 30px var(--primary-glow),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.tool-card:hover .tool-icon {
  animation: iconFloat 2s ease-in-out infinite;
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.tool-card .subtitle {
  color: var(--primary-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.tool-card p {
  margin-bottom: 24px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.tool-card .btn {
  position: relative;
  z-index: 1;
}

/* Tool Cards Responsive */
@media (max-width: 768px) {
  .tool-card {
    padding: 32px 24px;
  }
  
  .tool-card .tool-icon {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
  
  .tool-card h3 {
    font-size: 1.25rem;
  }
}

/* ========================================
   Team Section
   ======================================== */
.team-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card .matric {
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   Page Hero (Tool Pages)
   ======================================== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  z-index: 1;
}

@media (max-width: 768px) {
  .page-hero {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
  }
  
  .page-hero-bg img {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 45vh;
    min-height: 300px;
    max-height: 450px;
  }
  
  .page-hero-bg img {
    transform: scale(1);
  }
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(5px);
  opacity: 0.5;
  transform: scale(1.02);
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 6, 18, 0.7) 0%,
    rgba(10, 6, 18, 0.6) 50%,
    var(--bg-dark) 100%
  );
  z-index: -1;
}

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

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.1rem;
}

/* ========================================
   Content Sections
   ======================================== */
.content-section {
  padding: 80px 0;
}

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

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.content-block h2 i {
  color: var(--primary);
}

.content-block p {
  margin-bottom: 20px;
}

.intro-text {
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .intro-text {
    font-size: 1rem;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .intro-text {
    font-size: 0.95rem;
    padding: 0 8px;
  }
}

.content-block ul {
  list-style: none;
  margin: 24px 0;
}

.content-block ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========================================
   Carousel
   ======================================== */
.carousel-container {
  position: relative;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  overflow: hidden;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 20px;
}

.carousel-slide .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 16px;
}

.carousel-slide .step-image {
  width: 100%;
  max-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide .step-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.carousel-slide h4 {
  margin-bottom: 12px;
}

.carousel-slide p {
  font-size: 0.95rem;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: var(--border-subtle);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-btn:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

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

.carousel-dot {
  width: 10px;
  height: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--primary);
}

/* Disclosure Forms Carousel */
#disclosure .carousel-slide .step-image {
  max-height: 350px;
  height: 350px;
  background: #fff;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

#disclosure .carousel-slide .step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#disclosure .carousel-slide h4 {
  color: var(--primary-light);
  font-size: 1.1rem;
}

#disclosure .carousel-slide p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   Tables
   ======================================== */
.table-container {
  overflow-x: auto;
  margin: 32px 0;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.styled-table thead {
  background: var(--gradient-primary);
}

.styled-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.styled-table td {
  padding: 16px 20px;
  border-bottom: var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.styled-table tbody tr {
  transition: var(--transition-fast);
}

.styled-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.1);
}

.styled-table tbody tr:last-child td {
  border-bottom: none;
}

/* CIA Badge */
.cia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cia-badge.confidentiality {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.cia-badge.integrity {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.cia-badge.availability {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

/* ========================================
   Timeline
   ======================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-item h4 {
  margin-bottom: 8px;
  color: var(--primary-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: var(--border-subtle);
  padding: 60px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: var(--border-subtle);
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--secondary-glow);
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}
.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 48px;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.mt-5 {
  margin-top: 48px;
}

/* ========================================
   Page Transitions
   ======================================== */
.page-transition {
  animation: pageEnter 0.2s ease-out forwards;
}

.page-exit {
  animation: pageExit 0.15s ease-in forwards;
}

@keyframes pageEnter {
  from {
    filter: brightness(1.2);
  }
  to {
    filter: brightness(1);
  }
}

@keyframes pageExit {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.3);
  }
}

