/* ==========================================================================
   Aria Smile Design - Landing Page V4 Styles
   "Free Smile Estimate" variant: dark hero, price-anchored option cards,
   instant estimate reveal. Works with aria-tailwind-config-v4.js.
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    background-color: #F8F6F1;
    color: #15161A;
}

/* Hero: deep ink with warm gold glow so the white estimate card pops */
.bg-hero-v4 {
    background-color: #15161A;
    background-image:
        radial-gradient(900px 500px at 10% 0%, rgba(201, 162, 92, 0.22), transparent 60%),
        radial-gradient(700px 500px at 100% 100%, rgba(201, 162, 92, 0.10), transparent 60%),
        linear-gradient(180deg, #15161A 0%, #1F2128 100%);
}

/* Price tag chip used inside Step 1 cards */
.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F6EEDD;
    color: #A8863F;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* Estimate reveal banner (Step 4) */
.estimate-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #15161A 0%, #2A2C35 100%);
    color: #FFFFFF;
    border: 1px solid rgba(201, 162, 92, 0.45);
    box-shadow: 0 10px 24px rgba(21, 22, 26, 0.25);
}

    .estimate-banner .estimate-value {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 18px;
        color: #C9A25C;
        line-height: 1.15;
    }

/* Step dots */
.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #E4DDCF;
    transition: background .2s ease, transform .2s ease;
}

    .step-dot.is-active {
        background: #C9A25C;
        transform: scale(1.25);
    }

    .step-dot.is-done {
        background: #0F9D6E;
    }

/* Blinking live-dot for "estimate ready" */
@keyframes v4pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0F9D6E;
    animation: v4pulse 1.4s ease-in-out infinite;
}

/* Wizard step fade / slide transition */
.step-transition {
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

/* Option cards (Step 1 / Step 3) */
.option-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    min-height: 44px;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid #E4DDCF;
    border-radius: 14px;
    color: #1C1B19;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}

    .option-card:hover,
    .option-card:focus-visible {
        border-color: #C9A25C;
        box-shadow: 0 6px 18px rgba(201, 162, 92, 0.22);
        transform: translateY(-1px);
        outline: none;
    }

    .option-card.is-selected {
        border-color: #C9A25C;
        background: #FBF8F2;
    }

    .option-card:active {
        transform: translateY(0);
        background: #FBF8F2;
    }

    .option-card .option-icon {
        color: #B89759;
        font-size: 18px;
        line-height: 1;
    }

    .option-card .option-chevron {
        color: #A39D92;
        transition: color .15s ease, transform .15s ease;
    }

    .option-card:hover .option-chevron {
        color: #B89759;
        transform: translateX(2px);
    }

/* Primary CTA */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    background: #B89759;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(184, 151, 89, 0.35);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

    .btn-primary:hover {
        background: #9A7D46;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(184, 151, 89, 0.40);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-primary:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

/* Secondary CTA (outline) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    background: #FFFFFF;
    color: #1C1B19;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #1C1B19;
    border-radius: 12px;
    transition: background .15s ease, color .15s ease;
}

    .btn-secondary:hover {
        background: #1C1B19;
        color: #FFFFFF;
    }

/* Inputs */
.input-v3 {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1px solid #E4DDCF;
    border-radius: 12px;
    color: #1C1B19;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .input-v3::placeholder {
        color: #A39D92;
    }

    .input-v3:focus {
        outline: none;
        border-color: #B89759;
        box-shadow: 0 0 0 3px rgba(184, 151, 89, 0.18);
    }

    .input-v3.is-invalid {
        border-color: #DC2626;
    }

/* Quick location pills */
.pill-v3 {
    min-height: 44px;
    background: #FFFFFF;
    border: 1px solid #E4DDCF;
    border-radius: 999px;
    color: #1C1B19;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

    .pill-v3:hover,
    .pill-v3.is-active {
        border-color: #B89759;
        background: #F3EBDD;
    }

/* Location dropdown */
#location-dropdown-menu {
    background: #FFFFFF;
    color: #1C1B19;
}

    #location-dropdown-menu > div:hover {
        background: #F3EBDD;
    }

/* Video Modal */
#video-modal,
#clinic-video-modal {
    backdrop-filter: blur(5px);
}

/* Hide scrollbar for smooth internal scrolling */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Reserve space so the mobile sticky CTA bar never covers page content */
@media (max-width: 639.98px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
}
