/* Dark Mode CSS Variables */
:root {
  /* Maroon and Black Color Scheme */
  --maroon-primary: #800020;
  --maroon-secondary: #5c0018;
  --maroon-tertiary: #3a000f;
  --black-primary: #121212;
  --black-secondary: #1e1e1e;
  --black-tertiary: #2a2a2a;
  --accent-primary: #ff914d;
  --accent-secondary: #f5c542;
  --text-primary: #f0f0f0;
  --text-secondary: #cccccc;
  --text-tertiary: #999999;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-bg: var(--black-secondary);
  --header-bg: rgba(30, 30, 30, 0.95);
  --gradient-primary: linear-gradient(135deg,
      var(--maroon-primary) 0%,
      var(--black-primary) 100%);
  --gradient-secondary: linear-gradient(135deg,
      var(--accent-secondary) 0%,
      var(--accent-primary) 100%);
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --gradient: var(--gradient-secondary);
  --card-bg: rgba(20, 20, 30, 0.95);
  --border-color: rgba(255, 255, 255, 0.1);
  --accent-primary: #f5c542;
  --accent-secondary: #ff914d;
  --shadow-color: rgba(245, 197, 66, 0.3);
  --gradient: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
}

:root {
  --maroon-primary: #800020;
  --black-primary: #121212;
  --black-secondary: #1e1e1e;
  --black-tertiary: #2a2a2a;
  --accent-primary: #ff914d;
  --accent-secondary: #f5c542;
  --text-primary: #f0f0f0;
  --text-secondary: #cccccc;
  --text-tertiary: #999999;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-bg: var(--black-secondary);
  --gradient-primary: linear-gradient(135deg,
      var(--maroon-primary) 0%,
      var(--black-primary) 100%);
  --gradient-secondary: linear-gradient(135deg,
      var(--accent-secondary) 0%,
      var(--accent-primary) 100%);
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
}

[data-theme="light"] {
  /* Light Mode Colors */
  --maroon-primary: #a00028;
  --maroon-secondary: #c50032;
  --maroon-tertiary: #e6003c;
  --black-primary: #f5f5f5;
  --black-secondary: #e0e0e0;
  --black-tertiary: #cccccc;
  --accent-primary: #ff6b35;
  --accent-secondary: #ffa040;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-tertiary: #777777;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --gradient-primary: linear-gradient(135deg,
      var(--maroon-primary) 0%,
      var(--black-primary) 100%);
  --gradient-secondary: linear-gradient(135deg,
      var(--accent-secondary) 0%,
      var(--accent-primary) 100%);
}

/* Smooth transitions for theme switching */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #400a0a 0%, #1a1538 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Page transition effect */
body {
  animation: fadeInPage 0.5s ease-in-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow-color);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--accent-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1002;
}

.theme-toggle::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;
}

.theme-toggle:hover::before {
  left: 100%;
}

