/* Anton Font */
@font-face {
    font-family: 'Anton';
    src: url('../fonts/Anton-Regular.woff2') format('woff2'),
        url('../fonts/Anton-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Custom CSS Variables - Branding Colors (Redesign 2026) */
:root {
    /* Brand Colors */
    --brand-primary: #0099FF;
    --brand-primary-dark: #0077cc;
    --brand-secondary: #5B5B5B;
    --brand-light: #f8f9fa;
    --brand-dark: #212529;
    
    /* Redesign Gradient Colors */
    --gradient-purple: #667eea;
    --gradient-violet: #764ba2;
    --gradient-pink: #f093fb;
    --accent-pink: #ec4899;
    --accent-red: #f43f5e;
    
    /* Content Box */
    --content-bg: rgba(255, 255, 255, 0.95);
    --content-radius: 30px;
    --content-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-family-brand: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-display: 'Poppins', var(--font-family-brand);
    
    /* Transitions */
    --transition-speed: 0.3s;
    
    /* Tip Box */
    --tip-bg-start: #fef3c7;
    --tip-bg-end: #fde68a;
    --tip-border: #f59e0b;
    --tip-text: #92400e;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: var(--font-family-brand);
    line-height: 1.6;
    color: var(--brand-secondary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    
    /* Background Image (kept from original) */
    background-image: url('../images/background.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Gradient overlay for redesign look */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.85) 0%, 
        rgba(118, 75, 162, 0.85) 50%, 
        rgba(240, 147, 251, 0.85) 100%);
    z-index: -1;
}

/* Decorative light spots */
.background-overlay::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%);
    pointer-events: none;
}

/* Brand Text - White for gradient background */
.brand-text {
    color: white;
    font-family: 'Anton', sans-serif;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
    margin-top: 5px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

/* Responsive brand text sizing */
@media (min-width: 576px) {
    .brand-text {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .brand-text {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .brand-text {
        font-size: 2.75rem;
    }
}

/* Header Styling */
header {
    border-color: transparent !important;
    background: transparent;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

/* Header Logo - White background with shadow */
.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (min-width: 576px) {
    .header-logo {
        height: 70px;
        border-radius: 18px;
        padding: 10px;
    }
}

@media (min-width: 768px) {
    .header-logo {
        height: 80px;
        border-radius: 20px;
        padding: 12px;
    }
}

/* Primary Button Styling - Gradient Style */
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-purple) 0%, #8b5cf6 100%);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #5a67d8 0%, #7c3aed 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* Start/CTA Button - Blue Gradient */
.btn-start,
.btn-cta-primary {
    background: var(--brand-primary);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.4);
}

.btn-start:hover,
.btn-cta-primary:hover,
.btn-start:focus,
.btn-cta-primary:focus {
    background: var(--brand-primary-dark);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 153, 255, 0.5);
}

/* Secondary/Outline Button */
.btn-outline-secondary,
.btn-secondary {
    background: white;
    color: var(--gradient-purple);
    border: 2px solid #e2e8f0;
    font-weight: 600;
}

.btn-outline-secondary:hover,
.btn-secondary:hover,
.btn-outline-secondary:focus,
.btn-secondary:focus {
    background: white;
    border-color: var(--gradient-purple);
    color: var(--gradient-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

/* Link Styling */
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #0077cc;
}

/* Footer Styling */
footer {
    border-color: transparent !important;
    background: transparent;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: white;
}

/* Quiz Container */
.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   MAIN CONTENT BOX - White Card Design
   Applied to all main content areas
   ============================================================ */
.main-content-box {
    background: var(--content-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--content-radius);
    padding: 50px 40px;
    box-shadow: var(--content-shadow);
    animation: fadeInUp 0.8s ease;
}

/* Smaller padding on mobile */
@media (max-width: 575.98px) {
    .main-content-box {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 0 -0.5rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .main-content-box {
        padding: 40px 30px;
        border-radius: 25px;
    }
}

/* Page Title Styling - Redesign */
.page-title {
    font-family: var(--font-family-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--gradient-purple);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-title .highlight {
    color: var(--accent-pink);
}

@media (min-width: 576px) {
    .page-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

/* Page Subtitle */
.page-subtitle {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

@media (min-width: 576px) {
    .page-subtitle {
        font-size: 1.125rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Animation */
.header-animated {
    animation: fadeInDown 0.8s ease;
}

/* Progress Counter */
.progress-counter {
    color: var(--brand-secondary);
    font-size: 1.125rem;
    font-weight: 500;
}

/* Question Text */
.question-text {
    color: var(--brand-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Car Image Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.car-option {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all var(--transition-speed) ease;
}

.car-option:hover {
    border-color: var(--gradient-purple);
    transform: scale(1.02);
}

.car-option.selected {
    border-color: var(--gradient-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.car-option img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* Form Styling */
.form-label {
    color: var(--brand-secondary);
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--gradient-purple);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.form-check-input:checked {
    background-color: var(--gradient-purple);
    border-color: var(--gradient-purple);
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 2rem 0;
}

.thank-you-title {
    font-family: var(--font-family-display);
    color: var(--gradient-purple);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.social-share a:hover {
    transform: scale(1.1);
    opacity: 0.9;
    color: white;
}

.social-share .facebook { background-color: #1877f2; }
.social-share .twitter { background-color: #000000; }
.social-share .whatsapp { background-color: #25d366; }
.social-share .linkedin { background-color: #0077b5; }

/* Sponsor Logos */
.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor-logos img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.sponsor-logos img:hover {
    opacity: 1;
}

/* Animation for Selection */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.car-option.selecting {
    animation: pulse 0.3s ease;
}

/* Error Messages */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
}

/* Progress Dots */
.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dee2e6;
    transition: background-color var(--transition-speed);
}

.progress-dots .dot.completed {
    background-color: var(--gradient-purple);
}

.progress-dots .dot.active {
    background-color: var(--gradient-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.progress-text {
    color: var(--brand-secondary);
    font-weight: 500;
}

/* Progress Bar Brand Color - Gradient */
.progress-bar {
    background: linear-gradient(135deg, var(--gradient-purple) 0%, #8b5cf6 100%);
}

/* Car Image Wrapper for Selection Overlay */
.car-image-wrapper {
    position: relative;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed);
}

.selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.selection-overlay i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.car-option.selected .selection-overlay {
    opacity: 1;
}

.car-option.selected .car-image {
    transform: scale(1.05);
}

/* Option Label */
.option-label {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Email Container */
.email-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.email-form .form-control-lg {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
}

/* Thanks Container */
.thanks-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem 1rem;
}

.score-display .alert {
    display: inline-block;
    padding: 0.75rem 1.5rem;
}

/* ============================================================
   PHASE 4: MOBILE-FIRST RESPONSIVE STYLES
   ============================================================ */

/* Mobile-First Base (320px and up) */
/* Touch target minimum size: 44px */
:root {
    --touch-target-min: 44px;
    --mobile-gap: 0.5rem;
    --mobile-padding: 1rem;
}

/* Ensure body fills viewport on mobile */
html, body {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
}

/* Mobile container - full width with safe area padding */
.container {
    padding-left: max(var(--mobile-padding), env(safe-area-inset-left));
    padding-right: max(var(--mobile-padding), env(safe-area-inset-right));
}

/* Mobile Header */
@media (max-width: 575.98px) {
    header {
        padding: 0.5rem 0 !important;
        margin-bottom: 0.75rem !important;
    }
    
    header .fs-4 {
        font-size: 1.25rem !important;
    }
    
    /* Smaller logo on mobile to save space */
    .header-logo {
        height: 32px;
    }
}

/* Mobile Quiz Container - Full Width */
.quiz-container {
    max-width: 100%;
    padding: 0;
}

/* Mobile Car Grid - Full Width, Stacked on Tiny Screens */
.car-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mobile-gap);
    width: 100%;
}

/* Ensure images fill their containers */
.car-option {
    min-height: var(--touch-target-min);
    touch-action: manipulation; /* Prevent double-tap zoom */
    -webkit-tap-highlight-color: transparent; /* Remove iOS tap highlight */
}

/* Touch-friendly car images */
.car-image-wrapper {
    aspect-ratio: 4/3;
    width: 100%;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Progress Indicator */
.progress-container {
    margin-bottom: 1rem !important;
}

.progress-text {
    font-size: 0.875rem;
}

.progress-dots .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
}

/* Mobile Question Text */
.question-text {
    font-size: 1.125rem;
    margin-bottom: 1rem !important;
    padding: 0 0.25rem;
}

/* Mobile Form Elements - Minimum Touch Targets */
.form-control,
.form-control-lg {
    min-height: var(--touch-target-min);
    font-size: 16px !important; /* Prevent iOS zoom on focus */
}

.form-check {
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.form-check-label {
    line-height: 1.4;
    padding-top: 2px;
}

/* Mobile Buttons - Full Width, Touch Friendly */
.btn {
    min-height: var(--touch-target-min);
    padding: 0.75rem 1.5rem;
}

.btn-lg {
    min-height: 52px;
    font-size: 1.125rem;
}

.d-grid .btn {
    width: 100%;
}

/* Mobile Email Container */
.email-container {
    max-width: 100%;
    margin: 1rem auto;
    padding: 0;
}

.email-container .display-1 {
    font-size: 3rem;
}

.email-container .lead {
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile Social Share Buttons - Touch Friendly */
.social-share a {
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    min-width: var(--touch-target-min);
}

/* Mobile Footer */
@media (max-width: 575.98px) {
    footer {
        padding: 0.75rem 0 !important;
        margin-top: 1.5rem !important;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
    }
    
    footer p {
        font-size: 0.75rem;
    }
}

/* Option Label - Mobile Positioning */
.option-label {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    top: 6px;
    left: 6px;
}

/* Selection Overlay Icon - Mobile Size */
.selection-overlay i {
    font-size: 2rem;
}

/* Very Small Screens (< 375px) - Stack grid if needed */
@media (max-width: 374.98px) {
    .car-grid {
        gap: 0.375rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .progress-dots .dot {
        width: 6px;
        height: 6px;
        min-width: 6px;
    }
    
    .progress-dots {
        gap: 0.375rem;
    }
}

/* ============================================================
   PERFORMANCE OPTIMIZATIONS: 60FPS ANIMATIONS
   Only use transform and opacity for GPU-accelerated animations
   ============================================================ */

/* Promote animated elements to their own layer */
.car-option,
.car-image,
.selection-overlay,
.btn,
.social-share a {
    will-change: transform, opacity;
    transform: translateZ(0); /* Force GPU layer */
    backface-visibility: hidden;
}

/* Optimized hover/active states - transform only */
.car-option {
    transform: scale(1);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.car-option:active {
    transform: scale(0.98);
}

.car-option.selected {
    transform: scale(1);
}

/* Optimized image scaling - transform only */
.car-image {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-option.selected .car-image {
    transform: scale(1.03);
}

/* Optimized overlay - opacity only */
.selection-overlay {
    transition: opacity 0.2s ease;
}

/* Optimized button interactions */
.btn {
    transition: transform 0.15s ease,
                opacity 0.15s ease,
                background-color 0.15s ease,
                border-color 0.15s ease;
}

.btn:active {
    transform: scale(0.98);
}

/* Optimized social share buttons */
.social-share a {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
}

.social-share a:active {
    transform: scale(0.95);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Remove old pulse animation - replace with transform-based */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   PHASE 5: TABLET & DESKTOP EXPERIENCE
   Enhanced layout, hover states, and optimized spacing for larger screens
   ============================================================ */

/* Tablet Breakpoint (576px - 991px) */
@media (min-width: 576px) {
    /* Centered container with max-width */
    .quiz-container,
    .email-container,
    .thanks-container {
        max-width: 540px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
    
    /* Landing page can be wider */
    .landing-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
    
    /* Larger progress dots */
    .progress-dots .dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }
    
    /* Slightly larger question text */
    .question-text {
        font-size: 1.25rem;
        margin-bottom: 1.25rem !important;
    }
    
    /* Improved grid gap */
    .car-grid {
        gap: 0.75rem;
    }
    
    /* Larger option labels */
    .option-label {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
        top: 8px;
        left: 8px;
    }
    
    /* Larger selection overlay icon */
    .selection-overlay i {
        font-size: 2.5rem;
    }
    
    /* Header adjustments */
    header .fs-4 {
        font-size: calc(2.275rem + 0.3vw) !important;
    }
}

/* Desktop Breakpoint (992px and up) */
@media (min-width: 992px) {
    /* Wider centered container for desktop */
    .quiz-container,
    .email-container,
    .thanks-container {
        max-width: 700px;
        padding: 0 2rem;
    }
    
    /* Landing page can be wider */
    .landing-container {
        max-width: 900px;
        padding: 0 2rem;
    }
    
    /* Larger question text */
    .question-text {
        font-size: 1.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    /* Optimized grid spacing for desktop */
    .car-grid {
        gap: 1.25rem;
    }
    
    /* Larger progress dots for desktop */
    .progress-dots .dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
    }
    
    .progress-dots {
        gap: 0.625rem;
    }
    
    /* Desktop option labels */
    .option-label {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 10px;
        left: 10px;
    }
    
    /* Desktop selection overlay icon */
    .selection-overlay i {
        font-size: 3rem;
    }
    
    /* Desktop social share buttons - larger */
    .social-share a {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 1.5rem;
    }
    
    /* Desktop sponsor logos */
    .sponsor-logos img {
        max-height: 60px;
    }
}

/* Large Desktop Breakpoint (1200px and up) */
@media (min-width: 1200px) {
    .quiz-container {
        max-width: 800px;
    }
    
    .thanks-container {
        max-width: 800px;
    }
    
    /* Larger grid gap for extra large screens */
    .car-grid {
        gap: 1.5rem;
    }
}

/* ============================================================
   DESKTOP HOVER STATES
   Subtle scale and shadow effects for non-touch devices
   ============================================================ */

/* Only apply hover states on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    /* Car option hover effect - subtle scale with shadow */
    .car-option:hover {
        transform: scale(1.03);
        border-color: var(--gradient-purple);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25),
                    0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Image zoom on hover */
    .car-option:hover .car-image {
        transform: scale(1.05);
    }
    
    /* Subtle overlay hint on hover */
    .car-option:hover .selection-overlay {
        opacity: 0.15;
    }
    
    /* Selected state overrides hover */
    .car-option.selected:hover {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3),
                    0 8px 25px rgba(99, 102, 241, 0.2);
    }
    
    .car-option.selected:hover .selection-overlay {
        opacity: 1;
    }
    
    /* Button hover enhancement - already handled by new btn styles */
    
    /* Social share button hover */
    .social-share a:hover {
        transform: scale(1.15) translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Option label hover - slight pop */
    .car-option:hover .option-label {
        background-color: var(--gradient-purple);
        transform: scale(1.1);
    }
    
    /* Smooth transitions for hover states */
    .option-label {
        transition: background-color 0.2s ease,
                    transform 0.2s ease;
    }
}

/* Focus styles for keyboard navigation (accessibility) */
.car-option:focus-visible {
    outline: 3px solid var(--gradient-purple);
    outline-offset: 2px;
    border-color: var(--gradient-purple);
}

.btn:focus-visible {
    outline: 3px solid var(--gradient-purple);
    outline-offset: 2px;
}

.social-share a:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* ============================================================
   LANDING PAGE STYLES
   ============================================================ */

/* Landing Container */
.landing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    padding: 0;
    margin-bottom: 2rem;
}

.hero-headline {
    font-family: var(--font-family-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gradient-purple);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-headline em {
    font-style: normal;
    color: var(--accent-pink);
    display: block;
}

@media (min-width: 576px) {
    .hero-headline {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3rem;
    }
}

.hero-subline {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

@media (min-width: 576px) {
    .hero-subline {
        font-size: 1.125rem;
    }
}

/* Prize Strip - Tabs Style */
.prize-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.prize-item {
    padding: 12px 28px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: #64748b;
    font-size: 15px;
    transition: all 0.3s ease;
}

.prize-item:hover {
    border-color: var(--gradient-purple);
    color: var(--gradient-purple);
    transform: translateY(-2px);
}

.prize-item.active {
    background: linear-gradient(135deg, var(--gradient-purple) 0%, #8b5cf6 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.prize-separator {
    display: none;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
}

@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
        gap: 20px;
    }
}

.btn-cta-primary {
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 600;
    min-width: 200px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cta-secondary {
    padding: 18px 45px;
    font-size: 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Video Section */
.video-section {
    padding: 2rem 0;
    background-color: white;
    border-radius: 12px;
    margin: 0 -1rem;
    padding: 1.5rem 1rem;
}

.video-section-title {
    font-family: var(--font-family-brand);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.video-section-title em {
    font-style: italic;
}

/* Video Cards */
.video-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--brand-light);
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #333;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail.placeholder-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail.placeholder-thumb::before {
    content: '\F62A';
    font-family: 'bootstrap-icons';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity var(--transition-speed);
}

.play-overlay i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-card:hover .play-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.duration-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Video Info */
.video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.video-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-cta {
    align-self: flex-start;
    font-size: 0.8125rem;
}

.watched-badge {
    color: #198754;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Reminder Section */
.reminder-section {
    margin: 2rem 0;
}

.reminder-card {
    background: linear-gradient(135deg, var(--tip-bg-start) 0%, var(--tip-bg-end) 100%);
    border-left: 4px solid var(--tip-border);
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.reminder-card i {
    font-size: 1.75rem;
    color: var(--tip-border);
    flex-shrink: 0;
}

.reminder-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--tip-text);
    font-weight: 500;
    line-height: 1.6;
}

.reminder-card p strong {
    font-weight: 700;
}

/* Final CTA Section */
.final-cta {
    padding: 1rem 0;
    text-align: center;
}

.final-cta .btn-start {
    padding: 20px 60px;
    font-size: 18px;
}

/* ============================================================
   HINT FEATURE STYLES
   ============================================================ */

/* Hint Button */
.hint-section {
    margin-top: 1.5rem;
}

.btn-hint {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 50px;
    border-width: 2px;
}

.btn-hint:hover {
    background-color: var(--gradient-purple);
    border-color: var(--gradient-purple);
    color: white;
}

/* Hint Modal - Bottom Sheet on Mobile */
.hint-modal-content {
    border-radius: 16px 16px 0 0;
}

.hint-intro {
    font-size: 1rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.hint-note {
    text-align: center;
}

/* Video Embed Container */
.video-embed-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Prize Reminder Badges - Tab Style */
.prize-reminder {
    margin-top: 1rem;
}

.prize-reminder .badge {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================================
   LANDING PAGE RESPONSIVE STYLES
   ============================================================ */

@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .video-thumbnail {
        width: 150px;
        height: 100px;
    }
    
    .video-section {
        margin: 0;
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-subline {
        font-size: 1.25rem;
    }
    
    .landing-container {
        max-width: 900px;
    }
    
    /* Modal styling for larger screens */
    .hint-modal-content {
        border-radius: 16px;
    }
}

/* Desktop hover for video cards */
@media (hover: hover) and (pointer: fine) {
    .video-card:hover .play-overlay i {
        transform: scale(1.1);
    }
    
    .play-overlay i {
        transition: transform var(--transition-speed);
    }
}

/* ============================================================
   OUTLINE PRIMARY BUTTON - For secondary actions
   ============================================================ */
.btn-outline-primary {
    color: var(--gradient-purple);
    border: 2px solid var(--gradient-purple);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-purple);
    border-color: var(--gradient-purple);
    color: white;
}

