/* BRIGHT center spotlight - FIXED position */
html.new-ui body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200vw;
  height: 200vh;
  background: radial-gradient(
    circle closest-side,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(147, 197, 253, 0.25) 10%,
    rgba(147, 197, 253, 0.15) 25%,
    rgba(147, 197, 253, 0.08) 40%,
    rgba(59, 130, 246, 0.04) 60%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

/* Remove pink header - make simple */
html.new-ui header {
  text-align: center;
  margin-bottom: 60px;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 30px 0 !important;
}

/* Gradient text logo */
html.new-ui h1 {
  font-size: 3rem !important;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f8fafc !important;
}

html.new-ui .subtitle {
  font-size: 1.25rem;
  color: #94a3b8 !important;
}

/* CARDS - Solid dark like HIBP (NOT glass) */
html.new-ui .card,
html.new-ui .result-card,
html.new-ui .feature-card,
html.new-ui .score-card,
html.new-ui .input-section,
html.new-ui .features-section,
html.new-ui .bg-white,
html.new-ui .rounded-3xl,
html.new-ui .rounded-2xl,
html.new-ui [class*="bg-white"] {
  background: #151b2e !important;
  backdrop-filter: none;
  border: 1px solid #1e2539 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px;
  transition: all 0.3s ease !important;
}

/* WORKING HOVER EFFECT - This is the ONLY hover rule */
html.new-ui .card:hover,
html.new-ui .result-card:hover,
html.new-ui .feature-card:hover,
html.new-ui .bg-white:hover,
html.new-ui .rounded-3xl:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(59, 130, 246, 0.7) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.4) !important;
  background: #1a2540 !important;
}

/* Text colors */
html.new-ui h1,
html.new-ui h2,
html.new-ui h3,
html.new-ui h4 {
  color: #f8fafc !important;
}

html.new-ui p,
html.new-ui li,
html.new-ui span:not(.badge),
html.new-ui label,
html.new-ui div {
  color: #cbd5e1 !important;
}