.theme-toggle:hover {
  background: var(--accent-secondary);
  color: var(--text-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover i {
  transform: rotate(15deg);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  padding: 8px 12px;
  border-radius: 5px;
}

nav ul li a:hover {
  color: var(--accent-secondary);
  background: rgba(255, 145, 77, 0.1);
}

/* Form Container */
.form-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-container h2 {
  margin-bottom: 20px;
  color: #333;
}

/* Input Fields */
.form-container input,
.form-container select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* Primary Button */
.primary-btn {
  width: 100%;
  padding: 10px;
  background: #ff9800;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.primary-btn:hover {
  background: #e68900;
}

/* Google Button */
.google-btn {
  width: 100%;
  padding: 10px;
  background: white;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

.google-btn:hover {
  background: #f1f1f1;
}

/* Divider */
.divider {
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 40%;
  background: #ccc;
  top: 50%;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.signup-btn {
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.signup-btn:hover {
  background: #0056b3;
}

.try-btn {
  background: var(--gradient-secondary);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s;
  font-weight: 600;
  border: none;
}

.try-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

#userEmail {
  font-size: 14px;
  color: var(--text-secondary);
}

.logout-link {
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--accent-tertiary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 120px;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(128, 0, 32, 0.1) 0%, rgba(18, 18, 18, 0.8) 70%);
  z-index: -1;
}

.main-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(245, 197, 66, 0.3);
  transition: transform 0.3s ease;
  color:#e9e1e1
}

.ai-highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

/* Updated Ask Button */
.ask-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border-radius: 70px;
  padding: 18px 30px;
  margin-bottom: 40px;
  width: 90%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.ask-button:hover {
  background: var(--accent-tertiary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
  border-color: var(--accent-primary);
}

.ask-button .arrow {
  font-size: 20px;
  background: var(--gradient-secondary);
  color: var(--text-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.ask-button:hover .arrow {
  transform: rotate(90deg);
  background: var(--accent-primary);
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Primary Button (MannSakha+) */
.primary-btn {
  background: linear-gradient(135deg, #b22222, #e63946);
  /* maroon → lighter red */
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
  background: var(--gradient-secondary);
  color: var(--text-primary);
  border: none;
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

/* Secondary Button (Explore Features) */
.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid #fff;
  color: #fff;
  backdrop-filter: blur(5px);
  /* thoda premium glassy look */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--accent-primary);
  color: var(--text-primary);
  background: transparent;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #e63946;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.teaser-card {
  background: #111;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 350px;
  width: 90%;
  position: relative;
  color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .teaser-card {
    width: 95%;
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .teaser-card h2 {
    font-size: 1.1rem;
  }

  .teaser-card p {
    font-size: 0.85rem;
  }

  .teaser-card button {
    width: 100%;
    padding: 0.8rem;
  }
}

.scroll-indicator {
  margin-top: 2rem;
  display: inline-block;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  font-size: 24px;
  color: var(--accent-secondary);
  cursor: pointer;
}

/* Modal Overlay */
.teaser-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Bold Card Design */
.teaser-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  width: 320px;
  max-width: 90%;
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(25px);
  opacity: 0;
  transition: all 0.35s ease;
}

/* Show State */
.teaser-modal.show .teaser-card {
  transform: translateY(0);
  opacity: 1;
}

/* Icon */
/* Using site’s vibe: simple lock icon with pop-of-color */
.teaser-card .icon {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--accent-secondary);
}

/* Headline */
.teaser-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Subtext */
.teaser-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Gradient Button */
.teaser-card button {
  background: var(--gradient-secondary);
  color: var(--text-primary);
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Close icon adjustments */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--accent-primary);
}

/* Dark mode tweak */
body.dark-mode .teaser-card {
  background: var(--black-tertiary);
  color: var(--text-primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-15px) translateX(-50%);
  }

  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Main Content */
.main-content {
  padding: 80px 40px;
  background: var(--black-primary);
  position: relative;
}

/* Sections */
.section {
  margin: 60px 0;
  padding: 40px;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.section:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--accent-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.section-header h2 i {
  font-size: 2rem;
  color: var(--accent-primary);
}

.section-underline {
  height: 4px;
  width: 100px;
  background: var(--gradient);
  margin: 0 auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.section:hover .section-underline {
  width: 150px;
  background: var(--gradient-secondary);
}

/* Chatbot Section - Centered Header */
#chatbot.section {
  margin: 60px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#chatbot .section-header {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#chatbot .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f5c542;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: center;
}

#chatbot .section-header h2 i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#chatbot .section-underline {
  height: 3px;
  width: 80px;
  background: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

#chatbot.section:hover .section-underline {
  width: 120px;
}

/* Chat Container */
.chat-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.chat-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: #f5c542;
}

/* Chat Area */
.chat-area {
  height: 400px;
  overflow-y: auto;
  padding: 25px;
  background: rgba(25, 25, 35, 0.9);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Custom Scrollbar */
.chat-area::-webkit-scrollbar {
  width: 6px;
}

.chat-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.chat-area::-webkit-scrollbar-thumb {
  background: #f5c542;
  border-radius: 10px;
}

.chat-area::-webkit-scrollbar-thumb:hover {
  background: #ff914d;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 75%;
  padding: 16px 20px;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  animation: fadeIn 0.4s ease;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-message {
  background: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  color: #ffffff;
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.2);
}

.ai-message {
  background: rgba(30, 30, 40, 0.8);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ai-message .chat-avatar {
  background: linear-gradient(135deg, #3a3a52 0%, #2a2a3a 100%);
}

.chat-text {
  flex: 1;
}

.chat-sender {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #f5c542;
}

.user-message .chat-sender {
  color: rgba(255, 255, 255, 0.9);
}

.chat-content {
  line-height: 1.6;
  font-size: 1rem;
}

.chat-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  text-align: right;
}

/* Input Bar */
.input-bar {
  display: flex;
  background: rgba(25, 25, 35, 0.9);
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.input-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(30, 30, 40, 0.8);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.input-bar input:focus {
  border-color: #f5c542;
  box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.1);
}

.input-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.send-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f5c542 0%, #ff914d 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  margin-left: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(245, 197, 66, 0.3);
}

.send-btn:active {
  transform: translateY(0);
}

/* Responsive Design for Chatbot */
@media (max-width: 768px) {
  #chatbot .section-header h2 {
    font-size: 2rem;
  }

  .chat-bubble {
    max-width: 85%;
  }

  .chat-area {
    height: 350px;
    padding: 20px;
  }

  .chat-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .chat-bubble {
    max-width: 90%;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }

  .chat-avatar {
    align-self: flex-start;
  }

  .input-bar {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
  }

  .input-bar input {
    width: 100%;
  }

  .send-btn {
    width: 100%;
    margin-left: 0;
    height: 46px;
  }

  #chatbot .section-header h2 {
    font-size: 1.8rem;
  }

  #chatbot .section-header h2 i {
    font-size: 1.8rem;
  }
}


/* Professional Neo-Section Design */
.neo-section {
  position: relative;
  border-radius: 16px;
  background: var(--card-bg);
  padding: 40px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Subtle border highlight on hover */
.neo-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-primary);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.neo-section:hover .section-header::after {
  width: 80px;
}

.section-icon {
  font-size: 2.2rem;
  margin-right: 18px;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.neo-section:hover .section-icon {
  transform: scale(1.05);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  position: relative;
}

/* Content Styling */
.section-content {
  position: relative;
  z-index: 2;
}

.section-content p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-content strong {
  color: var(--accent-secondary);
  font-weight: 600;
}

.highlight {
  text-align: center;
  margin-top: 30px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-primary);
  position: relative;
  padding: 15px 0;
}

.highlight::before,
.highlight::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background: var(--gradient);
  width: 70px;
  transition: width 0.3s ease;
}

