/* ========================================
   RESET & GLOBALS
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* BunkBikes Theme Colors */
    --primary-yellow: #FFD600;
    --primary-dark: #FFC107;
    --primary-light: #FFEB3B;
    --accent: #FFF9C4;
    --background: #FFFFFF;
    --background-alt: #FAFAFA;
    --text: #212121;
    --text-light: #757575;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   COUNTDOWN OVERLAY (Z-INDEX 9999)
   ======================================== */

.countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    /* Very light frosted glass - background clearly visible */
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.25),
            rgba(255, 248, 225, 0.18),
            rgba(255, 202, 40, 0.10));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: fadeInOverlay 0.5s ease-out;
}

.countdown-overlay.hidden {
    display: none;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Background Animations */
.countdown-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.countdown-particle {
    position: absolute;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 12s infinite ease-in-out;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.radial-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(255, 215, 0, 0.08) 0%,
            rgba(255, 202, 40, 0.04) 30%,
            transparent 70%);
    animation: rotateBurst 60s linear infinite, pulseBurst 3s ease-in-out infinite;
}

@keyframes rotateBurst {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseBurst {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: waveMove 8s ease-in-out infinite;
}

.wave-2 {
    animation: waveMove 10s ease-in-out infinite reverse;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-25%) scaleY(1.1);
    }
}

/* Countdown Content */
.countdown-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    padding: 2rem;
    animation: slideUpContent 1s ease-out 0.3s both;
}

@keyframes slideUpContent {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-logo {
    display: none;
    /* Hidden per user request */
    margin-bottom: 2rem;
    animation: scaleInLogo 0.8s ease-out 0.8s both;
}

.countdown-logo svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.4));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes scaleInLogo {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.countdown-headline {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideUpContent 1s ease-out 1s both;
}

.countdown-headline h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #2C2C2C;
    background: linear-gradient(135deg, #2C2C2C 0%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.countdown-subheading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 600;
    color: #FFB800;
    letter-spacing: 0.5px;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    animation: scaleInLogo 1s ease-out 1.3s both;
}

.time-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem);
    min-width: clamp(100px, 15vw, 160px);
    text-align: center;
    box-shadow:
        0 8px 32px rgba(255, 184, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: shimmerCard 3s infinite;
}

@keyframes shimmerCard {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.time-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 12px 48px rgba(255, 184, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 2px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.time-number {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #2C2C2C;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.time-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.time-separator {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #FFD700;
    opacity: 0.6;
    animation: blinkSeparator 2s ease-in-out infinite;
}

@keyframes blinkSeparator {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.2;
    }
}

.countdown-message {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: slideUpContent 1s ease-out 1.6s both;
}

.inspirational-message {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: #555555;
    font-style: italic;
}

.countdown-progress-container {
    display: none;
    /* Hidden per user request */
    width: 100%;
    max-width: 500px;
    margin-bottom: 2.5rem;
    animation: slideUpContent 1s ease-out 1.8s both;
}

.countdown-progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    margin-bottom: 0.75rem;
}

.countdown-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    border-radius: 20px;
    transition: width 1s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.countdown-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressGlowMove 2s infinite;
}

@keyframes progressGlowMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.countdown-progress-text {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 1px;
}

.countdown-cta {
    display: none;
    /* Hidden per user request */
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C2C2C;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(255, 184, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    animation: scaleInLogo 1s ease-out 2s both;
    position: relative;
    overflow: hidden;
}

.countdown-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.countdown-cta:hover::before {
    width: 300px;
    height: 300px;
}

.countdown-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 36px rgba(255, 184, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.countdown-cta span {
    position: relative;
    z-index: 1;
}

.cta-icon {
    animation: bounceIcon 2s ease-in-out infinite;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.countdown-close {
    display: none;
    /* Hidden per user request */
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: #2C2C2C;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-close:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
}

/* ========================================
   MAIN PAGE (BACKGROUND)
   ======================================== */

.main-page {
    min-height: 100vh;
    background: #FAFAFA;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background: white;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-logo-link:hover {
    transform: scale(1.05);
}

.nav-logo-icon {
    font-size: 2.5rem;
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-wallet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #FFF9C4;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.nav-wallet:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.nav-user {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(to bottom right, #FFF7ED 0%, #FFFFFF 50%, #FFF7ED 100%);
    padding: 4rem 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content {
    text-align: center;
    animation: fadeInHero 0.8s ease-out;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-slogan {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto 3rem;
}

.booking-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2rem;
    text-align: center;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-icon {
    color: var(--primary-dark);
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

.form-input.locked {
    background: #FFF7ED;
    border-color: var(--primary-yellow);
    font-weight: 600;
    cursor: not-allowed;
}

.browse-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px var(--shadow);
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-lg);
}

.browse-btn svg {
    transition: transform 0.3s;
}

.browse-btn:hover svg {
    transform: translateX(4px);
}

.booking-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Trust Indicators */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInHero 1s ease-out 0.3s both;
}

.trust-card {
    text-align: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 4rem 0;
    background: white;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #F3F4F6;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: #FFF7ED;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #1F2937;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: white;
    color: var(--text);
    border-color: var(--text);
}

.cta-btn.primary:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

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

/* How It Works */
.how-it-works {
    text-align: center;
    margin-top: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(255, 214, 0, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.step-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-desc {
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9CA3AF;
}

.brand-highlight {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .nav-user {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .booking-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .countdown-content {
        padding: 1.5rem;
    }

    .countdown-logo svg {
        width: 50px;
        height: 50px;
    }

    .countdown-timer {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        max-width: 350px;
    }

    .time-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .time-separator:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .time-card:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .time-separator:nth-child(4) {
        display: none;
    }

    .time-card:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }

    .time-separator:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
        align-self: center;
    }

    .time-card:nth-child(7) {
        grid-column: 3;
        grid-row: 3;
    }

    .time-card {
        min-width: auto;
        padding: 1rem;
    }

    .countdown-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .countdown-cta {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}