:root {
  /* Primary Brand */
  --primary:        #d8231a;
  --primary-dark:   #a81812;
  --primary-light:  #fef2f2;
  --primary-glow:   rgba(216, 35, 26, 0.12);

  /* Gold Accent */
  --gold:           #D4A017;
  --gold-light:     #fdf7e3;

  /* White Mode Backgrounds */
  --bg-white:       #FFFFFF;
  --bg-soft:        #F8F7F6;
  --bg-muted:       #F3F4F6;
  --bg-red-soft:    #fff5f5;

  /* Text */
  --text-dark:      #111111;
  --text-body:      #374151;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;

  /* Borders */
  --border:         #E5E7EB;
  --border-strong:  #D1D5DB;

  /* Status Colors */
  --success:        #16a34a;
  --success-light:  #dcfce7;
  --warning:        #d97706;
  --warning-light:  #fef3c7;
  --error:          #dc2626;
  --error-light:    #fee2e2;

  /* Module Colors */
  --module-membership:   #d8231a;
  --module-subscription: #D4A017;
  --module-event:        #f59e0b;
  --module-marketplace:  #16a34a;
  --module-payment:      #6d5bd0;
  --module-analytics:    #2563eb;
  --module-ai:           #0d9488;

  /* Spacing Scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-red: 0 8px 32px rgba(216,35,26,0.20), 0 2px 8px rgba(216,35,26,0.10);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Fluid Typography */
  --fs-hero:    clamp(2rem, 5vw + 1rem, 4.5rem);
  --fs-h2:      clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  --fs-h3:      clamp(1.125rem, 2vw, 1.5rem);
  --fs-body:    clamp(0.9rem, 1.5vw, 1.0625rem);
  --fs-small:   clamp(0.75rem, 1.2vw, 0.875rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, svg, i {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.card-float {
  animation: float 4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Button styles */
.btn-primary {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
  box-shadow: var(--shadow-red);
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--border-strong);
  color: var(--text-body);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  position: relative; 
  overflow: hidden;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Typography styles */
.text-center { text-align: center; }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: var(--fs-small);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  display: inline-block;
}
.section-subtitle {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl) auto;
  font-size: 1.125rem;
}

/* Lucide icons inside stat cards (bypasses Blazor CSS isolation) */
.stat-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: white;
}

/* Benefit card icons (bypasses Blazor CSS isolation) */
.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--module-color);
}

.benefit-checklist svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* HowItWorks icons (bypasses Blazor CSS isolation) */
.step-icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* Pricing icons (bypasses Blazor CSS isolation) */
.promo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.feature-list svg {
  width: 20px;
  height: 20px;
}

.mini-review .stars svg,
.product-rating svg,
.testimonials-section .stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

/* New Split Layout Icons (bypasses Blazor CSS isolation) */
.feature-icon svg,
.badge-icon svg,
.events-features li > svg,
.event-overlay-badge .icon-circle svg {
  color: var(--primary);
}

.events-features li > svg {
  width: 32px;
  height: 32px;
}

/* FAQ Icons */
.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 300ms var(--ease-out), color 300ms ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(45deg);
  color: var(--primary);
}

/* Final CTA Icons */
.btn-primary-inverse svg {
  width: 20px;
  height: 20px;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* Navbar Icons */
.hamburger-btn svg,
.drawer-close svg {
  width: 24px;
  height: 24px;
}

/* Footer Icons */
.social-icons svg {
  width: 18px;
  height: 18px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
