/**
 * VG Modern Design System
 * For new/redesigned pages (2025+)
 *
 * Color Palette:
 * - Primary Blue: #0ea5e9 (sky-500)
 * - Dark Blue: #0284c7 (sky-600)
 * - Text Dark: #1a202c (gray-900)
 * - Text Medium: #4a5568 (gray-700)
 * - Text Light: #718096 (gray-600)
 * - Background: #f5f7fa
 * - Border: #e2e8f0 (gray-200)
 */

/* === RESET & BASE === */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

/* Container — used in header/footer markup */
.w-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

body {
  display: flex;
  flex-direction: column;
  background: #f5f7fa;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.site-wrapper {
  flex: 1 0 auto;
  min-height: calc(100vh - 200px); /* Ensures footer stays at bottom on short pages */
  display: flex;
  flex-direction: column;
}

/* === HEADER === */
.section-2,
.header-section {
  border-bottom: 4px solid #7dd3fc;
  background: #fff;
}

.site-header {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.site-logo {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.nav-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0ea5e9;
}

/* Header layout */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 22px 15px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 101;
}

.header-logo-link img {
  display: block;
  height: 32px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 0;
  font-size: 15px;
}

.header-nav-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0 15px;
  position: relative;
}

.header-nav-link:not(:last-child) {
  border-right: 1px solid #93c5fd;
}

.header-nav-link:hover {
  color: #0ea5e9;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  width: 40px;
  height: 40px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #4a5568;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.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(6px, -6px);
}

/* Mobile responsive - standard 768px breakpoint */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .header-nav-link:last-child {
    border-bottom: none;
  }

  .header-nav-link:not(:last-child)::after {
    display: none;
  }

  .header-nav-link:hover {
    background: #f5f7fa;
  }
}

/* === FOOTER === */

.footer {
  background-color: #f8f9fa;
  color: #333;
  padding: 32px 0;
  flex-shrink: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-container::before,
.footer-container::after {
  display: none;
}

.footer-column {
  margin-bottom: 0;
}

.footer-nav {
  justify-self: center;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-menu li::marker {
  content: none;
}

.footerlink {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footerlink:hover {
  color: #0ea5e9;
}

.footer-disclosure {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: #666;
}

.footer-copyright {
  font-size: 13px;
  margin: 0;
  color: #666;
}

.footer-entity {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  color: #1a202c;
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

a {
  color: #0ea5e9;
  transition: color 0.3s ease;
}

a:hover {
  color: #0284c7;
}

/* === LAYOUT COMPONENTS === */
.section {
  padding: 56px 24px;
  width: 100%;
}

.section-min-height {
  flex: 1 0 auto; /* Grow to fill remaining space in site-wrapper */
}

.section-white {
  background: white;
}

/* =================================================================
   UNIFIED PAGE HERO - Used by all interior pages
   ================================================================= */
.page-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-opacity="0.1" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
}

.page-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.6;
}

/* Legacy support - map old classes to new unified hero */
.hero-section:not(.hero-section--homepage),
.about-hero,
.contact-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-section:not(.hero-section--homepage)::before,
.about-hero::before,
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-opacity="0.1" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-section:not(.hero-section--homepage) .container-narrow,
.hero-section:not(.hero-section--homepage) > h1,
.hero-section:not(.hero-section--homepage) > p,
.about-hero > h1,
.about-hero > p,
.contact-hero .container-narrow {
  position: relative;
  z-index: 1;
}

.hero-title,
.contact-hero-title,
.about-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
}

.contact-hero-subtitle,
.about-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.6;
  text-align: center;
}

.section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 900px;
}

.section-title {
  margin: 0 0 16px;
}

.section-description {
  font-size: clamp(15px, 2vw, 18px);
  color: #4a5568;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.7;
}

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

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  color: white;
}

/* === CARDS === */
.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  opacity: 0;
}

.fade-in.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-number {
  opacity: 0;
}

