/* ===== QUANTUM PRIVACY POLICY - PREMIUM STYLES ===== */

/* CSS Variables for Theme Support */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-secondary: linear-gradient(135deg, #10b981, #3b82f6);
  --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --border-color: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.privacy-excellence-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 3D Canvas Background */
.canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.3;
}

/* Cyber Grid Effect */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(circle at center, transparent 30%, black 70%);
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Quantum Particles */
#quantumParticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Floating Security Badges */
.floating-badges {
  position: fixed;
  top: 120px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.badge {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.badge:hover::before {
  opacity: 1;
}

.badge:hover {
  transform: translateY(-5px) scale(1.1);
}

.badge.aes256 {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.badge.gdpr {
  background: linear-gradient(135deg, #10b981, #047857);
}

.badge.iso27001 {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.badge i {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.badge[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid var(--border-color);
}

.badge:hover::after {
  opacity: 1;
}

/* Live Dashboard */
.live-dashboard {
  position: fixed;
  top: 200px;
  left: 30px;
  width: 250px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 20px 40px var(--shadow-color);
  transition: all 0.3s ease;
}

.live-dashboard:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-header i {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.dashboard-header h4 {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.dashboard-controls {
  display: flex;
  gap: 5px;
}

.dashboard-minimize {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dashboard-minimize:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.metric {
  margin-bottom: 15px;
}

.metric:last-child {
  margin-bottom: 0;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.metric-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-primary);
  position: relative;
  animation: barFill 2s ease-out forwards;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: barShimmer 3s infinite;
}

.metric-value {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* Quantum Header */
.quantum-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 12px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-links a.active {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

.header-actions {
  display: flex;
  gap: 15px;
}

.theme-toggle,
.nav-search {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover,
.nav-search:hover {
  background: var(--accent-primary);
  color: white;
  transform: rotate(15deg);
}

/* Quantum Navigation */
.quantum-nav {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 15px;
  z-index: 999;
}

.nav-items {
  display: flex;
  gap: 20px;
}

.nav-item {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 20px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-item:hover::before {
  opacity: 0.2;
}

.nav-item:hover {
  color: var(--text-primary);
  transform: translateY(-5px);
}

.nav-item.active {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-item i {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.nav-item span {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Main Container */
.quantum-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px;
}

/* Quantum Hero */
.quantum-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
  z-index: -1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-quantum {
  background: var(--gradient-primary);
  color: white;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.6s ease;
}

.btn-quantum:hover .btn-glow {
  left: 100%;
}

.btn-outline-quantum {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline-quantum:hover {
  background: var(--accent-primary);
  color: white;
}

/* Data Sphere Visualization */
.hero-visualization {
  flex: 0 0 500px;
}

.data-sphere {
  width: 500px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  animation: sphereRotate 20s linear infinite;
}

.sphere-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid;
  transform: translate(-50%, -50%);
}

.layer-1 {
  width: 400px;
  height: 400px;
  border-color: rgba(59, 130, 246, 0.3);
  animation: pulse 4s ease-in-out infinite;
}

.layer-2 {
  width: 300px;
  height: 300px;
  border-color: rgba(139, 92, 246, 0.3);
  animation: pulse 4s ease-in-out infinite 0.5s;
}

.layer-3 {
  width: 200px;
  height: 200px;
  border-color: rgba(16, 185, 129, 0.3);
  animation: pulse 4s ease-in-out infinite 1s;
}

.encryption-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes sphereRotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 50px rgba(59, 130, 246, 0.5); }
  50% { box-shadow: 0 0 100px rgba(59, 130, 246, 0.8); }
}

/* Data Map Section */
.data-map-section {
  margin: 120px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.section-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.map-container {
  height: 500px;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.map-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 200px;
  padding: 25px;
  background: var(--bg-tertiary);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
}

.node:hover {
  border-color: var(--accent-primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.node.user { top: 20%; left: 10%; }
.node.encryption { top: 20%; right: 10%; }
.node.storage { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.node.audit { bottom: 20%; left: 10%; }
.node.control { bottom: 20%; right: 10%; }

.node-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.node-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.node-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.map-connections {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection {
  position: absolute;
  background: var(--accent-primary);
  height: 3px;
  transform-origin: 0 0;
}

.map-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.map-btn {
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.map-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Controls Section */
.controls-section {
  margin: 120px 0;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.control-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.control-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px var(--shadow-color);
}

.control-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.control-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.control-info {
  flex: 1;
}

.control-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.control-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-success);
}

.encryption-level {
  padding: 20px;
  background: var(--bg-tertiary);
  border-radius: 15px;
}

.level-indicator {
  height: 10px;
  background: var(--gradient-primary);
  border-radius: 5px;
  margin-bottom: 15px;
  position: relative;
}

.level-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: levelShimmer 3s infinite;
}

.level-markers {
  display: flex;
  justify-content: space-between;
}

.marker {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.marker:hover,
.marker.active {
  background: var(--accent-primary);
  color: white;
}

.retention-slider {
  padding: 20px;
}

.slider {
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
  background: var(--bg-tertiary);
  border-radius: 5px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

#retentionValue {
  color: var(--accent-primary);
  font-weight: 600;
}

.sharing-partners {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: 12px;
}

.partner i {
  width: 40px;
  height: 40px;
  background: var(--gradient-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.partner span {
  flex: 1;
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background: var(--accent-primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.monitoring-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.monitoring-stat {
  text-align: center;
  padding: 20px;
  background: var(--gradient-dark);
  border-radius: 15px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-success);
}

.controls-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-save {
  background: var(--gradient-primary);
  color: white;
}

.btn-reset {
  background: transparent;
  border: 2px solid var(--text-tertiary);
  color: var(--text-tertiary);
}

.btn-reset:hover {
  border-color: var(--accent-danger);
  color: var(--accent-danger);
}

/* Rights Section */
.rights-section {
  margin: 120px 0;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.right-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.right-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent-primary);
  box-shadow: 0 40px 80px var(--shadow-color);
}

.right-visual {
  flex: 0 0 120px;
  position: relative;
}

.right-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  position: relative;
  z-index: 1;
}

.right-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  opacity: 0.2;
  animation: glowPulse 3s ease-in-out infinite;
}

.right-content {
  flex: 1;
}

.right-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.right-content p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.right-action {
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--accent-primary);
  color: white;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.right-action.delete {
  background: var(--accent-danger);
}

.right-action.delete:hover {
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.rights-request-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 800px;
  background: var(--bg-secondary);
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rights-request-form.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
}

.form-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-close:hover {
  background: var(--accent-danger);
  color: white;
  transform: rotate(90deg);
}

.form-body {
  padding: 30px;
  max-height: 500px;
  overflow-y: auto;
}

/* Security Section */
.security-section {
  margin: 120px 0;
}

.security-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.layer {
  text-align: center;
  padding: 40px 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.layer:hover {
  transform: translateY(-15px);
  border-color: var(--accent-primary);
}

.layer-visual {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.layer-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-primary);
  border-radius: 50%;
  animation: ringRotate 10s linear infinite;
}

.layer-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

.layer-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.layer-content h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.layer-content ul {
  list-style: none;
  text-align: left;
}

.layer-content li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.layer-content li i {
  color: var(--accent-success);
}

.security-audit {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 40px;
}

.audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.audit-header h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
}

.btn-audit {
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-audit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.audit-results {
  min-height: 200px;
}

/* Compliance Timeline */
.compliance-timeline {
  margin: 80px 0;
}

.compliance-timeline h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 3px;
  height: 100%;
  background: var(--accent-primary);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  padding: 8px 12px;
  background: var(--accent-primary);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}

.timeline-content {
  padding: 25px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.timeline-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.timeline-content p {
  color: var(--text-secondary);
}

.timeline-item.active .timeline-date {
  background: var(--gradient-primary);
  animation: datePulse 2s infinite;
}

@keyframes datePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* CTA Section */
.privacy-cta {
  margin: 120px 0;
  padding: 80px;
  background: var(--gradient-dark);
  border-radius: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, var(--accent-primary) 0%, transparent 70%);
  opacity: 0.1;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-cta {
  padding: 18px 36px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.1rem;
}

.btn-outline-cta {
  padding: 18px 36px;
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.btn-outline-cta:hover {
  background: var(--accent-primary);
  color: white;
}

/* Quantum Footer */
.quantum-footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 80px 30px 40px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.newsletter {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.newsletter input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-subscribe {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  transform: rotate(15deg);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  gap: 15px;
}

.footer-badges .badge {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Animations */
@keyframes barFill {
  from { width: 0; }
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes levelShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-visualization {
    flex: 0 0 400px;
  }
  
  .data-sphere {
    width: 400px;
    height: 400px;
  }
  
  .layer-1 { width: 320px; height: 320px; }
  .layer-2 { width: 240px; height: 240px; }
  .layer-3 { width: 160px; height: 160px; }
  
  .rights-grid,
  .controls-grid {
    grid-template-columns: 1fr;
  }
  
  .security-layers {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .quantum-hero {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visualization {
    flex: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .floating-badges {
    display: none;
  }
  
  .live-dashboard {
    display: none;
  }
  
  .quantum-nav {
    bottom: 20px;
    padding: 10px;
  }
  
  .nav-item {
    width: 60px;
    height: 60px;
  }
  
  .nav-item span {
    display: none;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-visualization {
    width: 100%;
  }
  
  .data-sphere {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .layer-1 { width: 240px; height: 240px; }
  .layer-2 { width: 180px; height: 180px; }
  .layer-3 { width: 120px; height: 120px; }
  
  .encryption-core {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .map-container {
    height: 400px;
  }
  
  .node {
    width: 160px;
    padding: 20px;
  }
  
  .node-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .security-layers {
    grid-template-columns: 1fr;
  }
  
  .privacy-cta {
    padding: 40px 20px;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quantum-container {
    padding: 20px 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .right-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .right-visual {
    flex: none;
  }
}

/* Print Styles */
@media print {
  .quantum-nav,
  .floating-badges,
  .live-dashboard,
  .hero-actions,
  .controls-actions,
  .right-action,
  .btn-audit,
  .cta-actions,
  .social-links,
  .newsletter,
  .footer-bottom {
    display: none !important;
  }
  
  .privacy-excellence-page {
    background: white !important;
    color: black !important;
  }
  
  .quantum-hero {
    min-height: auto;
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-visualization {
    display: none;
  }
}

/* ===== ADDITIONAL STYLES FOR FUNCTIONALITIES ===== */

/* Dashboard Minimized State */
.live-dashboard.minimized {
    height: 60px;
    overflow: hidden;
}

.live-dashboard.minimized .dashboard-body {
    display: none;
}

/* Connection Animations */
.connection {
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    background-size: 200% 100%;
    opacity: 0.3;
}

/* Audit Items Styles */
.audit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.audit-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.audit-item:last-child {
    margin-bottom: 0;
}

.audit-item.success {
    border-left: 4px solid var(--accent-success);
}

.audit-item.warning {
    border-left: 4px solid var(--accent-warning);
}

.audit-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-item.success i {
    color: var(--accent-success);
}

.audit-item.warning i {
    color: var(--accent-warning);
}

.audit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.audit-title {
    font-weight: 600;
    color: var(--text-primary);
}

.audit-status {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.audit-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    white-space: nowrap;
}

/* Form Styles */
.rights-request-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rights-request-form.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Animation for entrance */
@keyframes animateIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: animateIn 0.6s ease-out forwards;
}

/* Backdrop for modal */
.rights-request-form::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: -1;
}

/* Form Overlay */
.form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1999;
}

.form-overlay.active {
    display: block;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* Button States */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none !important;
}

/* Mobile Optimization for Controls */
@media (max-width: 768px) {
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .security-layers {
        grid-template-columns: 1fr;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .map-btn {
        width: 100%;
        justify-content: center;
    }
    
    .rights-request-form {
        width: 95%;
        height: 90vh;
    }
}

/* Tablet Optimizations */
@media (max-width: 1024px) {
    .node {
        width: 160px;
        padding: 15px;
    }
    
    .node-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Print Optimizations */
@media print {
    .btn,
    .nav-item,
    .toggle-switch,
    .slider,
    .map-btn,
    .right-action,
    .btn-audit {
        display: none !important;
    }
    
    .control-card,
    .right-card,
    .layer {
        break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .badge,
    .control-card,
    .right-card,
    .layer {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .data-sphere,
    .layer-ring,
    .hero-badge,
    .floating-badges {
        animation: none !important;
    }
}