/* Buttons - Solid color */
html.new-ui button,
html.new-ui .button,
html.new-ui .btn-primary,
html.new-ui .btn {
  background: #3b82f6 !important;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

html.new-ui button:hover,
html.new-ui .button:hover {
  background: #2563eb !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

/* Inputs - Dark solid */
html.new-ui input[type="url"],
html.new-ui input[type="text"],
html.new-ui input[type="email"],
html.new-ui input,
html.new-ui textarea {
  background: #0f1419 !important;
  border: 1px solid #1e2539 !important;
  color: #f8fafc !important;
  border-radius: 6px;
  padding: 12px 16px;
}

html.new-ui input::placeholder {
  color: #64748b !important;
}

html.new-ui input:focus {
  outline: none;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Tabs - Solid dark */
html.new-ui .tab {
  background: #151b2e !important;
  color: #94a3b8 !important;
  border: 1px solid #1e2539;
  transition: all 0.2s ease;
}

html.new-ui .tab.active {
  background: #3b82f6 !important;
  color: white !important;
  border-color: #3b82f6 !important;
}

html.new-ui .tab:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
}

/* Modal - Dark solid */
html.new-ui .paywall-modal,
html.new-ui .modal {
  background: #0a0e27 !important;
  border: 1px solid #1e2539;
}

html.new-ui .paywall-header {
  background: #151b2e !important;
  border-bottom: 1px solid #1e2539;
}

/* Pricing cards */
html.new-ui .pricing-plan {
  background: #151b2e !important;
  border: 2px solid #1e2539 !important;
  transition: all 0.3s ease;
}

html.new-ui .pricing-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

html.new-ui .pricing-plan.featured {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2) !important;
}

/* Score circles */
html.new-ui .score-circle,
html.new-ui .score {
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  color: white;
  transition: all 0.3s ease;
}

html.new-ui .card:hover .score-circle,
html.new-ui .card:hover .score {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

/* Badges */
html.new-ui .badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #60a5fa !important;
  margin-bottom: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

html.new-ui .card:hover .badge {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Links */
html.new-ui a {
  color: #60a5fa;
  transition: color 0.2s ease;
}

html.new-ui a:hover {
  color: #3b82f6;
}

/* Loading states */
html.new-ui .skeleton-card {
  background: #151b2e;
  border: 1px solid #1e2539;
}

/* Make content readable */
html.new-ui .text-gray-600,
html.new-ui .text-gray-700 {
  color: #94a3b8 !important;
}

html.new-ui .text-gray-900 {
  color: #f8fafc !important;
}

/* Hover text effects */
html.new-ui .card:hover h2,
html.new-ui .card:hover h3 {
  color: #60a5fa !important;
  transition: color 0.3s ease;
}

html.new-ui .card:hover .button,
html.new-ui .card:hover button {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6) !important;
}

/* ===================================
   EXACT HIBP STYLING
   Solid dark cards like haveibeenpwned.com
   =================================== */

/* Background - Dark gradient with circular glows */
html.new-ui body {
  min-height: 100vh;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(88, 28, 135, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(67, 56, 202, 0.12) 0%,
      transparent 50%
    ),
    #0a0e27;
  background-attachment: fixed;
  color: #f8fafc;
}

/* Remove pink header - make simple */
html.new-ui header {
  text-align: center;
  margin-bottom: 60px;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 30px 0 !important;
}

/* Gradient text logo */
html.new-ui h1 {
  font-size: 3rem !important;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f8fafc !important;
}

html.new-ui .subtitle {
  font-size: 1.25rem;
  color: #94a3b8 !important;
}

/* CARDS - Solid dark like HIBP (NOT glass) */
html.new-ui .card,
html.new-ui .result-card,
html.new-ui .feature-card,
html.new-ui .score-card,
html.new-ui .input-section,
html.new-ui .features-section,
html.new-ui .bg-white,
html.new-ui .rounded-3xl,
html.new-ui .rounded-2xl,
html.new-ui [class*="bg-white"] {
  background: #151b2e !important;
  backdrop-filter: none;
  border: 1px solid #1e2539 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px;
}

html.new-ui .card:hover,
html.new-ui .result-card:hover {
  border-color: #2d3548 !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
}

/* Text colors */
html.new-ui h1,
html.new-ui h2,
html.new-ui h3,
html.new-ui h4 {
  color: #f8fafc !important;
}

html.new-ui p,
html.new-ui li,
html.new-ui span:not(.badge),
html.new-ui label,
html.new-ui div {
  color: #cbd5e1 !important;
}

/* Buttons - Solid color */
html.new-ui button,
html.new-ui .button,
html.new-ui .btn-primary,
html.new-ui .btn {
  background: #3b82f6 !important;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

html.new-ui button:hover,
html.new-ui .button:hover {
  background: #2563eb !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

/* Inputs - Dark solid */
html.new-ui input[type="url"],
html.new-ui input[type="text"],
html.new-ui input[type="email"],
html.new-ui input,
html.new-ui textarea {
  background: #0f1419 !important;
  border: 1px solid #1e2539 !important;
  color: #f8fafc !important;
  border-radius: 6px;
  padding: 12px 16px;
}

html.new-ui input::placeholder {
  color: #64748b !important;
}

html.new-ui input:focus {
  outline: none;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Tabs - Solid dark */
html.new-ui .tab {
  background: #151b2e !important;
  color: #94a3b8 !important;
  border: 1px solid #1e2539;
}

html.new-ui .tab.active {
  background: #3b82f6 !important;
  color: white !important;
  border-color: #3b82f6 !important;
}

/* Modal - Dark solid */
html.new-ui .paywall-modal,
html.new-ui .modal {
  background: #0a0e27 !important;
  border: 1px solid #1e2539;
}

html.new-ui .paywall-header {
  background: #151b2e !important;
  border-bottom: 1px solid #1e2539;
}

/* Pricing cards */
html.new-ui .pricing-plan {
  background: #151b2e !important;
  border: 2px solid #1e2539 !important;
}

html.new-ui .pricing-plan.featured {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2) !important;
}

/* Score circles */
html.new-ui .score-circle,
html.new-ui .score {
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  color: white;
}

/* Badges */
html.new-ui .badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #60a5fa !important;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Links */
html.new-ui a {
  color: #60a5fa;
}

html.new-ui a:hover {
  color: #3b82f6;
}

/* Loading states */
html.new-ui .skeleton-card {
  background: #151b2e;
  border: 1px solid #1e2539;
}

/* Make content readable */
html.new-ui .text-gray-600,
html.new-ui .text-gray-700 {
  color: #94a3b8 !important;
}

html.new-ui .text-gray-900 {
  color: #f8fafc !important;
}

/* Footer Base Styles */
#site-footer {
  margin-top: 120px;
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 640px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

.footer-divider {
  color: #334155;
  user-select: none;
}

/* New UI Specific Styles */
html.new-ui #site-footer {
  background: transparent;
  border-top-color: #1e2539;
}

html.new-ui .footer-heading {
  color: #f8fafc;
}

html.new-ui .footer-description,
html.new-ui .footer-links a,
html.new-ui .footer-copyright,
html.new-ui .footer-bottom-links a {
  color: #94a3b8;
}

html.new-ui .footer-links a:hover,
html.new-ui .footer-bottom-links a:hover {
  color: #60a5fa;
}

html.new-ui .social-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

html.new-ui .social-icon:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

html.new-ui .footer-bottom {
  border-top-color: #1e2539;
}

/* ===================================
   ENHANCED CARD HOVER EFFECTS
   Add these to css/hibp-gradient.css
   =================================== */

/* Card Base - Enhanced transitions */
html.new-ui .card,
html.new-ui .result-card,
html.new-ui .feature-card,
html.new-ui .metric-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Hover Effect - Lift and glow */
html.new-ui .card:hover,
html.new-ui .result-card:hover,
html.new-ui .feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.2) !important;
}

/* Hover - Subtle background shift */
html.new-ui .card:hover::before {
  opacity: 1;
}

html.new-ui .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Make sure content stays above the overlay */
html.new-ui .card > * {
  position: relative;
  z-index: 1;
}

/* Hover - Icon/Badge pulse */
html.new-ui .card:hover .badge {
  transform: scale(1.1);
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

html.new-ui .badge {
  transition: all 0.3s ease;
}

/* Hover - Score circle animation */
html.new-ui .card:hover .score,
html.new-ui .card:hover .score-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

html.new-ui .score,
html.new-ui .score-circle {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover - Button slide effect */
html.new-ui .card:hover .button,
html.new-ui .card:hover button {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Hover - Text highlight */
html.new-ui .card:hover h2,
html.new-ui .card:hover h3 {
  color: #60a5fa !important;
  transition: color 0.3s ease;
}

/* Hover - Border glow animation */
@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(59, 130, 246, 0.3);
  }
  50% {
    border-color: rgba(59, 130, 246, 0.6);
  }
}

html.new-ui .card:hover {
  animation: borderGlow 2s ease-in-out infinite;
}

/* Hover - Shine effect */
html.new-ui .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

html.new-ui .card:hover::after {
  left: 100%;
}

/* Active state - Click feedback */
html.new-ui .card:active {
  transform: translateY(-4px) scale(0.98);
  transition: all 0.1s ease;
}

/* Premium card special effect */
html.new-ui .premium-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.3) !important;
  border-color: rgba(139, 92, 246, 0.5) !important;
}