.stat-number.animate-in {
  animation: scaleIn 0.8s ease-out forwards;
}

.value-card {
  opacity: 0;
}

.value-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.value-card:nth-child(1).animate-in {
  animation-delay: 0.1s;
}

.value-card:nth-child(2).animate-in {
  animation-delay: 0.2s;
}

.value-card:nth-child(3).animate-in {
  animation-delay: 0.3s;
}

.value-card:nth-child(4).animate-in {
  animation-delay: 0.4s;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .section {
    padding: 40px 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 32px 16px;
  }

  .container-narrow {
    padding: 0 16px;
  }

  .card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .contact-card-blue {
    margin-bottom: 32px;
  }

  .contact-inner-card {
    padding: 16px;
  }

  .contact-warning-box {
    padding: 12px;
  }

  .contact-inner-text,
  .contact-list {
    font-size: 14px;
  }

  .contact-inner-title {
    font-size: 16px;
  }

  .site-header {
    padding: 12px 0;
  }

  .site-logo {
    height: 32px;
  }

  .footer {
    padding: 24px 16px;
    margin-top: 56px;
  }

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

/* ===================================================================
   ABOUT US PAGE STYLES
   =================================================================== */

/* Content wrapper for about page */
.content-wrapper {
  background: white;
  min-height: 100vh;
}

/* About hero section */
.about-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.about-hero h1 {
  color: white;
  margin: 0 0 16px;
}

.about-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats section */
.stats-section {
  padding: 60px 24px;
  background: #f5f7fa;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-box {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: #4a5568;
  font-weight: 600;
}

/* Content section */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  flex: 1 0 auto; /* Grow to fill available space */
}

.content-section h2 {
  margin: 40px 0 20px;
  font-size: 32px;
  color: #1a202c;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

/* Mission box */
.mission-box {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 4px solid #0ea5e9;
  padding: 32px;
  border-radius: 12px;
  margin: 40px 0;
}

.mission-box h2 {
  color: #1e40af;
  margin: 0 0 16px;
  font-size: 28px;
}

.mission-box p {
  color: #1e3a8a;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.values-grid-spaced {
  margin-top: 24px;
}

.value-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #0ea5e9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.value-card-green {
  border-left-color: #10b981;
}

.value-card-blue {
  border-left-color: #3b82f6;
}

.value-card-amber {
  border-left-color: #f59e0b;
}

.value-card-purple {
  border-left-color: #8b5cf6;
}

.value-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #1a202c;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}

/* Disclosure section */
.disclosure-section {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 28px;
  border-radius: 12px;
  margin: 40px 0;
}

.disclosure-section h3 {
  color: #92400e;
  margin: 0 0 12px;
  font-size: 20px;
}

.disclosure-section p {
  color: #78350f;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Closing note */
.closing-note {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e2e8f0;
  font-size: 15px;
  color: #64748b;
}

/* ===================================================================
   CONTACT US PAGE STYLES
   =================================================================== */

/* Contact hero */
.contact-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 80px 24px;
  text-align: center;
}

.contact-hero-title {
  color: white;
  margin: 0 0 16px;
}

.contact-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.7;
  text-align: center;
}

/* Contact cards */
.contact-card-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 4px solid #3b82f6;
  margin-bottom: 48px;
}

.contact-card-title {
  color: #1e40af;
  margin: 0 0 16px;
  font-size: 24px;
}

.contact-card-intro {
  color: #1e3a8a;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
}

/* Inner card */
.contact-inner-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.contact-inner-title {
  color: #1e40af;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.contact-inner-text {
  color: #1e3a8a;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
}

.contact-inner-text-final {
  margin: 0;
}

.contact-inner-text-spaced {
  margin-top: 16px;
  margin-bottom: 8px;
}

.contact-list {
  color: #1e3a8a;
  margin: 0 0 12px;
  padding-left: 24px;
  line-height: 1.8;
  font-size: 16px;
}

