/* =========================================
   HERO TIMER & CALL-TO-ACTIONS
   Scoped to .timer-root
   Theme: Matching Hero Gradient & Glass
========================================= */

.timer-root {
    --timer-glass-bg: rgba(255, 255, 255, 0.1);
    --timer-glass-border: rgba(255, 255, 255, 0.2);
    --timer-accent: #a855f7;
    /* Purple */
    --timer-accent-secondary: #3b82f6;
    /* Blue */
    --timer-text: #ffffff;
    --timer-text-muted: rgba(255, 255, 255, 0.7);
    --timer-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-enhancement-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* --- REGISTRATION INFO PIN --- */
.registration-info-pin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.registration-info-pin i {
    color: #4ade80;
}

.registration-info-pin span {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .registration-info-pin {
        padding: 6px 12px;
        gap: 6px;
    }

    .registration-info-pin span {
        font-size: 0.8rem;
    }
}

/* --- COUNTDOWN TIMER --- */
.countdown-header {
    font-size: 0.9rem;
    color: var(--timer-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.countdown-container {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid var(--timer-glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--timer-shadow);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-val {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.8rem;
    color: #e0aaff;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.time-separator {
    font-size: 2.5rem;
    color: #875A7B;
    margin-top: -8px;
    text-shadow: 0 0 10px rgba(135, 90, 123, 0.5);
}

/* --- CTA BUTTONS --- */
.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Shine Animation */
.btn-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: none;
    animation: glass-reflection 4s infinite;
}

@keyframes glass-reflection {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Secondary (Main Action) - Using Odoo Purple */
.btn-hero-secondary {
    background: linear-gradient(135deg, #c584b4, #ce73b0);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(135, 90, 123, 0.4);
}

.btn-hero-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(135, 90, 123, 0.6);
    color: #fff;
}

/* Outline (Secondary Action) */
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* --- INFO PINS --- */
.hero-pins-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.info-pin {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(135, 90, 123, 0.15);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-pin i {
    color: #e0aaff;
    /* Light purple for icon */
    font-size: 1.1rem;
}

.info-pin:hover {
    background: rgba(135, 90, 123, 0.25);
    border-color: rgba(135, 90, 123, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(135, 90, 123, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .countdown-container {
        padding: 15px;
        border-radius: 15px;
    }

    .time-val {
        font-size: 1.8rem;
    }

    .time-box {
        min-width: 50px;
    }

    .time-separator {
        font-size: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
    }

    .hero-pins-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .info-pin {
        width: 100%;
        justify-content: center;
    }
}