html.new-ui .premium-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.08) 0%,
    transparent 100%
  );
}

/* Trial card special effect */
html.new-ui .trial-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.3) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

html.new-ui .trial-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    transparent 100%
  );
}

/* Feature list animation on hover */
html.new-ui .card:hover .feature-list li {
  animation: slideInLeft 0.3s ease forwards;
  opacity: 0;
}

html.new-ui .card:hover .feature-list li:nth-child(1) {
  animation-delay: 0.1s;
}
html.new-ui .card:hover .feature-list li:nth-child(2) {
  animation-delay: 0.2s;
}
html.new-ui .card:hover .feature-list li:nth-child(3) {
  animation-delay: 0.3s;
}
html.new-ui .card:hover .feature-list li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html.new-ui .card,
  html.new-ui .card::before,
  html.new-ui .card::after,
  html.new-ui .badge,
  html.new-ui .score {
    transition: none !important;
    animation: none !important;
  }

  html.new-ui .card:hover {
    transform: none;
  }
}

/* Footer Base Styles */
#site-footer {
  margin-top: 120px;
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 640px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

.footer-divider {
  color: #334155;
  user-select: none;
}

/* New UI Specific Styles */
html.new-ui #site-footer {
  background: transparent;
  border-top-color: #1e2539;
}

html.new-ui .footer-heading {
  color: #f8fafc;
}

html.new-ui .footer-description,
html.new-ui .footer-links a,
html.new-ui .footer-copyright,
html.new-ui .footer-bottom-links a {
  color: #94a3b8;
}

html.new-ui .footer-links a:hover,
html.new-ui .footer-bottom-links a:hover {
  color: #60a5fa;
}

html.new-ui .social-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

html.new-ui .social-icon:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

