/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (LIGHT ATHLETIC THEME WITH DARK VIDEO HERO)
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-light: #64748b;
  
  --color-primary: #1e3a8a;       /* Deep Sports Navy */
  --color-primary-light: #2563eb; /* Bright Athletic Blue */
  --color-accent: #ff473a;        /* Vibrant Coral Red (matches React preview bg-[#ff5941]) */
  --color-accent-light: #fff1f0;  /* Very Light Red Tint */
  --color-success: #10b981;       /* Active Badge Green */
  --color-warning: #f59e0b;       /* Scarcity Amber */
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --input-focus: #2563eb;
  
  /* Fonts */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Space Grotesk', sans-serif;
  
  /* Layout */
  --header-height: 80px;
  --ticker-height: 40px;
  --border-radius-sm: 6px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary-light);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:disabled {
  background-color: #cbd5e1;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: 6px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Section Common */
section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 12px;
  background-color: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ==========================================================================
   SCROLL ANIMATIONS UTILITIES
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for list items */
.offer-grid .offer-card:nth-child(1) { transition-delay: 0.05s; }
.offer-grid .offer-card:nth-child(2) { transition-delay: 0.1s; }
.offer-grid .offer-card:nth-child(3) { transition-delay: 0.15s; }
.offer-grid .offer-card:nth-child(4) { transition-delay: 0.2s; }
.offer-grid .offer-card:nth-child(5) { transition-delay: 0.25s; }
.offer-grid .offer-card:nth-child(6) { transition-delay: 0.3s; }
.offer-grid .offer-card:nth-child(7) { transition-delay: 0.35s; }
.offer-grid .offer-card:nth-child(8) { transition-delay: 0.4s; }

/* ==========================================================================
   1. TICKER BANNER (MARQUEE)
   ========================================================================== */
.ticker-banner {
  height: var(--ticker-height);
  background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  z-index: 1001;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

/* Shimmer overlay on ticker */
.ticker-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), transparent);
  animation: tickerShimmer 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes tickerShimmer {
  0% { left: -60%; }
  100% { left: 160%; }
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 48px;
  color: rgba(255, 255, 255, 0.92);
}

.ticker-content span .ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-banner:hover .ticker-content {
  animation-play-state: paused;
}

/* ==========================================================================
   2. HEADER / NAVIGATION
   ========================================================================== */
.main-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  margin-right: 8px;
  font-size: 1.5rem;
}

.logo-text .highlight {
  color: var(--color-primary-light);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--color-primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   3. HERO SECTION (WITH VIDEO BACKGROUND)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #ffffff; /* White text for contrast on dark video overlay */
}

/* Video Background */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark slate navy gradient */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.8) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 54px;
  align-items: center;
}

.hero-info {
  display: flex;
  flex-direction: column;
}

/* Urgency Badge */
.badge-urgency {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 71, 58, 0.15);
  color: #ff6b62;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 71, 58, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 58, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 71, 58, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 58, 0); }
}

/* Hero Title - Bold Typography & Space Grotesk */
.hero-title {
  font-family: var(--font-title);
  font-weight: 850; /* Ultra-bold athletic weight */
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Dynamic Rotator Container - Rest on text baseline */
.text-rotate-container {
  display: inline-block;
  position: relative;
  height: 1.45em; /* Generous height to fit text and padding without clipping */
  vertical-align: middle;
  overflow: hidden;
  margin-bottom: -0.1em; /* Align visually with baseline */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rotating word styling */
.text-rotate-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) translateY(100%);
  opacity: 0;
  color: #ffffff;
  background-color: var(--color-accent);
  padding: 4px 16px;
  border-radius: var(--border-radius-sm);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  font-family: var(--font-title);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 71, 58, 0.35);
  font-size: 0.9em;
  box-sizing: border-box;
}

.text-rotate-word.active {
  transform: translateX(-50%) translateY(-50%) translateY(0);
  opacity: 1;
}

.text-rotate-word.exit {
  transform: translateX(-50%) translateY(-50%) translateY(-120%);
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 580px;
}

