/* FindViral - Viewstats.com Inspired Design System */

/* Reset and Base Styles */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* Light Theme (Default - Viewstats Style) */
body {
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-weight: 400;
  transition: all 0.3s ease;
}

/* Dark Theme */
body.dark-theme {
  background: #0a0a0a;
  color: #ffffff;
}

/* Typography - Viewstats Style */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: inherit;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Viewstats-style Cards */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body.dark-theme .card {
  background: #1f2937;
  border-color: #374151;
}

/* Viewstats-style Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #dc2626;
  color: #ffffff;
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.btn-secondary.active:hover {
  background: #b91c1c;
}

body.dark-theme .btn-secondary {
  background: #374151;
  color: #d1d5db;
  border-color: #4b5563;
}

body.dark-theme .btn-secondary:hover {
  background: #4b5563;
}

body.dark-theme .btn-secondary.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

body.dark-theme .btn-secondary.active:hover {
  background: #b91c1c;
}

/* Viewstats-style Input */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #ffffff;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input::placeholder {
  color: #9ca3af;
}

body.dark-theme .input {
  background: #1f2937;
  border-color: #374151;
  color: #ffffff;
}

body.dark-theme .input::placeholder {
  color: #6b7280;
}

/* Viewstats-style Navigation */
.nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

body.dark-theme .nav {
  background: rgba(10, 10, 10, 0.8);
  border-bottom-color: #374151;
}