html.new-ui .footer-bottom {
  border-top-color: #1e2539;
}

/* ===================================
   OVERRIDE TAILWIND FOR DARK THEME
   =================================== */

html.new-ui .bg-white {
  background-color: #151b2e !important;
}

html.new-ui .text-gray-900,
html.new-ui .text-gray-800,
html.new-ui .text-gray-700 {
  color: #cbd5e1 !important;
}

html.new-ui .border-gray-200 {
  border-color: #1e2539 !important;
}

/* Fix any remaining white elements */
html.new-ui,
html.new-ui body {
  background-color: #0a0e27 !important;
}

html.new-ui *[style*="background: white"],
html.new-ui *[style*="background-color: white"],
html.new-ui *[style*="background:#fff"],
html.new-ui *[style*="background-color:#fff"] {
  background-color: #151b2e !important;
}

/* ===================================
   FORCE DARK THEME - OVERRIDE TAILWIND
   Add this to your css/hibp-gradient.css
   =================================== */

/* NUCLEAR OPTION: Override ALL Tailwind white backgrounds */
html.new-ui .bg-white,
html.new-ui [class*="bg-white"],
html.new-ui .bg-gray-50,
html.new-ui .bg-gray-100 {
  background-color: #151b2e !important;
  background-image: none !important;
}

/* Override Tailwind text colors */
html.new-ui .text-gray-900,
html.new-ui .text-gray-800,
html.new-ui .text-gray-700,
html.new-ui .text-gray-600,
html.new-ui .text-gray-500,
html.new-ui .text-black {
  color: #cbd5e1 !important;
}

html.new-ui .text-gray-400,
html.new-ui .text-gray-300 {
  color: #94a3b8 !important;
}

/* Override Tailwind borders */
html.new-ui .border-gray-200,
html.new-ui .border-gray-300,
html.new-ui .border-gray-100 {
  border-color: #1e2539 !important;
}

/* Force rounded cards to be dark */
html.new-ui .rounded-3xl,
html.new-ui .rounded-2xl,
html.new-ui .rounded-xl,
html.new-ui .rounded-lg {
  background-color: #151b2e !important;
  border-color: #1e2539 !important;
}

/* Override any card-like elements */
html.new-ui div[class*="card"],
html.new-ui div[class*="Card"],
html.new-ui section[class*="card"],
html.new-ui .result-card,
html.new-ui .feature-card,
html.new-ui .score-card,
html.new-ui .metric-card {
  background: #151b2e !important;
  color: #cbd5e1 !important;
  border-color: #1e2539 !important;
}

/* Headers should be light text */
html.new-ui h1,
html.new-ui h2,
html.new-ui h3,
html.new-ui h4,
html.new-ui h5,
html.new-ui h6 {
  color: #f8fafc !important;
}

/* Paragraphs and spans */
html.new-ui p,
html.new-ui span:not(.badge),
html.new-ui li,
html.new-ui label {
  color: #cbd5e1 !important;
}

/* Input fields */
html.new-ui input,
html.new-ui textarea,
html.new-ui select {
  background-color: #0f1419 !important;
  color: #f8fafc !important;
  border-color: #1e2539 !important;
}

/* Buttons keep their blue color */
html.new-ui button,
html.new-ui .btn {
  background-color: #3b82f6 !important;
  color: white !important;
}

/* Score cards and metrics */
html.new-ui [class*="score"],
html.new-ui [class*="Score"],
html.new-ui [class*="metric"],
html.new-ui [class*="Metric"] {
  background: #151b2e !important;
  color: #cbd5e1 !important;
}

/* Fix any remaining white elements */
html.new-ui * {
  /* Check for inline white backgrounds */
}

html.new-ui *[style*="background: white"],
html.new-ui *[style*="background: #fff"],
html.new-ui *[style*="background:#fff"],
html.new-ui *[style*="background-color: white"],
html.new-ui *[style*="background-color: #fff"] {
  background-color: #151b2e !important;
}

/* Fix shadow colors for dark theme */
html.new-ui .shadow-sm,
html.new-ui .shadow,
html.new-ui .shadow-md,
html.new-ui .shadow-lg {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* ===================================
   SPECIFIC SECTIONS
   =================================== */

/* Results section */
html.new-ui #results-section {
  background: transparent !important;
}

html.new-ui #results-section * {
  color: #cbd5e1 !important;
}