/* Price Box - Dark glassmorphic style */
.hero-prices {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.price-box {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.price-box:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.price-from {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ccff00;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.price-type {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.price-values {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ccff00; /* High visibility neon yellow price */
  font-family: var(--font-title);
  text-shadow: 0 0 10px rgba(204, 255, 0, 0.2);
}

.price-before {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

/* Financing Box - Premium Highlight Card */
.hero-finance {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(204, 255, 0, 0.06) 100%);
  border: 2px solid rgba(204, 255, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 20px 16px 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 32px;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.3), 0 0 20px rgba(204, 255, 0, 0.1);
  transition: var(--transition-fast);
  animation: financeBorderGlow 3s ease-in-out infinite;
}

@keyframes financeBorderGlow {
  0%, 100% { border-color: rgba(204, 255, 0, 0.35); box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.3), 0 0 15px rgba(204, 255, 0, 0.08); }
  50% { border-color: rgba(204, 255, 0, 0.7); box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.4), 0 0 30px rgba(204, 255, 0, 0.2); }
}

.hero-finance:hover {
  border-color: rgba(204, 255, 0, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -8px rgba(37, 99, 235, 0.4), 0 0 35px rgba(204, 255, 0, 0.25);
}

.finance-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: linear-gradient(90deg, #ccff00, #10b981);
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 850;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(204, 255, 0, 0.3);
}

.finance-body {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.finance-icon {
  font-size: 1.75rem;
  margin-right: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.finance-text strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

/* Highlighted finance price */
.finance-price-highlight {
  color: #ccff00;
  font-size: 1.3rem;
  font-weight: 850;
  font-family: var(--font-title);
  text-shadow: 0 0 12px rgba(204, 255, 0, 0.4);
  animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(204, 255, 0, 0.3); }
  50% { text-shadow: 0 0 20px rgba(204, 255, 0, 0.6), 0 0 40px rgba(204, 255, 0, 0.2); }
}

.finance-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.hero-bullets {
  list-style: none;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.hero-bullets li span {
  color: #10b981;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   QUESTIONNAIRE CARD (WHITE / HIGH CONTRAST)
   ========================================================================== */
.hero-quiz-card {
  background-color: var(--bg-primary);
  border: 2px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
  color: var(--text-primary); /* Reset dark text */
}

/* Top warning banner inside the quiz card */
.quiz-urgency-banner {
  background-color: var(--color-accent-light);
  border-bottom: 1px solid rgba(255, 71, 58, 0.2);
  margin: -30px -30px 24px -30px;
  padding: 10px 15px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flashing-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: flash 1s infinite alternate;
}

@keyframes flash {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.quiz-header h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.quiz-header p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.quiz-time-note {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(37, 99, 235, 0.08));
  color: var(--color-primary);
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-block;
}

.quiz-time-note strong {
  color: #059669;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 100px;
  margin-top: 14px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Steps */
.quiz-step {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.step-intro-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  background-color: var(--bg-secondary);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--color-accent);
}

/* Options */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.option-grid-2 {
  grid-template-columns: 1fr;
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  transition: var(--transition-fast);
  text-align: center;
  height: 100%;
}

.option-icon {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.option-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.option-content small {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.2;
}

.option-card:hover .option-content {
  border-color: var(--color-primary-light);
  background-color: var(--bg-secondary);
}

.option-card input[type="radio"]:checked + .option-content {
  border-color: var(--color-primary-light);
  background-color: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.option-row {
  position: relative;
  cursor: pointer;
}

.option-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.row-content {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-primary);
  transition: var(--transition-fast);
}

.row-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.row-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.3;
}

.option-row:hover .row-content {
  border-color: var(--color-primary-light);
  background-color: var(--bg-secondary);
}

.option-row input[type="radio"]:checked + .row-content {
  border-color: var(--color-primary-light);
  background-color: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Form inputs styling */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
  background-color: var(--bg-secondary);
}

.form-group input:focus {
  border-color: var(--input-focus);
  background-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group.invalid input {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: 4px;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-group-checkbox {
  margin: 18px 0;
  text-align: left;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: relative;
  display: inline-block;
  height: 18px;
  width: 18px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.checkbox-label input:checked ~ .checkbox-custom {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
  display: block;
}

/* Live counter banner step 4 */
.quiz-live-counter {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Glowing Submit Button */
.btn-glowing {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff6b4a 100%) !important;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 71, 58, 0.4);
  animation: btnPulse 2s infinite;
}

.btn-glowing:hover {
  background: linear-gradient(135deg, #e03226 0%, #f95738 100%) !important;
  box-shadow: 0 0 25px rgba(255, 71, 58, 0.6);
  transform: translateY(-2px);
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 58, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 71, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 58, 0); }
}

/* Step Buttons */
.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.step-actions .btn {
  flex: 1;
}

/* Success Card */
.quiz-success {
  display: none;
  text-align: center;
  animation: fadeInStep 0.4s ease forwards;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.quiz-success h4 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.quiz-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.success-callout {
  background-color: var(--bg-secondary);
  border: 1px dashed var(--color-primary-light);
  padding: 14px;
  border-radius: var(--border-radius-sm);
  color: var(--color-primary) !important;
  font-weight: 500;
}

.success-info-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.success-info-box h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.success-info-box p {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* ==========================================================================
   4. PRODUCT SHOWCASE CAROUSEL
   ========================================================================== */
.models-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  animation: carousel-auto 40s linear infinite;
  animation-delay: 1.5s;
}

.carousel-item {
  flex: 0 0 50%;
  padding: 0 18px;
  box-sizing: border-box;
}

.carousel-btn,
.carousel-indicators {
  display: none;
}

@keyframes carousel-auto {
  100% {
    transform: translateX(-450%);
  }
}

@media (max-width: 768px) {
  .carousel-track {
    animation: carousel-auto-mobile 44s linear infinite;
  }
}

@keyframes carousel-auto-mobile {
  100% {
    transform: translateX(-1000%);
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 14px 16px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e5e7eb;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--color-primary-light);
}

.carousel-dot:hover {
  background-color: #d1d5db;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary-light);
}

.product-img-wrapper {
  width: 100%;
  height: 420px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
}

.product-badge {
  display: inline-block;
  background-color: var(--color-primary-light);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
}

@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%;
  }
  
  .carousel-btn {
    padding: 12px 14px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 100%;
    padding: 0 10px;
  }
  
  .product-img-wrapper {
    height: 300px;
  }
  
  .carousel-btn {
    padding: 10px 12px;
    font-size: 16px;
  }
}


.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-info {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-grow: 1;
  text-align: center;
}

.product-info h4 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background-color: var(--color-primary-light);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.18);
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  border-color: var(--color-primary-light);
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.carousel-dot.active {
  background-color: var(--color-primary-light);
  width: 24px;
  border-radius: 100px;
}

/* ==========================================================================
   5. OFFER DETAILS SECTION
   ========================================================================== */
.offer-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.offer-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: var(--transition-normal);
}

/* Carousel heading above the product carousel */
.carousel-heading {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.carousel-heading p {
  margin-top: 6px;
  font-size: 1rem;
  color: var(--text-secondary);
}
.carousel-price {
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1.45rem;
  margin-left: 8px;
}
.offer-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.05);
  background-color: var(--bg-primary);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.offer-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.offer-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Inclusion CTA Banner */
.inclusions-cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #ffffff;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.2);
}

.cta-banner-info h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.cta-banner-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.cta-banner-action .btn {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 71, 58, 0.3);
}

.cta-banner-action .btn:hover {
  background-color: #e03226;
  box-shadow: 0 6px 20px rgba(255, 71, 58, 0.4);
}

/* ==========================================================================
   6. CONTACT, HOURS & MAP SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.store-info-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
}

.store-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.store-info-card h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.store-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.35rem;
  margin-right: 16px;
  margin-top: 2px;
}

.detail-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.detail-text p {
  font-size: 1rem;
  color: var(--text-primary);
}

.phone-link {
  color: var(--color-primary-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.phone-link:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--bg-tertiary);
  color: var(--text-primary);
}

.hours-table td:first-child {
  font-weight: 600;
  width: 120px;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-secondary);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.closed-day td {
  color: var(--text-light) !important;
}

.closed-day td:last-child {
  color: var(--text-light) !important;
  font-style: italic;
}

/* Map Container */
.map-container {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  min-height: 450px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-links {
  text-align: right;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   INFINITE AUTO SLIDER (from prompt)
   ========================================================================== */
.infinite-slider-section {
  background-color: var(--bg-primary);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.infinite-slider-section::before {
  display: none;
}

.infinite-slider-container {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinite-slider-mask {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  mask: none;
  -webkit-mask: none;
}

.infinite-slider-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.infinite-slider-item {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-primary);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, filter 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinite-slider-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.infinite-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .infinite-slider-item {
    width: 200px;
    height: 200px; 
  }
}

@media (min-width: 1024px) {
  .infinite-slider-item {
    width: 320px;
    height: 320px;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

/* Tablet Layout */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-info {
    text-align: center;
    align-items: center;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-bullets {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
  }
  
  .hero-finance {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  
  .hero-quiz-card {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .carousel-item {
    flex: 0 0 50%;
  }
  
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .map-container {
    min-height: 350px;
    height: 400px;
  }
}

/* Mobile Toggle */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--ticker-height));
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height) - var(--ticker-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: left var(--transition-normal);
    box-shadow: 4px 10px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    color: var(--text-primary);
  }
  
  .header-cta .btn {
    display: none;
  }
  
  .nav-menu::after {
    display: none;
  }
  
  .carousel-item {
    flex: 0 0 100%;
  }
  
  .carousel-container {
    padding: 0 20px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .carousel-btn-prev { left: -10px; }
  .carousel-btn-next { right: -10px; }
  
  .inclusions-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }

  /* Keep price boxes side-by-side and equal on mobile */
  .hero-prices {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  
  .price-box {
    flex: 1 1 44%;
    min-width: 200px;
    max-width: 320px;
    padding: 12px 14px;
    text-align: center;
  }

  .price-values {
    justify-content: center;
  }

  .price-now {
    font-size: 1.5rem;
  }

  .price-before {
    font-size: 0.75rem;
  }

  .price-type {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }

  /* Force both price boxes to stack content vertically and identically */
  .price-values {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  
  /* Center the urgency badge on mobile */
  .badge-urgency {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Center finance box on mobile */
  .hero-finance {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .option-grid {
    grid-template-columns: 1fr;
  }
  
  .offer-grid {
    grid-template-columns: 1fr;
  }
  
  .store-info-card {
    padding: 24px;
  }
}
