/* DocTrack.ai - Glassmorphism Aurora Landing Page Styles */

:root {
  /* Color Palette - DocTrack Logo-Inspired Theme with Glassmorphism */
  --bg-primary: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 25%, #0d1221 50%, #1b2332 75%, #0a0e1a 100%);
  --bg-secondary: linear-gradient(45deg, rgba(47, 95, 127, 0.15) 0%, rgba(231, 76, 60, 0.1) 30%, rgba(39, 174, 96, 0.1) 60%, rgba(243, 156, 18, 0.15) 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  
  /* DocTrack Brand Colors - From Logo */
  --primary-blue: #2F5F7F;
  --primary-blue-light: #4A7BA7;
  --primary-blue-dark: #1A3A4F;
  --coral-red: #E74C3C;
  --coral-red-light: #EC7063;
  --emerald-green: #27AE60;
  --emerald-green-light: #52C882;
  --golden-yellow: #F39C12;
  --golden-yellow-light: #F7DC6F;
  --orange-accent: #FF6B35;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Accent Colors - Updated to use logo colors */
  --accent-azure: var(--primary-blue);
  --accent-mint: var(--emerald-green);
  --accent-coral: var(--coral-red);
  --accent-golden: var(--golden-yellow);
  --accent-orange: var(--orange-accent);
  --accent-silver: #e5e7eb;
  
  /* Interactive States */
  --hover-overlay: rgba(255, 255, 255, 0.1);
  --active-overlay: rgba(255, 255, 255, 0.2);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-hero: 0 40px 80px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glass Morphism Base Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 41, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.nav-brand span {
  color: var(--text-primary);
}

.nav-logo, .footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-brand i {
  color: var(--accent-azure);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 44px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--hover-overlay);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 23, 41, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-links a.active {
  color: var(--primary-blue);
  background: rgba(47, 95, 127, 0.12);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-actions a {
  width: 100%;
  justify-content: center;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.menu-open {
  height: 100vh;
  overflow: hidden;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-outline {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  min-height: 44px;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  box-shadow: 0 4px 20px rgba(47, 95, 127, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(47, 95, 127, 0.4);
}

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

.btn-secondary:hover {
  background: var(--hover-overlay);
  transform: translateY(-1px);
}

.btn-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-hero:hover::before {
  animation: shimmer 0.6s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(47, 95, 127, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

.btn-outline:hover {
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 7rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.fluid-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0a0618 0%, #1a0f2e 25%, #0d0821 50%, #1b1032 75%, #0a0618 100%);
  opacity: 0.95;
}

.fluid-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.fluid-shape {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(1px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  background: linear-gradient(45deg, 
    rgba(147, 51, 234, 0.4) 0%, 
    rgba(59, 130, 246, 0.3) 25%, 
    rgba(34, 211, 238, 0.4) 50%, 
    rgba(168, 85, 247, 0.3) 75%, 
    rgba(147, 51, 234, 0.4) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 0 40px rgba(147, 51, 234, 0.3),
    0 0 80px rgba(59, 130, 246, 0.2),
    0 0 120px rgba(34, 211, 238, 0.1),
    inset 0 0 40px rgba(34, 211, 238, 0.1);
  transition: all 0.3s ease;
}

.fluid-shape::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(
    circle at center,
    rgba(147, 51, 234, 0.1) 0%,
    rgba(59, 130, 246, 0.08) 30%,
    rgba(34, 211, 238, 0.1) 60%,
    transparent 100%
  );
  border-radius: inherit;
  animation: pulseGlow 8s ease-in-out infinite;
  z-index: -1;
}

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

.fluid-1 {
  width: 400px;
  height: 300px;
  top: 5%;
  right: 5%;
  animation: liquidFlow1 25s infinite, morphShape1 15s infinite;
  transform-origin: center;
}

.fluid-2 {
  width: 320px;
  height: 250px;
  bottom: 15%;
  left: 8%;
  animation: liquidFlow2 30s infinite, morphShape2 20s infinite;
  animation-delay: -8s, -3s;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.4) 0%, 
    rgba(34, 211, 238, 0.3) 30%, 
    rgba(147, 51, 234, 0.4) 60%, 
    rgba(168, 85, 247, 0.3) 100%);
}

.fluid-3 {
  width: 280px;
  height: 200px;
  top: 45%;
  right: 25%;
  animation: liquidFlow3 20s infinite, morphShape3 12s infinite;
  animation-delay: -15s, -6s;
  background: linear-gradient(90deg, 
    rgba(34, 211, 238, 0.4) 0%, 
    rgba(147, 51, 234, 0.3) 40%, 
    rgba(59, 130, 246, 0.4) 80%, 
    rgba(168, 85, 247, 0.3) 100%);
}

.fluid-4 {
  width: 220px;
  height: 180px;
  top: 20%;
  left: 30%;
  animation: liquidFlow4 35s infinite, morphShape4 18s infinite;
  animation-delay: -20s, -9s;
  background: linear-gradient(225deg, 
    rgba(168, 85, 247, 0.4) 0%, 
    rgba(34, 211, 238, 0.3) 35%, 
    rgba(147, 51, 234, 0.4) 70%, 
    rgba(59, 130, 246, 0.3) 100%);
}

.fluid-5 {
  width: 350px;
  height: 280px;
  bottom: 25%;
  right: 40%;
  animation: liquidFlow5 28s infinite, morphShape5 16s infinite;
  animation-delay: -12s, -7s;
  background: linear-gradient(315deg, 
    rgba(59, 130, 246, 0.4) 0%, 
    rgba(168, 85, 247, 0.3) 25%, 
    rgba(34, 211, 238, 0.4) 65%, 
    rgba(147, 51, 234, 0.3) 100%);
}

/* Liquid Metal Flow Animations */
@keyframes liquidFlow1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  20% { transform: translate(30px, -40px) rotate(15deg) scale(1.1); }
  40% { transform: translate(-20px, 20px) rotate(-10deg) scale(0.9); }
  60% { transform: translate(40px, 30px) rotate(25deg) scale(1.05); }
  80% { transform: translate(-30px, -20px) rotate(-15deg) scale(0.95); }
}

@keyframes liquidFlow2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-40px, -30px) rotate(-20deg) scale(1.15); }
  50% { transform: translate(25px, 35px) rotate(18deg) scale(0.85); }
  75% { transform: translate(-35px, 25px) rotate(-25deg) scale(1.08); }
}

@keyframes liquidFlow3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  30% { transform: translate(35px, -25px) rotate(30deg) scale(1.2); }
  60% { transform: translate(-25px, 40px) rotate(-18deg) scale(0.8); }
  90% { transform: translate(20px, -35px) rotate(22deg) scale(1.1); }
}

@keyframes liquidFlow4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  15% { transform: translate(-25px, 30px) rotate(-12deg) scale(1.05); }
  35% { transform: translate(40px, -15px) rotate(28deg) scale(0.9); }
  55% { transform: translate(-30px, -35px) rotate(-22deg) scale(1.15); }
  75% { transform: translate(20px, 25px) rotate(16deg) scale(0.95); }
}

@keyframes liquidFlow5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  22% { transform: translate(45px, 20px) rotate(35deg) scale(1.1); }
  44% { transform: translate(-35px, -30px) rotate(-28deg) scale(0.88); }
  66% { transform: translate(30px, -40px) rotate(20deg) scale(1.12); }
  88% { transform: translate(-20px, 35px) rotate(-15deg) scale(0.92); }
}

