/* ===== HERO SECTION ===== */
.vds-hero {
    background: var(--hero-gradient, linear-gradient(135deg, #4A3AFF, #6B4EFF));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.8s ease forwards;
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== CALCULATOR CARD ===== */
.calc-card {
    background: white;
    border-radius: 15px;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.slider-block .value-label {
    font-weight: bold;
    color: var(--primary-color);
}

/* Custom range slider */
.custom-range {
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #4A3AFF, #6B4EFF);
    outline: none;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid #4A3AFF;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.custom-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid #4A3AFF;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Tooltip above slider thumb */
.slider-tooltip {
    position: absolute;
    background: #4A3AFF;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    transform: translate(-50%, -150%);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.slider-block:hover .slider-tooltip {
    opacity: 1;
}

/* Options */
.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.option-card {
    flex: 1 1 calc(50% - 1rem);
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.option-card:hover {
    border-color: var(--primary-color);
}
.option-card input {
    margin-right: 0.5rem;
}

/* Summary card */
.sticky-summary {
    background: #f8f9fa;
    border-radius: 15px;
    position: sticky;
    top: 20px;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* ===== Mobile Floating Bar ===== */
@media (max-width: 767px) {
    .sticky-summary {
        display: none;
    }
    .mobile-summary-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #4A3AFF, #6B4EFF);
        color: #fff;
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    }
    .mobile-summary-bar button {
        background: #fff;
        color: #4A3AFF;
        font-weight: bold;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
    }
}

/* ===== Dynamic Slider Tooltip ===== */
.slider-tooltip {
    position: absolute;
    top: -35px;
    background: #4A3AFF;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.slider-block.active .slider-tooltip {
    opacity: 1;
}