.contact-list {
  list-style-type: disc !important;
}

.contact-list li {
  list-style-type: disc !important;
  background: none !important;
  padding-left: 0 !important;
}

.contact-list li::before {
  display: none !important;
  content: none !important;
}

/* Warning box */
.contact-warning-box {
  padding: 16px;
  background: #fee2e2;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
}

.contact-warning-title {
  color: #dc2626;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.contact-warning-list {
  color: #dc2626;
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  list-style-type: disc !important;
}

.contact-warning-list li {
  list-style-type: disc !important;
  background: none !important;
  padding-left: 0 !important;
}

.contact-warning-list li::before {
  display: none !important;
  content: none !important;
}

.contact-warning-note {
  color: #991b1b;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

/* Business inquiries */
.contact-business-title {
  margin: 0 0 16px;
  font-size: 28px;
}

.contact-business-text {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
}

.contact-business-text-final {
  margin: 0;
}

.contact-business-note {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

/* Email obfuscation */
.email-obfuscated {
  color: #0ea5e9;
  font-weight: 600;
}

/* Categories section */
.contact-categories-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
}

.contact-categories-title {
  text-align: center;
  margin: 0 0 32px;
  font-size: 32px;
}

.contact-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-category-card {
  text-align: center;
  padding: 24px;
  background: #f5f7fa;
  border-radius: 12px;
}

.contact-category-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.contact-category-title {
  font-size: 18px;
  margin: 0 0 8px;
  color: #1a202c;
}

.contact-category-desc {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* ===================================================================
   LEGAL PAGES STYLES (Privacy Policy, Terms of Use, Advertiser Disclosure)
   =================================================================== */

/* Legal content typography */
.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin: 32px 0 16px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin: 24px 0 12px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 32px;
  list-style-type: disc !important;
  list-style-position: outside !important;
}

.legal-content ul::before,
.legal-content ol::before {
  display: none !important;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 8px;
  list-style-type: disc !important;
  list-style-position: outside !important;
  background: none !important;
  padding-left: 0 !important;
}

.legal-content li::before {
  display: none !important;
  content: none !important;
}

.legal-content li::marker {
  content: normal !important;
  color: #4a5568 !important;
}

/* Legal tables */
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.legal-content table td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  vertical-align: top;
}

.legal-content table td:first-child {
  font-weight: 600;
  background: #f5f7fa;
}

.legal-content strong {
  font-weight: 600;
  color: #1a202c;
}

.legal-content a {
  color: #0ea5e9;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #0284c7;
}

/* Last updated date */
.last-updated {
  font-size: 14px;
  color: #64748b;
  font-style: italic;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

/* Advertiser disclosure specific */
.legal-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 20px;
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */

/* Override Webflow list styles for plain bullets - GLOBAL (excluding footer) */
ul:not(.footer-menu) {
  list-style-type: disc !important;
  list-style-position: outside !important;
}

ul:not(.footer-menu)::before {
  display: none !important;
}

li:not(.footer-menu li) {
  list-style-type: disc !important;
  list-style-position: outside !important;
  background: none !important;
  padding-left: 0 !important;
}

li:not(.footer-menu li)::before {
  display: none !important;
  content: none !important;
}

li:not(.footer-menu li)::marker {
  content: normal !important;
}

/* ===================================================================
   HOMEPAGE STYLES
   =================================================================== */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-opacity="0.1" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}

.hero-section .subtitle {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  margin: 0 0 16px;
  opacity: 1;
  line-height: 1.6;
}

/* Subtle underline highlight effect */
.highlight-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
}

.hero-section .tagline {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

/* Stats Bar */
.stats-bar {
  background: white;
  padding: 32px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: inline-block;
}

.stats-bar .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.stat-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a202c;
}

.stat-item p {
  font-size: 14px;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

/* Featured Categories */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  margin: 0 auto 24px;
  max-width: 1200px;
}