.highlight::before {
  top: 0;
}

.highlight::after {
  bottom: 0;
}

.neo-section:hover .highlight::before,
.neo-section:hover .highlight::after {
  width: 100px;
}

/* Subtle Decorative Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  transition: all 0.5s ease;
}

.element-1 {
  width: 180px;
  height: 180px;
  top: -40px;
  left: -40px;
  background: var(--accent-secondary);
}

.element-2 {
  width: 140px;
  height: 140px;
  bottom: -30px;
  right: -30px;
  background: var(--accent-primary);
}

.neo-section:hover .element-1 {
  opacity: 0.12;
  transform: translate(10px, 10px);
}

.neo-section:hover .element-2 {
  opacity: 0.12;
  transform: translate(-10px, -10px);
}

/* Specific section adjustments */
#careers .section-content ul {
  padding-left: 22px;
  margin-bottom: 25px;
}

#careers .section-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  position: relative;
}

#careers .section-content li::before {
  content: '•';
  position: absolute;
  left: -15px;
  color: var(--accent-primary);
  font-weight: bold;
}

#blog .blog-preview {
  margin-top: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

#blog .blog-preview:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-left: 2px solid var(--accent-primary);
}

.blog-preview h3 {
  color: var(--accent-primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .sections-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .neo-section {
    padding: 25px 20px;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 25px;
  }

  .section-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-content p {
    font-size: 1.05rem;
  }

  .highlight {
    font-size: 1.1rem;
  }

  .section-header::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .floating-element {
    display: none;
  }
}

/* Feature Sections */
.feature-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.feature-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card-header i {
  font-size: 1.8rem;
  color: var(--accent-secondary);
  background: rgba(245, 197, 66, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 0;
}

/* Mood Tracking */
.mood-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mood-option {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-option:hover {
  transform: scale(1.05);
}

.mood-option span {
  font-size: 2rem;
  display: block;
  margin-bottom: 5px;
}

.mood-option p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.mood-option.selected {
  background: rgba(255, 145, 77, 0.1);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.mood-intensity {
  margin-bottom: 20px;
}

.mood-intensity label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.mood-intensity input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 5px;
  outline: none;
}

.mood-intensity input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px var(--shadow-color);
}

/* Journaling */
.journal-prompt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.journal-prompt p {
  font-style: italic;
  color: var(--accent-secondary);
  margin: 0;
  flex: 1;
}

.prompt-btn {
  background: none;
  border: none;
  color: var(--accent-primary);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.prompt-btn:hover {
  background: rgba(255, 145, 77, 0.1);
}

textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  background: var(--black-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
  resize: none;
  margin-bottom: 10px;
  transition: border 0.2s ease;
}

textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.word-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* Mood Trend Graph */
.trend-graph {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  margin-top: 30px;
}

.graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.graph-header h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 0;
}

.graph-header select {
  background: var(--black-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.graph-placeholder {
  height: 300px;
  width: 100%;
  position: relative;
}

/* Insights */
.insight-card {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.insight-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
  background: rgba(255, 145, 77, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.insight-text h3 {
  font-size: 1.2rem;
  color: var(--accent-secondary);
  margin-bottom: 10px;
}

.insight-text p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

.insight-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Meditation */
.meditation-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.meditation-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.meditation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.meditation-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.meditation-icon.stress {
  background: linear-gradient(135deg, var(--maroon-primary), #ff7eb3);
}

.meditation-icon.focus {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.meditation-icon.sleep {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.meditation-info {
  padding: 20px;
  flex: 1;
}

.meditation-info h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.meditation-info p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.meditation-meta {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meditation-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.play-btn {
  padding: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-primary);
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.meditation-card:hover .play-btn {
  background: var(--accent-primary);
  color: white;
}

/* Gamification */
.gamification-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.stats-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  padding: 0 15px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

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

.progress-container {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.progress-header h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0;
}

.progress-header span {
  color: var(--accent-secondary);
  font-weight: bold;
}

.progress-bar {
  height: 10px;
  background: var(--border-color);
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.badges-container {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  grid-column: 1 / -1;
}

.badges-container h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.badge {
  background: var(--black-tertiary);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.badge.earned {
  opacity: 1;
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.3);
}

.badge-icon {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  background: rgba(245, 197, 66, 0.2);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Buttons */
.primary-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.tertiary-btn {
  background: none;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tertiary-btn:hover {
  background: rgba(255, 145, 77, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--black-primary);
  color: var(--text-primary);
  padding: 60px 0 30px;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%,
      rgba(128, 0, 32, 0.1) 0%,
      transparent 70%);
  z-index: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient-secondary);
  border-radius: 50%;
}

.footer-tagline {
  font-size: 16px;
  opacity: 0.8;
  max-width: 300px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: var(--text-primary);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--accent-secondary);
  background: rgba(255, 145, 77, 0.2);
  transform: translateY(-3px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-input {
  padding: 12px 15px;
  border-radius: 5px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px var(--accent-primary);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--gradient-secondary);
  color: var(--text-primary);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

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

.footer-copyright {
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  border-left: 4px solid var(--success-color);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-icon {
  font-size: 20px;
  color: var(--success-color);
}

.toast-message {
  font-size: 14px;
  font-weight: 500;
}

.toast.error {
  border-left-color: var(--error-color);
}

.toast.error .toast-icon {
  color: var(--error-color);
}

.toast.warning {
  border-left-color: var(--warning-color);
}

.toast.warning .toast-icon {
  color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  header {
    padding: 15px 30px;
  }

  .hero {
    padding-top: 100px;
  }

  .main-content {
    padding: 60px 30px;
  }

  .section {
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .logo {
    order: 1;
  }

  .mobile-menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .theme-toggle {
    order: 3;
  }

  nav {
    order: 4;
    width: 100%;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 12px 20px;
  }

  .hero {
    padding-top: 120px;
    height: auto;
    min-height: 100vh;
  }

  .ask-button {
    padding: 15px 20px;
    font-size: 16px;
  }

  .ask-button .arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .main-content {
    padding: 40px 20px;
  }

  .section {
    padding: 25px;
    margin: 40px 0;
  }

  .feature-content {
    grid-template-columns: 1fr;
  }

  .meditation-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column {
    align-items: center;
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 15px;
  }

  .hero {
    padding-top: 100px;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .ask-button {
    padding: 12px 15px;
    font-size: 14px;
  }

  .ask-button .arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .section {
    padding: 20px;
  }

  .chat-area {
    height: 400px;
    padding: 20px;
  }

  .input-bar {
    flex-direction: column;
  }

  .input-bar input {
    margin-bottom: 10px;
  }

  .send-btn {
    width: 100%;
    margin-left: 0;
  }
}

/* Accessibility Improvements */
*:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Improved scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black-tertiary);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Selection styling */
::selection {
  background: var(--accent-secondary);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--accent-secondary);
  color: var(--text-primary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Specific Styles */
[data-theme="dark"] .login-container,
[data-theme="dark"] .signup-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .input-group input {
  background: var(--black-secondary);
}

/* Focus accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0d0d0d;
}