/* ============================================================
   YassClean — Premium Dark Theme
   Palette: #0a0a0a (bg), #ffffff (text), #ddff00 (accent)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-active: rgba(221, 255, 0, 0.4);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.3);
    --accent: #ddff00;
    --accent-dim: rgba(221, 255, 0, 0.15);
    --accent-glow: rgba(221, 255, 0, 0.25);
    --accent-shadow: rgba(221, 255, 0, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Animated Background ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(221, 255, 0, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridDrift 30s linear infinite;
}

.bg-glow {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(221, 255, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes gridDrift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 48px 48px;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    animation: logoEntrance 0.8s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(0.9);
        filter: brightness(0.5);
    }
    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.02);
        filter: brightness(1.3);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    box-shadow: 0 0 16px var(--accent-glow);
}

.step-dot.done {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

.step-line {
    width: 32px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    transition: var(--transition);
}

.step-line.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ---------- Main Layout ---------- */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 64px;
}

.step {
    display: none;
    min-height: calc(100vh - 64px);
    animation: fadeSlideIn 0.5s ease forwards;
}

.step.active {
    display: flex;
}

.step-inner {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
}

.step-inner--wide {
    max-width: 820px;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Step 1: Hero ---------- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(221, 255, 0, 0.2);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 460px;
}

/* Out-of-Area Message */
.area-message {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: #ffb74d;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.area-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: rgba(221, 255, 0, 0.12);
    border: 1px solid rgba(221, 255, 0, 0.3);
    border-radius: var(--radius-xs);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.area-call-btn:hover {
    background: rgba(221, 255, 0, 0.2);
    border-color: var(--accent);
}

/* Address Input */
.address-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.address-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0 20px;
    transition: var(--transition);
    height: 60px;
}

.address-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim), 0 0 30px rgba(221, 255, 0, 0.08);
}

.address-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.address-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    height: 100%;
}

.address-input::placeholder {
    color: var(--text-muted);
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    font-family: 'Inter', sans-serif !important;
    padding: 6px !important;
    z-index: 10000 !important;
}

.pac-item {
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    transition: background 0.15s !important;
}

.pac-item:hover {
    background: rgba(221, 255, 0, 0.08) !important;
}

.pac-item-selected {
    background: rgba(221, 255, 0, 0.12) !important;
}

.pac-item-query {
    color: #fff !important;
    font-weight: 500 !important;
}

.pac-matched {
    color: var(--accent) !important;
    font-weight: 600 !important;
}

.pac-icon {
    display: none !important;
}

.pac-item span {
    color: rgba(255, 255, 255, 0.5) !important;
}

.pac-item-query span {
    color: #fff !important;
}

.pac-logo::after {
    display: none !important;
}

/* Or Divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Call Button */
.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
    height: 48px;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-call:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(221, 255, 0, 0.06);
}