html.new-ui #results-section h1,
html.new-ui #results-section h2,
html.new-ui #results-section h3 {
  color: #f8fafc !important;
}

/* Input section */
html.new-ui .input-section {
  background: #151b2e !important;
  border: 1px solid #1e2539 !important;
}

/* Features section */
html.new-ui .features-section {
  background: #151b2e !important;
}

/* ===================================
   DEBUGGING: Temporary red border
   Remove after testing
   =================================== */

/* Uncomment to see which elements are being targeted */
/*
html.new-ui .bg-white {
  border: 2px solid red !important;
}
*/

/* Override Tailwind gradient CSS variables */
html.new-ui {
  --tw-gradient-from: rgba(21, 27, 46, 1) !important;
  --tw-gradient-to: rgba(21, 27, 46, 1) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

/* Force all gradient backgrounds to solid dark */
html.new-ui [class*="bg-gradient"] {
  background-image: none !important;
  background: #151b2e !important;
}

/* Nuclear option for all "from-" classes */
html.new-ui *[class*="from-green"],
html.new-ui *[class*="from-blue"],
html.new-ui *[class*="from-purple"],
html.new-ui *[class*="from-orange"],
html.new-ui *[class*="from-pink"] {
  background-image: none !important;
  background-color: #151b2e !important;
}

/* ===================================
   PREMIUM TEASER STYLES
   =================================== */

#premium-teaser-overlay {
  position: relative;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}

.premium-teaser-container {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

/* Blurred Background Preview */
.teaser-preview-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  backdrop-filter: blur(8px);
  z-index: 0;
}

/* New UI Dark Theme */
html.new-ui .teaser-preview-blur {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.98) 100%
  );
}

.fake-content {
  padding: 40px;
  opacity: 0.3;
}

.fake-line {
  height: 12px;
  background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 6px;
  margin-bottom: 12px;
  animation: shimmer 2s infinite;
}

.fake-line.short {
  width: 60%;
  margin-left: 20%;
}

.fake-line.medium {
  width: 80%;
  margin-left: 10%;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

/* Main Content */
.teaser-content {
  position: relative;
  z-index: 1;
}

.lock-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.lock-icon i {
  font-size: 36px;
  color: white;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
  }
}

.teaser-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.new-ui .teaser-title {
  color: #f8fafc;
  -webkit-text-fill-color: unset;
}

.teaser-description {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

html.new-ui .teaser-description {
  color: #cbd5e1;
}

.teaser-description strong {
  color: #8b5cf6;
  font-weight: 700;
}

/* Features List */
.teaser-features {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 500px;
  text-align: left;
}

.teaser-features li {
  padding: 12px 0;
  font-size: 1rem;
  color: #475569;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

html.new-ui .teaser-features li {
  color: #cbd5e1;
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.teaser-features li:last-child {
  border-bottom: none;
}

.teaser-features li i {
  color: #10b981;
  margin-right: 12px;
  font-size: 1.25rem;
}

/* Trial Status */
.trial-status {
  margin: 30px 0;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 30px;
  color: #3b82f6;
  font-weight: 600;
}

html.new-ui .trial-badge {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.trial-badge i {
  font-size: 1.125rem;
}

/* CTA Buttons */
.teaser-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 30px auto;
}

.btn-upgrade-primary {
  padding: 18px 36px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-upgrade-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.btn-upgrade-primary i {
  margin-right: 8px;
}

.btn-upgrade-secondary {
  padding: 14px 32px;
  background: transparent;
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

html.new-ui .btn-upgrade-secondary {
  color: #a78bfa;
  border-color: #a78bfa;
}

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

/* Footer */
.teaser-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

html.new-ui .teaser-footer {
  border-top-color: rgba(139, 92, 246, 0.2);
}

.teaser-value {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

html.new-ui .teaser-value {
  color: #94a3b8;
}

.teaser-value strong {
  color: #8b5cf6;
  font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
  .premium-teaser-container {
    padding: 30px 20px;
  }

  .teaser-title {
    font-size: 1.5rem;
  }

  .teaser-description {
    font-size: 1rem;
  }

  .btn-upgrade-primary {
    font-size: 1rem;
    padding: 16px 28px;
  }
}

/* Exception for speedtest button - keep gradient */
html.new-ui .speedtest-go-button {
  background: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #ec4899 100%
  ) !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
}

html.new-ui .speedtest-go-button:hover {
  background: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #ec4899 100%
  ) !important;
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6) !important;
}
