/* ========================================
   ListVerified.com - Modern CSS Styles
   Bootstrap 5.3 Compatible
   ======================================== */

/* CSS Variables */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3651d4;
  --secondary-color: #6c757d;
  --success-color: #10b981;
  --info-color: #0ea5e9;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --purple-color: #8b5cf6;
  --dark-color: #1e293b;
  --light-bg: #f8fafc;
  --gradient-primary: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 0.75rem;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Text Gradient */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Colors */
.text-purple {
  color: var(--purple-color) !important;
}

.bg-purple-subtle {
  background-color: rgba(139, 92, 246, 0.1) !important;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  transition: var(--transition);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(67, 97, 238, 0.5);
  background: var(--gradient-primary);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  border: 2px solid #e2e8f0;
  color: var(--dark-color);
  background: transparent;
}

.btn-outline-secondary:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: var(--dark-color);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding-top: 100px;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-color);
  top: -200px;
  right: -200px;
}

.hero-bg-shapes .shape-2 {
  width: 400px;
  height: 400px;
  background: var(--purple-color);
  bottom: -100px;
  left: -100px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

.hero-stats-card {
  position: absolute;
  top: 20%;
  left: -30px;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.stats-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature Cards */
.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Step Cards */
.step-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Benefit Items */
.benefit-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Pricing Cards */
.pricing-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

/* Support Cards */
.support-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.support-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.75rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Footer */
.footer {
  background: var(--dark-color);
}

.footer a:hover {
  color: #fff !important;
}

/* Accordion */
.accordion-button {
  font-weight: 600;
  color: var(--dark-color);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-size: 1rem;
}

/* Stats Section */
.stat-item {
  padding: 1rem;
}

/* Badge Styles */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

/* Background Subtle Colors */
.bg-primary-subtle {
  background-color: rgba(67, 97, 238, 0.1) !important;
}

.bg-success-subtle {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-info-subtle {
  background-color: rgba(14, 165, 233, 0.1) !important;
}

.bg-warning-subtle {
  background-color: rgba(245, 158, 11, 0.1) !important;
}

.bg-danger-subtle {
  background-color: rgba(239, 68, 68, 0.1) !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding: 3rem 0;
  }

  .hero-stats-card {
    display: none;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .navbar-nav .btn {
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .display-6 {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .feature-card,
  .testimonial-card,
  .pricing-card,
  .support-card {
    padding: 1.5rem;
  }
}

/* Animation Enhancements */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-image-wrapper {
  animation: float 6s ease-in-out infinite;
}

/* Scroll Animation for Navbar */
.navbar.scrolled .navbar-brand img {
  height: 40px;
}

/* Selection Color */
::selection {
  background: var(--primary-color);
  color: #fff;
}

/* Focus States */
.btn:focus,
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
}

/* Form Styles */
.form-control {
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
}

/* Utility Classes */
.rounded-4 {
  border-radius: 1rem !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Print Styles */
@media print {
  .navbar,
  .cta-section,
  .footer {
    display: none;
  }

  .hero-section {
    padding-top: 0;
  }
}

/* ========================================
   Additional Page Styles
   ======================================== */

/* Page Header */
.page-header {
  padding-top: 120px;
}

/* FAQ Category Cards */
.faq-category-card {
  transition: var(--transition);
}

.faq-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Pricing Credits Display */
.pricing-credits {
  padding: 1rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
}

/* Feature Icon Small */
.feature-icon-sm {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* File Icon */
.file-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Code Block Styles */
pre {
  background: transparent;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre code {
  font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
  line-height: 1.5;
}

/* Scroll Margin for Anchor Links */
[id] {
  scroll-margin-top: 100px;
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--secondary-color);
}

/* Enhanced Pricing Card Hover for 5-column layout */
@media (min-width: 1200px) {
  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-card .display-4 {
    font-size: 2.5rem;
  }

  .pricing-card .display-6 {
    font-size: 1.5rem;
  }
}

/* Contact Button Enhancements */
.btn-outline-success {
  border: 2px solid var(--success-color);
  color: var(--success-color);
}

.btn-outline-success:hover {
  background: var(--success-color);
  border-color: var(--success-color);
  color: #fff;
}

.btn-outline-info {
  border: 2px solid var(--info-color);
  color: var(--info-color);
}

.btn-outline-info:hover {
  background: var(--info-color);
  border-color: var(--info-color);
  color: #fff;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Loading State for Buttons */
.btn.loading {
  position: relative;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Pricing for smaller screens */
@media (max-width: 575.98px) {
  .pricing-card .display-4 {
    font-size: 2rem;
  }

  .pricing-credits .display-6 {
    font-size: 1.25rem;
  }
}

/* ========================================
   Contact Page Styles
   ======================================== */

/* Contact Info Cards */
.contact-info-card {
  padding: 1rem;
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Enhancements */
.form-control-lg,
.form-select-lg {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
}

.form-control-lg:focus,
.form-select-lg:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-label {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

/* Alert Styling */
.alert {
  border: none;
  border-radius: var(--border-radius);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

/* Social Button Hover */
.btn-outline-secondary.rounded-circle:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Warning Button Outline */
.btn-outline-warning {
  border: 2px solid var(--warning-color);
  color: #92400e;
}

.btn-outline-warning:hover {
  background: var(--warning-color);
  border-color: var(--warning-color);
  color: #fff;
}