.btn-call-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 32px;
    height: 56px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px var(--accent-shadow), 0 0 60px rgba(221, 255, 0, 0.04);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow), 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled::before {
    display: none;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-large {
    height: 62px;
    font-size: 1.1rem;
    padding: 0 40px;
    border-radius: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.back-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text);
    border-color: var(--accent);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ---------- Step 2: Property Details ---------- */
.lookup-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.loader-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

.loader-sub {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Lookup Status */
.lookup-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 8px;
    width: fit-content;
    letter-spacing: 0.03em;
}

.lookup-verified {
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.lookup-verified svg {
    color: #00e676;
    flex-shrink: 0;
}

.lookup-unverified {
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.property-form.hidden {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.label-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.optional-tag {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--bg-card);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.selector-group {
    display: flex;
    gap: 10px;
}

.selector-btn {
    flex: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.selector-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.selector-btn.active {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(221, 255, 0, 0.1);
}

.text-input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.text-input::placeholder {
    color: var(--text-muted);
}

.text-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim);
}

/* Select dropdown dark theme fix */
.text-input option {
    background: #1a1a1a;
    color: #fff;
}

.slot-row {
    display: flex;
    gap: 12px;
}

.slot-date {
    flex: 1.2;
}

.slot-time {
    flex: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* First Available checkbox */
.first-available-row {
    margin-bottom: 1rem;
    background: rgba(221, 255, 0, 0.04);
    border: 1.5px solid rgba(221, 255, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: var(--transition);
}

.first-available-row:has(input:checked) {
    background: rgba(221, 255, 0, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(221, 255, 0, 0.08);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(221, 255, 0, 0.4);
    border-radius: 5px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(221, 255, 0, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\2713';
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

/* ---------- Step 3: Pricing ---------- */
.quote-header {
    margin-bottom: 2rem;
}

.property-summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

.property-summary .divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.4rem;
}

.subsection-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Deep Clean Hero Card */
.pricing-hero-card {
    background: linear-gradient(135deg, rgba(221, 255, 0, 0.08) 0%, rgba(221, 255, 0, 0.02) 100%);
    border: 1.5px solid rgba(221, 255, 0, 0.25);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    transition: var(--transition);
}

.pricing-hero-card:hover {
    border-color: rgba(221, 255, 0, 0.5);
    box-shadow: 0 0 40px var(--accent-shadow), 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-card-info {
    flex: 1;
    min-width: 200px;
}

.hero-card-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    background: var(--accent);
    margin-bottom: 0.75rem;
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.hero-card-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.hero-card-price {
    text-align: right;
}

.price-large {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
}

.price-cents {
    font-size: 1.4rem;
    font-weight: 700;
    vertical-align: super;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

/* Tier adjustment notes */
.tier-note {
    font-size: 0.7rem;
    color: var(--accent);
    margin-top: 6px;
    opacity: 0.85;
}

.surcharge-note {
    color: #ff9f43;
}

.move-price-wrapper {
    text-align: right;
    flex-shrink: 0;
}

/* Custom Quote Card */
.custom-quote-card {
    border-style: dashed !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    margin-top: 0.5rem;
}

.custom-quote-card:hover {
    border-color: var(--accent) !important;
    background: rgba(221, 255, 0, 0.03) !important;
}

.custom-quote-card.selected {
    border-color: var(--accent) !important;
    border-style: solid !important;
    background: rgba(221, 255, 0, 0.06) !important;
}

.custom-quote-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-quote-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.custom-quote-card:hover .custom-quote-arrow,
.custom-quote-card.selected .custom-quote-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* Promotion Banner */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, rgba(221, 255, 0, 0.12) 0%, rgba(221, 255, 0, 0.04) 100%);
    border: 1px solid rgba(221, 255, 0, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
    animation: promoPulse 3s ease-in-out infinite;
}

.promo-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes promoPulse {
    0%, 100% { border-color: rgba(221, 255, 0, 0.25); }
    50% { border-color: rgba(221, 255, 0, 0.5); }
}

/* Maintenance Frequency Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.freq-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.freq-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-shadow);
}

.freq-card.featured {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.04);
}

.freq-card.featured:hover {
    box-shadow: 0 12px 40px rgba(221, 255, 0, 0.1);
}

.freq-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.badge-popular {
    background: var(--accent);
    color: #000;
}

.badge-best {
    background: #fff;
    color: #000;
}

.freq-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.freq-discount {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.freq-price {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.freq-price .cents {
    font-size: 1rem;
    font-weight: 700;
    vertical-align: super;
}

.freq-per {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.freq-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.freq-features {
    list-style: none;
    text-align: left;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.freq-features li {
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.freq-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Move-In/Out Card */
.pricing-single {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    transition: var(--transition);
}

.pricing-single:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

.single-info {
    flex: 1;
    min-width: 180px;
}

.single-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.single-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.single-price {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.single-price .cents {
    font-size: 1rem;
    vertical-align: super;
}

/* Add-ons Grid */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.addon-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: default;
}

.addon-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

.addon-name {
    font-weight: 500;
    color: var(--text-dim);
    grid-column: 1;
}

.addon-price {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    font-size: 0.85rem;
    text-align: right;
}

/* Quantity counter for multi-select add-ons */
.addon-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.addon-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.addon-qty-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(221, 255, 0, 0.08);
}

.addon-qty-count {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 18px;
    text-align: center;
    color: var(--text);
}

.addon-item.has-qty {
    cursor: default;
}

.addon-item.has-qty.selected {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.04);
}

/* Carpet Grid */
.carpet-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.carpet-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.carpet-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.carpet-tier {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.carpet-tier-accent {
    color: var(--accent);
}

.carpet-details-toggle {
    font-size: 0.75rem;
    color: var(--accent);
    cursor: pointer;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.carpet-details-toggle:hover {
    opacity: 1;
}

.carpet-details-toggle .toggle-arrow {
    transition: transform 0.2s;
    font-size: 0.85rem;
}

.carpet-details-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

.carpet-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    margin-bottom: 0;
}

.carpet-desc.open {
    max-height: 300px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.carpet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}

.carpet-row:last-child {
    border-bottom: none;
}

.carpet-rooms {
    color: var(--text-dim);
}

.carpet-price {
    font-weight: 700;
}

/* CTA */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-section .btn-primary {
    text-decoration: none;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ---------- Selectable Service Cards ---------- */
.pricing-hero-card.selectable,
.freq-card.selectable,
.pricing-single.selectable,
.carpet-card.selectable,
.addon-item.selectable {
    cursor: pointer;
    position: relative;
}

.select-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.select-check svg {
    width: 14px;
    height: 14px;
    color: transparent;
    transition: var(--transition);
}

.selected .select-check {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.selected .select-check svg {
    color: #000;
}

.pricing-hero-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(221, 255, 0, 0.12);
}

.freq-card.selected {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.06);
}

.pricing-single.selected {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.04);
}

.carpet-card.selected {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.04);
}

.addon-item.selected {
    border-color: var(--accent);
    background: rgba(221, 255, 0, 0.06);
}

.addon-item .select-check {
    position: static;
    width: 22px;
    height: 22px;
    margin-left: 10px;
}

.addon-item .select-check svg {
    width: 12px;
    height: 12px;
}

.cta-hint {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ---------- Step 4: Booking ---------- */
.slot-row {
    display: flex;
    gap: 10px;
}

.slot-date {
    flex: 1.2;
}

.slot-time {
    flex: 0.8;
}

.text-input select,
select.text-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Date input fix for dark theme */
input[type="date"].text-input {
    color-scheme: dark;
}

.booking-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.booking-summary-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
}

.booking-summary-item:last-child {
    border-bottom: none;
}

.booking-summary-name {
    color: var(--text-dim);
}

.booking-summary-price {
    font-weight: 700;
    color: var(--accent);
}

.booking-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1.5px solid var(--border);
    font-size: 1rem;
    font-weight: 800;
}

.booking-summary-total .booking-summary-price {
    font-size: 1.15rem;
}

.booking-summary-recurring {
    border-top: 1px dashed var(--border);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.booking-summary-recurring-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
    padding: 8px 12px;
    background: rgba(221, 255, 0, 0.04);
    border-radius: var(--radius-xs);
    border-left: 2px solid var(--accent);
}

.recurring-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(221, 255, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(221, 255, 0, 0.2);
    margin-left: 8px;
    vertical-align: middle;
}

.recurring-price-dim {
    opacity: 0.5;
}

.booking-summary-note {
    font-size: 0.8rem;
    color: #ff9f43;
    padding: 10px 12px;
    background: rgba(255, 159, 67, 0.08);
    border-radius: var(--radius-xs);
    border-left: 2px solid #ff9f43;
    margin-bottom: 0.75rem;
}

.plan-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(221, 255, 0, 0.04);
    border: 1px solid rgba(221, 255, 0, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.plan-info-banner strong {
    color: var(--accent);
    font-weight: 700;
}

.plan-info-banner svg {
    color: var(--accent);
    margin-top: 1px;
}

/* Confirmation */
.booking-confirmation {
    text-align: center;
    padding: 3rem 1.5rem;
    animation: fadeSlideIn 0.5s ease forwards;
}

.confirmation-icon {
    margin-bottom: 1.5rem;
}

.confirmation-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.confirmation-text {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.confirmation-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto;
}

.confirmation-details strong {
    color: var(--text);
    font-weight: 600;
}

/* ---------- Thank You Page ---------- */
.thankyou-section {
    margin-top: 2rem;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

/* Timeline */
.thankyou-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content strong {
    color: var(--text);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.15rem;
    line-height: 1.5;
}

/* Checklist */
.thankyou-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.thankyou-checklist li {
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.thankyou-checklist li::before {
    content: '\2610  ';
    color: var(--accent);
}

/* Family Section */
.thankyou-family {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.family-photo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
}

.family-message p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.thankyou-cta {
    margin-top: 2rem;
    text-align: center;
}

.thankyou-cta p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.btn-secondary {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--accent);
}

@media (max-width: 500px) {
    .thankyou-family {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .family-photo {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }
}

/* ---------- Deep Clean FAQ Toggle ---------- */
.deep-clean-faq-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
    margin-top: 0.5rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.deep-clean-faq-toggle:hover {
    opacity: 0.8;
}

.deep-clean-faq-toggle .faq-arrow {
    transition: transform 0.3s;
    font-size: 0.7rem;
}

.deep-clean-faq-toggle.open .faq-arrow {
    transform: rotate(180deg);
}

.deep-clean-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s;
    opacity: 0;
}

.deep-clean-faq-content.open {
    max-height: 400px;
    opacity: 1;
}

.deep-clean-faq-inner {
    margin-top: 0.75rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.deep-clean-faq-inner strong {
    color: var(--text);
    font-weight: 600;
}

.faq-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 0.5rem;
}

.faq-includes span {
    font-size: 0.8rem;
}

.faq-includes span::before {
    content: '\2713 ';
    color: var(--accent);
    font-weight: 700;
}

/* ---------- Count-up animation ---------- */
.price-animate {
    animation: priceReveal 0.6s ease forwards;
}

@keyframes priceReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button spinner */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .step-inner {
        padding: 2rem 1.25rem 3rem;
    }

    .pricing-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card-price {
        text-align: left;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .pricing-single {
        flex-direction: column;
        align-items: flex-start;
    }

    .carpet-grid {
        grid-template-columns: 1fr;
    }

    .selector-group {
        gap: 8px;
    }

    .selector-btn {
        height: 50px;
        font-size: 1rem;
    }

    .trust-badges {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .price-large {
        font-size: 2.2rem;
    }

    .freq-price {
        font-size: 1.6rem;
    }

    .address-input-group {
        height: 54px;
        padding: 0 16px;
    }

    .btn-primary {
        height: 50px;
        padding: 0 24px;
        font-size: 0.9rem;
    }
}