:root {
  --primary: #05050A;
  --primary-light: #121223;
  --secondary: #00E5FF;
  --secondary-light: #80F2FF;
  --accent: #8A2BE2;
  --accent-light: #B475F2;
  --background: #030305;
  --surface: rgba(18, 18, 35, 0.75);
  --surface-light: rgba(30, 30, 50, 0.55);
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0C0;
  --text-muted: #707080;
  --success: #00E676;
  --warning: #FFC400;
  --danger: #FF1744;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: "Orbitron", sans-serif;
  --font-body: "Exo 2", sans-serif;
}

html {
  zoom: 90%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(10, 17, 40, 0.5) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 0, 200, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(0, 245, 255, 0.15) 0%,
      transparent 50%
    );
  background-attachment: fixed;
}

/* Typography */
.hero-title {
  font-family: var(--font-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.display-5 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: 1.5px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
  transition: var(--transition);
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-brand i {
  color: var(--secondary);
  transition: var(--transition);
}

.navbar-brand:hover i {
  color: var(--accent);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.625rem 1rem !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after {
  width: 70%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    margin-top: 0.75rem;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-link {
    padding: 0.625rem 0.75rem !important;
    margin: 0.125rem 0;
    font-size: 0.9rem;
  }

  .nav-link::after {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    rgba(19, 26, 97, 0.9) 100%
  );
  color: var(--text-primary);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 0, 200, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 245, 255, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  background: linear-gradient(90deg, var(--text-primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary-light));
  color: white;
  border: none;
  box-shadow:
    0 4px 16px rgba(0, 245, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  transform: translateY(-2px);
  box-shadow:
    0 4px 15px rgba(0, 245, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: rgba(22, 22, 50, 0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
  color: var(--text-primary);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--shadow-lg),
    0 0 20px rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.2);
}

.feature-card {
  padding: 2rem 1.5rem;
  height: 100%;
  border: none;
  text-align: center;
  background: rgba(22, 22, 50, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateY(180deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-family: var(--font-body);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-light {
  background: rgba(22, 22, 50, 0.5);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-family: var(--font-body);
}

/* Upload Area */
.upload-area {
  border: 3px dashed rgba(255, 255, 255, 0.2);
  background: rgba(22, 22, 50, 0.6);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(10px);
  color: var(--text-primary);
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--secondary);
  background: rgba(0, 245, 255, 0.1);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  opacity: 0.8;
  transition: var(--transition);
}

.upload-area:hover .upload-icon {
  color: var(--accent);
  transform: scale(1.1);
}

.upload-area h4 {
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
}

.upload-area p {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* System Status */
.system-status {
  padding: 1.25rem;
  background: rgba(10, 17, 40, 0.8);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
}

.system-status h6 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.system-status .text-muted {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Form Elements */
.form-control {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background: rgba(22, 22, 50, 0.8);
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.15);
  outline: none;
  transform: translateY(-2px);
  background: rgba(22, 22, 50, 0.9);
}

.form-label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  font-size: 1rem;
  font-family: var(--font-body);
}

.form-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.form-check-label {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-check-label small {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Contact Form Styles */
.contact-form .form-control {
  background: rgba(22, 22, 50, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.15);
  background: rgba(22, 22, 50, 0.9);
}

.contact-form .form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Form Validation Styles */
.form-control:valid {
  border-color: var(--success);
}

.form-control:invalid {
  border-color: var(--danger);
}

/* Results */
.result-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: none;
  background: rgba(22, 22, 50, 0.8);
  backdrop-filter: blur(10px);
}

.result-icon {
  font-size: 3.5rem;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}

.result-genuine .result-icon {
  color: var(--success);
  animation: bounceIn 0.8s ease-out;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.result-deepfake .result-icon {
  color: var(--danger);
  animation: pulse 2s infinite;
  filter: drop-shadow(0 0 10px rgba(255, 42, 109, 0.5));
}

.result-uncertain .result-icon {
  color: var(--warning);
  animation: pulse 2s infinite;
  filter: drop-shadow(0 0 10px rgba(255, 170, 0, 0.5));
}

.result-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
  font-family: var(--font-primary);
}

.confidence-badge {
  font-size: 0.95rem;
  padding: 0.625rem 1.25rem;
  border-radius: 25px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  color: white;
  font-family: var(--font-body);
}

/* Progress Bars */
.progress {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-bar {
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary),
    transparent
  );
}

.footer h5 {
  color: white;
  margin-bottom: 0.875rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.footer a:hover {
  color: var(--secondary);
  transform: translateX(3px);
}

.footer p {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(18, 18, 35, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}
.glass-panel:hover {
    background: rgba(18, 18, 35, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 229, 255, 0.15);
}
.footer-logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
  transition: var(--transition);
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 {
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-body);
}

/* Loading Animation */
.custom-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

form.loading {
  pointer-events: none;
  opacity: 0.8;
}

form.loading .upload-radar-zone {
  border-color: var(--secondary) !important;
  background: rgba(0, 229, 255, 0.05) !important;
  box-shadow: inset 0 0 50px rgba(0, 229, 255, 0.2);
  transition: all 0.3s ease;
}

form.loading .fa-satellite-dish {
  animation: pulse 1.5s infinite;
  text-shadow: 0 0 30px var(--secondary);
}

.text-muted {
  color: var(--text-secondary) !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out both;
}

/* Status Badges */
.status-ready {
  background: linear-gradient(135deg, var(--success), #00c853);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.status-offline {
  background: linear-gradient(135deg, var(--danger), #d50000);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.status-error {
  background: linear-gradient(135deg, var(--warning), #ff6f00);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Alerts */
.alert {
  border-radius: var(--border-radius);
  border: none;
  border-left: 4px solid;
  padding: 1rem 1.25rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.alert-info {
  background: rgba(0, 245, 255, 0.1);
  border-left-color: var(--secondary);
  color: var(--text-primary);
}

.alert-danger {
  background: rgba(255, 42, 109, 0.1);
  border-left-color: var(--danger);
  color: var(--text-primary);
}

.alert-success {
  background: rgba(0, 255, 136, 0.1);
  border-left-color: var(--success);
  color: var(--text-primary);
}

.alert-warning {
  background: rgba(255, 170, 0, 0.1);
  border-left-color: var(--warning);
  color: var(--text-primary);
}

/* Process Steps */
.process-step {
  position: relative;
  z-index: 1;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: -1;
}

.process-step:last-child::before {
  display: none;
}

.process-icon .feature-icon {
  width: 50px;
  height: 50px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.process-step h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Confidence Circle */
.confidence-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    var(--secondary) 0% calc(var(--confidence) * 100%),
    rgba(255, 255, 255, 0.1) calc(var(--confidence) * 100%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.confidence-circle::before {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  background: var(--surface);
  border-radius: 50%;
}

.confidence-value {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.shadow-custom {
  box-shadow:
    var(--shadow-lg),
    0 0 20px rgba(0, 245, 255, 0.1) !important;
}

/* Info Cards in Upload Page */
.card h6 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
}

.card .text-muted {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-section {
    padding: 5rem 0 3.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .process-step::before {
    display: none;
  }

  .confidence-circle {
    width: 80px;
    height: 80px;
  }

  .confidence-circle::before {
    width: 60px;
    height: 60px;
  }

  .confidence-value {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .container-narrow {
    padding: 0 1rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.display-5 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lead {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

/* Badge Styles */
.badge {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

/* List Styles */
.list-unstyled li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.list-unstyled a {
  color: var(gray);
  transition: var(--transition);
}

.list-unstyled a:hover {
  color: var(--secondary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse-ring {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
}

.pulse-ring::before,
.pulse-ring::after {
  content: "";
  position: absolute;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  animation: pulse-ring 3s linear infinite;
}

.pulse-ring::before {
  width: 180px;
  height: 180px;
  animation-delay: 0s;
}

.pulse-ring::after {
  width: 180px;
  height: 180px;
  animation-delay: 1.5s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 247, 255, 0.089);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--secondary);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-badge i {
  margin-right: 0.5rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-border {
  animation: spin 0.75s linear infinite;
}

/* Model status text colors */
.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-warning {
  color: var(--warning) !important;
}

/* Text is ALWAYS white inside inputs & textarea */
.form-control,
.form-control:focus,
.form-control:active {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  caret-color: var(--text-primary);
}

.feature-counter {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-primary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Risk Indicator */
.risk-indicator {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
    border-radius: 5px;
    margin-top: 13px;
    position: relative;
}

.risk-marker {
    position: absolute;
    top: -5px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.probability-bar {
    transition: width 1s ease-in-out;
}

.probability-bar-genuine {
    background: linear-gradient(90deg, var(--success), #00cc66);
}

.probability-bar-deepfake {
    background: linear-gradient(90deg, var(--danger), #ff3366);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        background: white !important;
    }
    
    .progress-bar {
        background: #007bff !important;
        -webkit-print-color-adjust: exact;
    }
    
    .text-gradient, .hero-title, .footer {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    /* Report header */
    .report-header {
        border-bottom: 2px solid #000;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    /* Force visibility */
    .d-print-block {
        display: block !important;
    }
    
    /* Hide animations in print */
    .probability-bar, .confidence-circle, .risk-marker {
        animation: none !important;
        transition: none !important;
    }
    
    /* Page breaks */
    .report-section {
        page-break-inside: avoid;
    }
}

.confidence-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        var(--secondary) 0% calc(var(--confidence) * 100%),
        rgba(255, 255, 255, 0.1) calc(var(--confidence) * 100%) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.confidence-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--surface);
    border-radius: 50%;
}

.confidence-value {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

/* Technical details section */
.technical-details {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
    padding-top: 20px;
}

/* Recommendation styling */
.recommendation-alert {
    border-left: 4px solid;
}

.recommendation-alert.warning {
    border-left-color: var(--warning);
    background: rgba(255, 170, 0, 0.1);
}

.recommendation-alert.info {
    border-left-color: var(--secondary);
    background: rgba(0, 245, 255, 0.1);
}

.recommendation-alert.secondary {
    border-left-color: var(--text-muted);
    background: rgba(160, 160, 204, 0.1);
}

/* Report specific */
.report-header, .report-footer {
    display: none;
}

@media print {
    .report-header, .report-footer {
        display: block !important;
    }
}

/* Quality score styling */
.quality-score {
    position: relative;
}

.quality-score .progress {
    height: 10px;
}

/* Collapsible section */
.collapsible-section .btn-link {
    color: var(--text-primary);
    text-decoration: none;
}

.collapsible-section .btn-link:hover {
    color: var(--secondary);
}

.collapsible-section .btn-link[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}






/* Tame annoying hover animations globally */
.card:hover, .glass-panel:hover, .feature-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}


/* Tame bright yellow warning colors */
:root {
  --bs-warning: #d6a422;
  --bs-warning-rgb: 214, 164, 34;
  --warning: #d6a422;
}
.text-warning { color: var(--bs-warning) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.border-warning { border-color: var(--bs-warning) !important; }


/* Ultimate fix for overly bright components */
:root {
  --bs-warning: #bd911a !important;
  --warning: #bd911a !important;
}
.text-warning {
  color: var(--bs-warning) !important;
  text-shadow: none !important;
}
.bg-warning {
  background-color: var(--bs-warning) !important;
}
.border-warning {
  border-color: var(--bs-warning) !important;
  box-shadow: none !important;
}


/* Custom Presentation Styles extending the base style.css */

/* Add specific fixes for presentation layout */
html {
    scroll-padding-top: 80px; /* Offset for fixed navbar when scrolling */
}

body {
    scroll-behavior: smooth;
    /* padding-top removed to prevent the gap above the navbar */
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
}

/* Enhancing the glass panels for the presentation */
.glass-panel {
    background: rgba(15, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.glass-panel:hover {
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    animation: none !important; /* Override base CSS animations to prevent conflicts */
}

.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hover-accent:hover {
    color: var(--secondary) !important;
    opacity: 1 !important;
}

.transition-all {
    transition: var(--transition);
}

/* SVG Styling */
img[src$=".svg"] {
    /* Ensuring SVGs look good on dark mode */
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: var(--border-radius);
}

/* Video Player adjustments */
video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Text Readability Improvements for Dark Theme */
.text-secondary {
    color: rgba(255, 255, 255, 0.8) !important; /* Calm, clear off-white */
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

p.lead {
    font-weight: 400;
    letter-spacing: 0.3px;
}