.featured-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.featured-card-header {
  height: 220px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.featured-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Featured card background images */
.featured-card-header--heatedvests {
  background-image: url('/toplp/heatedvests/images/hero-heated-vests.webp');
}

.featured-card-header--tireinflators {
  background-image: url('/toplp/tireinflators/images/product-airmoto.webp');
}

.featured-card-header--titaniumcuttingboards {
  background-image: url('/toplp/titaniumcuttingboards/images/hero-titanium-cutting-board-kitchen-counter.jpg');
}

.featured-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a202c;
  line-height: 1.3;
}

.featured-card p {
  font-size: 15px;
  color: #4a5568;
  margin: 0 0 20px;
  line-height: 1.6;
  flex: 1;
}

.featured-card-cta {
  color: #0ea5e9;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.featured-card:hover .featured-card-cta {
  gap: 10px;
}

/* Review Process Section */
.section--review-process {
  background: #f5f7fa;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.section--review-process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Process Carousel */
.process-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 580px;
  z-index: 5;
}

.process-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - 48px);
  max-width: 750px;
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.process-card.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.process-card-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  border: 4px solid white;
}

.process-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  margin: 24px auto 20px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.process-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #1a202c;
  line-height: 1.2;
}

.process-card p {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 600px;
}

.process-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background: #94a3b8;
  transform: scale(1.1);
}

.indicator.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  width: 32px;
  border-radius: 6px;
  border-color: #0ea5e920;
}

/* Category Grid */
.category-section {
  background: white;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.category-icon {
  font-size: 42px;
  margin-bottom: 12px;
  display: block;
}

.category-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #2d3748;
  line-height: 1.3;
}

/* Trust Section */
.trust-section {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e293b 100%);
  color: white;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.trust-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Trust section title overrides */
.trust-section .section-title {
  color: white;
}

.trust-section .section-description {
  color: rgba(255,255,255,0.9);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
  margin-top: 56px;
}

.trust-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.trust-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
}

.trust-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: white;
}

.trust-card p {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: white;
  padding: 64px 24px;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 16px;
  color: #1a202c;
}

.cta-section p {
  font-size: 18px;
  color: #4a5568;
  margin: 0 0 32px;
  line-height: 1.7;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  color: white;
}

/* Floating Back Button */
.floating-back-button {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.floating-back-button.visible {
  display: block;
}

.floating-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-decoration: none;
  color: #0ea5e9;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
}

.floating-back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: #0ea5e9;
}

.floating-back-link .back-arrow {
  font-size: 18px;
}

/* Homepage Responsive */
@media (max-width: 968px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px 50px;
  }

  .featured-card-header {
    height: 180px;
    font-size: 56px;
  }

  .featured-card-body {
    padding: 24px;
  }

  .process-card {
    padding: 36px 28px;
  }

  .process-card-image {
    max-width: 300px;
    margin: 20px auto 16px;
  }

  .process-card h3 {
    font-size: 24px;
  }

  .process-card p {
    font-size: 15px;
  }

  .process-carousel {
    height: 540px;
  }

  .trust-grid {
    gap: 32px;
    margin-top: 40px;
  }

  .trust-card {
    padding: 28px 20px;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .process-card {
    padding: 32px 24px;
  }

  .process-card-number {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .process-card-image {
    max-width: 250px;
    margin: 16px auto 12px;
  }

  .process-card h3 {
    font-size: 22px;
  }

  .process-card p {
    font-size: 14px;
  }

  .process-carousel {
    height: 480px;
  }
}

/* Content wrapper for homepage - takes available space in flex layout */
.content-wrapper {
  flex: 1 0 auto;
  position: relative;
  z-index: 2;
  background: #f5f7fa;
}

/* Force sections to have solid backgrounds */
.content-wrapper .section,
.content-wrapper section {
  position: relative;
  z-index: 1;
}