/* Morphing Shape Animations */
@keyframes morphShape1 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 70% 30% 60% 40% / 40% 50% 60% 30%; }
  75% { border-radius: 40% 70% 30% 60% / 70% 40% 50% 60%; }
}

@keyframes morphShape2 {
  0%, 100% { border-radius: 40% 60% 70% 30% / 50% 70% 30% 50%; }
  33% { border-radius: 70% 30% 50% 60% / 30% 60% 70% 40%; }
  66% { border-radius: 50% 70% 40% 30% / 60% 40% 50% 70%; }
}

@keyframes morphShape3 {
  0%, 100% { border-radius: 70% 30% 40% 60% / 30% 50% 60% 70%; }
  30% { border-radius: 30% 70% 60% 40% / 70% 30% 40% 60%; }
  60% { border-radius: 60% 40% 30% 70% / 50% 70% 30% 50%; }
}

@keyframes morphShape4 {
  0%, 100% { border-radius: 50% 70% 30% 60% / 40% 30% 70% 50%; }
  40% { border-radius: 30% 50% 70% 40% / 60% 70% 40% 30%; }
  80% { border-radius: 70% 40% 50% 30% / 30% 60% 50% 70%; }
}

/* Responsive adjustments for fluid shapes */
@media (max-width: 768px) {
  .fluid-shape {
    opacity: 0.7;
    animation-duration: 20s, 12s;
  }
  
  .fluid-1 {
    width: 280px;
    height: 220px;
    top: 10%;
    right: -10%;
  }
  
  .fluid-2 {
    width: 200px;
    height: 160px;
    bottom: 20%;
    left: -15%;
  }
  
  .fluid-3 {
    width: 180px;
    height: 140px;
    top: 50%;
    right: 15%;
  }
  
  .fluid-4 {
    width: 150px;
    height: 120px;
    top: 25%;
    left: 20%;
  }
  
  .fluid-5 {
    width: 220px;
    height: 180px;
    bottom: 35%;
    right: 30%;
  }
}

