/* Countdown Timer */
* {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.countdown-timer {
    padding: 1.2rem 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 6px 20px rgba(156, 77, 142, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 75px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.time-box:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.time-box span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffca18;
    display: block;
    letter-spacing: 0.5px;
}

.time-box small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.3rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}



/* Step Progress Bar */
.step-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(156, 77, 142, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #9c4d8e 0%, #b86ba8 100%);
    transition: width 0.4s ease;
    border-radius: 4px;
}



.step-indicators {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-indicator.completed .step-number {
    background: linear-gradient(135deg, #9c4d8e 0%, #b86ba8 100%);
    color: white;
}

.step-indicator.completed .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(156, 77, 142, 0.15);
    border: 3px solid #9c4d8e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #9c4d8e;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background: linear-gradient(135deg, #9c4d8e 0%, #b86ba8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(156, 77, 142, 0.3);
    transform: scale(1.1);
}

.step-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}
/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 600px) {
    .countdown-timer {
        gap: 0.4rem;
        padding: 0.8rem 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .time-box {
        min-width: 55px;
        padding: 0.6rem 0.7rem;
        flex-shrink: 0;
    }

    .time-box span {
        font-size: 1.3rem;
    }

    .time-box small {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .countdown-timer {
        gap: 0.3rem;
        padding: 0.7rem 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .time-box {
        min-width: 50px;
        padding: 0.5rem 0.6rem;
        flex-shrink: 0;
    }

    .time-box span {
        font-size: 1.2rem;
    }

    .time-box small {
        font-size: 0.6rem;
    }
}
/* Mobile Responsive - Horizontal bar at top */
@media (max-width: 768px) {
    .step-progress {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        padding: 1.5rem 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
    }

    .step-progress-bar {
        margin-bottom: 1.5rem;
    }

    .step-indicators {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .step-indicator {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        flex: 1;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-indicator.active .step-number {
        transform: scale(1.05);
    }

    .step-label {
        font-size: 0.85rem;
    }

    /* Add padding to hero section to avoid overlap with progress bar */
    .hero.survey-hero {
        padding-top: 12rem !important;
    }
    
    .logo-container {
        top: 10rem !important;
    }
}