/* Responsive Navigation */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo Section */
.nav-logo {
  display: flex;
  align-items: center;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Pro Tools Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover .nav-link {
  color: #dc2626;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.nav-dropdown-link:last-child {
  border-bottom: none;
}

.nav-dropdown-link:hover {
  color: #dc2626;
  background: #fef2f2;
}

body.dark-theme .nav-dropdown-menu {
  background: #1f2937;
  border-color: #374151;
}

body.dark-theme .nav-dropdown-link {
  color: #d1d5db;
  border-bottom-color: #374151;
}

body.dark-theme .nav-dropdown-link:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

.dropdown-arrow {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* New Badge */
.new-badge {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

body.dark-theme .hamburger-line {
  background: #ffffff;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

body.dark-theme .mobile-menu {
  background: #1f2937;
  border-bottom-color: #374151;
}

.mobile-menu-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #dc2626;
}

body.dark-theme .mobile-nav-link {
  color: #ffffff;
  border-bottom-color: #374151;
}

body.dark-theme .mobile-nav-link:hover {
  color: #dc2626;
}

.mobile-theme-section {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

body.dark-theme .mobile-theme-section {
  border-bottom-color: #374151;
}

.mobile-user-section {
  padding: 1rem 0;
  border-top: 1px solid #f3f4f6;
  margin-top: 0.5rem;
}

body.dark-theme .mobile-user-section {
  border-top-color: #374151;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mobile-logout-btn,
.mobile-login-btn {
  width: 100%;
  justify-content: center;
}

/* Mobile Pro Tools Section */
.mobile-pro-tools-section {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

body.dark-theme .mobile-pro-tools-section {
  border-bottom-color: #374151;
}

.mobile-pro-tools-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-sub-link {
  padding-left: 1rem !important;
  font-size: 0.875rem;
  color: #6b7280 !important;
}

body.dark-theme .mobile-sub-link {
  color: #9ca3af !important;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #1a1a1a;
  background: #f3f4f6;
}

body.dark-theme .nav-link {
  color: #9ca3af;
}

body.dark-theme .nav-link:hover {
  color: #ffffff;
  background: #374151;
}

/* Viewstats-style Search Bar */
.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 1.5rem 4rem 1.5rem 1.5rem; /* Increased padding, moved icon space to right */
  border: none; /* Remove border for gradient effect */
  border-radius: 20px; /* More rounded corners */
  font-size: 1.125rem; /* Bigger font */
  background: #ffffff;
  color: #1a1a1a;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.15), 0 8px 25px -5px rgba(220, 38, 38, 0.2);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  right: 1.25rem; /* Moved to right side */
  top: 50%;
  transform: translateY(-50%);
  color: #dc2626; /* Red color to match theme */
  width: 1.5rem; /* Bigger icon */
  height: 1.5rem;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Enhanced search icon hover effect */
.search-icon:hover {
  color: #b91c1c;
  transform: translateY(-50%) scale(1.1);
}

body.dark-theme .search-input {
  background: #1f2937;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

body.dark-theme .search-input:focus {
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.2), 0 8px 25px -5px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}

body.dark-theme .search-icon {
  color: #dc2626;
}

body.dark-theme .search-icon:hover {
  color: #b91c1c;
  transform: translateY(-50%) scale(1.1);
}

/* Viewstats-style Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

body.dark-theme .hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-theme .hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.dark-theme .hero-subtitle {
  color: #9ca3af;
}

/* Viewstats-style Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 1rem;
}

.feature-card {
  padding: 2rem;
  text-align: center;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

body.dark-theme .feature-description {
  color: #9ca3af;
}

/* Viewstats-style Theme Toggle */
.theme-toggle {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  background: #e5e7eb;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: #d1d5db;
}

.theme-toggle-slider {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark-theme .theme-toggle {
  background: #374151;
}

body.dark-theme .theme-toggle:hover {
  background: #4b5563;
}

body.dark-theme .theme-toggle-slider {
  transform: translateX(1.5rem);
  background: #1f2937;
}

.theme-icon {
  width: 0.75rem;
  height: 0.75rem;
  color: #6b7280;
}

body.dark-theme .theme-icon {
  color: #9ca3af;
}

/* Viewstats-style Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Viewstats-style Footer */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
  margin-top: 4rem;
}

body.dark-theme .footer {
  background: #1a1a1a;
  border-top-color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  
  .search-input {
    padding: 1.25rem 3.5rem 1.25rem 1.25rem; /* Adjusted for mobile with right icon */
    font-size: 1rem; /* Slightly smaller on mobile */
  }
  
  .search-icon {
    right: 1rem; /* Moved to right for mobile too */
    width: 1.25rem; /* Slightly smaller on mobile */
    height: 1.25rem;
  }
  
  /* Results sidebar responsive */
  .results-container {
    grid-template-columns: 1fr !important;
  }
  
  .results-sidebar {
    position: static !important;
    margin-bottom: 2rem;
  }

  /* Mobile Navigation */
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  /* Mobile Hero Section */
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  /* Mobile Search Card */
  .search-card {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  /* Mobile Features Grid */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    padding: 2rem 1rem;
  }
  
  /* Override inline styles for features section on mobile */
  #featuresSection > div > div {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* Additional mobile feature card styling */
  .feature-card-hover {
    margin-bottom: 1rem;
  }
  
  /* Mobile Premium Section */
  #premiumUpgrade {
    margin: 1rem;
    padding: 1rem;
  }
}

/* Results Layout */
.results-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.results-sidebar {
  position: sticky;
  top: 2rem;
}

/* Results Page Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Post Card Styles */
.post-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.post-message {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.post-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric-item {
  text-align: center;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.reaction-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.reaction-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.reaction-badge.love { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.reaction-badge.haha { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.reaction-badge.wow { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.reaction-badge.sad { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.reaction-badge.angry { background: rgba(249, 115, 22, 0.1); color: #ea580c; }

.post-type-badge {
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.post-type-badge.video { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.post-type-badge.photo { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.post-type-badge.link { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.post-type-badge.album { background: rgba(147, 51, 234, 0.1); color: #9333ea; }
.post-type-badge.status { background: rgba(107, 114, 128, 0.1); color: #6b7280; }

.view-facebook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.view-facebook-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-1px);
}

/* Dark theme adjustments for results */
body.dark-theme .glass-card {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.3);
}

body.dark-theme .post-card {
  background: #1f2937;
  border: 1px solid #374151;
}

body.dark-theme .post-message {
  color: #d1d5db;
}

body.dark-theme .metric-item {
  background: #374151;
}

body.dark-theme .metric-label {
  color: #9ca3af;
}

/* Utility classes */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-gray-500 {
  color: #6b7280;
}

.text-blue-600 {
  color: #2563eb;
}

.text-green-600 {
  color: #16a34a;
}

.text-purple-600 {
  color: #9333ea;
}

.text-pink-600 {
  color: #db2777;
}

.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-100 {
  --tw-gradient-from: #f3f4f6;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 244, 246, 0));
}

.to-gray-200 {
  --tw-gradient-to: #e5e7eb;
}

.text-gray-400 {
  color: #9ca3af;
}

.results-main {
  min-height: 400px;
}

/* FAQ Section Styles */
.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  border-color: #dc2626;
}

.faq-item.active {
  border-color: #dc2626;
  box-shadow: 0 4px 12px 0 rgba(220, 38, 38, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.faq-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.faq-toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-toggle-icon svg {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9fafb;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Dark theme adjustments for FAQ */
body.dark-theme .faq-item {
  background: #1f2937;
  border-color: #374151;
}

body.dark-theme .faq-item:hover {
  border-color: #dc2626;
}

body.dark-theme .faq-question:hover {
  background: #374151;
}

body.dark-theme .faq-question h3 {
  color: #ffffff;
}

body.dark-theme .faq-toggle-icon svg {
  color: #9ca3af;
}

body.dark-theme .faq-answer {
  background: #374151;
}

body.dark-theme .faq-answer p {
  color: #d1d5db;
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
  .faq-question {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .faq-icon svg {
    width: 1rem;
    height: 1rem;
  }
  
  .faq-answer p {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* Feature Cards Hover Effects */
.feature-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Animation Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.loading-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #dc2626;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

.loading-text {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.loading-subtext {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Advanced Loading Animation */
.advanced-loading {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
}

.advanced-loading::before,
.advanced-loading::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.advanced-loading::before {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  animation-delay: 0s;
}

.advanced-loading::after {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: linear-gradient(135deg, #f63b3b 0%, #dc2626 100%);
  animation-delay: 0.5s;
}

.loading-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #dc2626;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

/* Pulse Loading Animation */
.pulse-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse-scale 1.5s ease-in-out infinite;
}

.pulse-dot:nth-child(1) { animation-delay: 0s; }
.pulse-dot:nth-child(2) { animation-delay: 0.2s; }
.pulse-dot:nth-child(3) { animation-delay: 0.4s; }
.pulse-dot:nth-child(4) { animation-delay: 0.6s; }

/* Keyframe Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes pulse-scale {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

/* Dark theme adjustments for loading */
body.dark-theme .loading-spinner {
  border-color: #374151;
  border-top-color: #dc2626;
}

body.dark-theme .loading-text {
  color: #d1d5db;
}

body.dark-theme .loading-subtext {
  color: #9ca3af;
}

body.dark-theme .loading-dot {
  background: #dc2626;
}

body.dark-theme .pulse-dot {
  background: #dc2626;
}

.feature-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.feature-card-hover:hover .feature-icon-gradient {
  transform: scale(1.1);
  box-shadow: 0 8px 25px -5px rgba(220, 38, 38, 0.4);
}

/* Feature Icon Animation */
.feature-icon-gradient {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulse Animation for Feature Icons */
@keyframes feature-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.feature-icon-pulse {
  animation: feature-pulse 3s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-text-animated {
  background: linear-gradient(135deg, #1a1a1a 0%, #374151 50%, #1a1a1a 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer Animation for Premium Section */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