@media (max-width: 480px) {
  .fluid-shapes {
    opacity: 0.6;
  }
  
  .fluid-shape {
    filter: blur(2px);
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-text {
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-golden), var(--accent-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  z-index: 10;
  justify-items: center;
}

.main-panel {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.analytics-panel {
  grid-column: 1;
  grid-row: 3;
  position: relative;
  left: 1.5rem;
  width: 85%;
  max-width: 340px;
}

.security-panel {
  grid-column: 1;
  grid-row: 4;
  position: relative;
  right: 1.5rem;
  width: 75%;
  max-width: 300px;
  text-align: center;
  padding: 1.5rem;
}

/* Document Preview */
.document-preview {
  color: var(--text-primary);
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-header i {
  color: var(--accent-azure);
  font-size: 1.5rem;
}

.status-indicator {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-mint);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.doc-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.stat i {
  color: var(--accent-azure);
}

/* Analytics Chart */
.analytics-chart {
  color: var(--text-primary);
}

.chart-header {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 80px;
}

.bar {
  background: linear-gradient(to top, var(--accent-azure), var(--accent-mint));
  width: 12px;
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
}

.bar.active {
  background: linear-gradient(to top, var(--accent-coral), var(--accent-golden));
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.security-features {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-mint);
}

.security-features i {
  font-size: 1.5rem;
}

/* Features Section */
.features {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent-coral), var(--accent-golden), transparent);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-azure), var(--accent-mint));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(47, 95, 127, 0.3);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Security Section */
.security {
  padding: 8rem 0;
  background: radial-gradient(ellipse at center, rgba(47, 95, 127, 0.05) 0%, transparent 70%);
}

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

.security-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.security-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.security-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.security-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.security-item i {
  color: var(--accent-mint);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.security-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.security-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.security-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-shield {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-layers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shield-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--accent-azure);
  border-radius: 50%;
  animation: expandShield 3s ease-in-out infinite;
}

.shield-layer:nth-child(1) {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.shield-layer:nth-child(2) {
  width: 120px;
  height: 120px;
  animation-delay: 1s;
  border-color: var(--accent-mint);
}

.shield-layer:nth-child(3) {
  width: 160px;
  height: 160px;
  animation-delay: 2s;
  border-color: var(--accent-coral);
}

@keyframes expandShield {
  0%, 100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.security-shield i {
  font-size: 4rem;
  color: var(--accent-mint);
  z-index: 10;
  position: relative;
}

/* Analytics Section */
.analytics {
  padding: 8rem 0;
}

.analytics-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.dashboard-preview {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.dashboard-header h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.time-filter {
  display: flex;
  gap: 0.5rem;
}

.time-filter span {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-filter span.active {
  background: var(--accent-azure);
  color: white;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.metric-change.positive {
  color: var(--accent-mint);
}

.world-map {
  position: relative;
  height: 120px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-dots {
  position: relative;
  height: 100%;
}

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-azure);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-azure);
  animation: pulse 2s infinite;
}

.dot-1 { top: 30%; left: 20%; animation-delay: 0s; }
.dot-2 { top: 50%; left: 45%; animation-delay: 0.5s; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); }
.dot-3 { top: 70%; left: 70%; animation-delay: 1s; background: var(--accent-coral); box-shadow: 0 0 10px var(--accent-coral); }
.dot-4 { top: 40%; right: 30%; animation-delay: 1.5s; background: var(--accent-golden); box-shadow: 0 0 10px var(--accent-golden); }
.dot-5 { top: 60%; right: 15%; animation-delay: 2s; background: var(--accent-orange); box-shadow: 0 0 10px var(--accent-orange); }

.analytics-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.analytics-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.analytics-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.analytics-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.analytics-feature i {
  color: var(--accent-azure);
  font-size: 1.25rem;
}

/* Open Source Section */
.open-source {
  padding: 8rem 0;
  background: radial-gradient(ellipse at center, rgba(39, 174, 96, 0.05) 0%, transparent 70%);
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.github-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.github-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(255, 255, 255, 0.3);
}

.github-card i {
  font-size: 2.5rem;
  color: var(--accent-azure);
}

.stat-content {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.brand-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.brand-logo a:hover {
  color: var(--text-primary);
}

.brand-logo span {
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
}

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

.link-group h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--text-primary);
  background: var(--hover-overlay);
  transform: translateY(-2px);
}

/* Pricing Section */
.pricing {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glass);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 40px rgba(47, 95, 127, 0.3);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(47, 95, 127, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-pricing {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-pricing:hover {
  background: var(--hover-overlay);
  transform: translateY(-2px);
}

.btn-pricing.primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border: none;
  color: white;
  box-shadow: 0 4px 20px rgba(47, 95, 127, 0.3);
}

.btn-pricing.primary:hover {
  box-shadow: 0 8px 30px rgba(47, 95, 127, 0.4);
}

.pricing-faq {
  margin-top: 6rem;
  text-align: center;
}

.pricing-faq h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: left;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .security-content,
  .analytics-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: block;
  }

  .github-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero {
    padding-top: 8rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .github-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 9rem;
  }

  .mobile-menu {
    padding: 1.25rem 1.25rem 1.75rem;
  }

  .mobile-menu-links a {
    padding: 0.65rem 0.85rem;
  }

  .hero-title {
    font-size: 2rem;
  }
  
  .btn-hero,
  .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .analytics-text h2,
  .security-text h2 {
    font-size: 2rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing {
    padding: 4rem 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin: 1rem 0;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Trusted By Section */
.trusted-by {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 23, 41, 0.8) 100%);
  position: relative;
}

.trusted-by .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.customer-logos {
  display: flex;
  justify-content: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 900px;
  width: 100%;
  align-items: center;
  justify-items: center;
}

/* Customer Logos - Enhanced styling */
.customer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all 0.3s ease;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.logo-placeholder span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.customer-logo:hover .logo-placeholder {
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.customer-logo:hover .logo-placeholder span {
  color: var(--text-primary);
}

/* Customer Logo Images */
.customer-logo-img {
  max-height: 56px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.customer-logo-img:hover,
.customer-logo-img:focus {
  filter: none;
  transform: scale(1.05);
  outline: none;
}

/* Compliance Section */
.compliance {
  padding: 8rem 0;
  background: rgba(15, 23, 41, 0.6);
  position: relative;
}

.compliance .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.compliance-item:hover {
  transform: translateY(-2px);
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
}

.compliance-logo {
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

.logo-badge.soc2 {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.logo-badge.gdpr {
  background: linear-gradient(135deg, var(--emerald-green), var(--emerald-green-light));
}

.logo-badge.hipaa {
  background: linear-gradient(135deg, var(--coral-red), var(--coral-red-light));
}

.logo-badge.iso27001 {
  background: linear-gradient(135deg, var(--golden-yellow), #E6B800);
}

.logo-badge.ccpa {
  background: linear-gradient(135deg, var(--orange-accent), #FF8A5C);
}

.logo-badge.pci {
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
}

.logo-badge span {
  font-size: 1rem;
  line-height: 1;
}

.logo-badge small {
  font-size: 0.7rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.compliance-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.compliance-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Features Preview Section */
.features-preview {
  padding: 8rem 0;
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.6) 0%, var(--bg-primary) 100%);
}

.features-preview .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-preview .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.features-preview .feature-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.features-preview .feature-card:hover {
  transform: translateY(-4px);
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.features-preview .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.features-preview .feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--coral-red), var(--accent-golden));
}

.features-preview .feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.features-preview .feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-preview .cta-section {
  text-align: center;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  
  .compliance-item {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .logo-badge {
    width: 60px;
    height: 60px;
  }
  
  .logo-badge span {
    font-size: 0.9rem;
  }
  
  .logo-badge small {
    font-size: 0.65rem;
  }
  
  .features-preview .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }
  
  .customer-logo {
    height: 60px;
  }
  
  .logo-placeholder span {
    font-size: 1rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Indicators */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-secondary: rgba(255, 255, 255, 0.9);
  }
}
/* Page-specific styles */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  opacity: 0.5;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Navigation active state */
.nav-links a.active {
  color: var(--primary-blue);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
}

/* Feature details */
.feature-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.feature-details li::before {
  content: '•';
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Analytics features section */
.analytics-features-section {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.8);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Security stats */
.security-stats {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--emerald-green), var(--emerald-green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.discount {
  background: var(--accent-mint);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.toggle-switch {
  position: relative;
}

.toggle-switch input {
  display: none;
}

.toggle-switch label {
  display: block;
  width: 48px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-switch label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + label {
  background: var(--primary-blue);
}

.toggle-switch input:checked + label::after {
  transform: translateX(24px);
}

.yearly-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hidden {
  display: none !important;
}

/* Feature comparison table */
.feature-comparison {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.6);
}

.comparison-table {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--glass-border);
  font-weight: 600;
  color: var(--text-primary);
}

.table-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--primary-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.feature-name {
  color: var(--text-primary);
  font-weight: 500;
}

.feature-value {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-value i.ph-check {
  color: var(--accent-mint);
  font-size: 1.25rem;
}

.feature-value i.ph-x {
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* Contributing section */
.contributing {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.8);
}

.contribute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contribute-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contribute-card:hover {
  transform: translateY(-2px);
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
}

.contribute-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--coral-red), var(--emerald-green));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contribute-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contribute-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contribute-details {
  margin-bottom: 1.5rem;
}

.contribute-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contribute-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contribute-details li::before {
  content: '•';
  color: var(--coral-red);
  font-weight: bold;
}

.contribute-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.contribute-link:hover {
  color: var(--primary-blue-light);
  gap: 0.75rem;
}

/* Technology stack */
.tech-stack {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.6);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
}

.tech-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-name {
  font-weight: 600;
  color: var(--primary-blue);
}

.tech-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Roadmap */
.roadmap {
  padding: 6rem 0;
  background: rgba(15, 23, 41, 0.8);
}

.roadmap-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roadmap-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.roadmap-item:hover {
  background: var(--hover-overlay);
  border-color: rgba(255, 255, 255, 0.3);
}

.roadmap-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  text-align: center;
}

.roadmap-status i {
  font-size: 2rem;
}

.roadmap-item.completed .roadmap-status i {
  color: var(--accent-mint);
}

.roadmap-item.in-progress .roadmap-status i {
  color: var(--accent-azure);
}

.roadmap-item.planned .roadmap-status i {
  color: var(--text-muted);
}

.roadmap-status span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.roadmap-content {
  flex: 1;
}

.roadmap-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.roadmap-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.roadmap-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Compliance details */
.compliance-details {
  margin-top: 1rem;
}

.compliance-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compliance-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.compliance-details li::before {
  content: '•';
  color: var(--emerald-green);
  font-weight: bold;
}

/* Responsive design for new sections */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.25rem;
  }
  
  .page-hero p {
    font-size: 1.1rem;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr;
    font-size: 0.85rem;
  }
  
  .contribute-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .roadmap-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .roadmap-status {
    flex-direction: row;
    min-width: auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tech-categories {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .feature-value {
    justify-content: flex-start;
  }
  
  .toggle-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Indicators */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-secondary: rgba(255, 255, 255, 0.9);
  }
}
