/* ======= Calculator Premium Theme (Aligned With Brand Tokens) ======= */
.calculator-title {
    background-image:
        linear-gradient(130deg, rgba(6, 17, 25, 0.96), rgba(16, 28, 35, 0.95)),
        var(--pattern-grid);
}

.calculator-value-strip {
    background: linear-gradient(180deg, rgba(16, 28, 35, 0.92), rgba(16, 28, 35, 0.75));
    border-top: 1px solid rgba(227, 161, 39, 0.25);
    border-bottom: 1px solid rgba(227, 161, 39, 0.18);
    padding: 14px 0;
}

.value-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--heading-color);
    background: rgba(3, 17, 25, 0.45);
    border: 1px solid rgba(227, 161, 39, 0.24);
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.92rem;
}

.value-pill i {
    color: var(--accent-color);
}

.calculator-main-section {
    background:
        radial-gradient(circle at 10% 15%, rgba(227, 161, 39, 0.08), transparent 35%),
        radial-gradient(circle at 90% 10%, rgba(34, 197, 94, 0.08), transparent 30%),
        linear-gradient(180deg, #f7f9fb 0%, #eef2f5 100%);
}

.calculator-main-section .progress {
    background-color: #d7dde4;
    border-radius: 999px;
}

.calculator-main-section .progress-bar {
    background: linear-gradient(90deg, #d49522, var(--accent-color));
}

.calculator-main-section .card {
    border: 1px solid rgba(16, 28, 35, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(3, 17, 25, 0.08);
}

.calculator-main-section .card-header {
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
}

.option-card-inner {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    border-color: rgba(16, 28, 35, 0.14) !important;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(180deg, #fff 0%, #f9fbfc 100%);
}

.option-card-inner:hover {
    border-color: rgba(227, 161, 39, 0.9) !important;
    box-shadow: 0 10px 18px rgba(3, 17, 25, 0.12);
    transform: translateY(-4px);
}

.calc-radio:checked + .option-card-inner {
    border-color: var(--accent-color) !important;
    background: linear-gradient(160deg, rgba(227, 161, 39, 0.14), rgba(227, 161, 39, 0.04));
    box-shadow: 0 0 0 3px rgba(227, 161, 39, 0.28), 0 12px 20px rgba(3, 17, 25, 0.12);
}

.service-card {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    border-color: rgba(16, 28, 35, 0.14) !important;
    border-radius: 12px;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(3, 17, 25, 0.11);
    border-color: rgba(227, 161, 39, 0.6) !important;
}

.service-card.selected {
    border-color: var(--accent-color) !important;
    background: linear-gradient(150deg, rgba(227, 161, 39, 0.12), rgba(227, 161, 39, 0.03));
}

.cursor-pointer { cursor: pointer; }
.step { animation: fadeIn .32s ease; }

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

.calculator-main-section .btn-primary,
.calculator-main-section .btn-success {
    background: linear-gradient(130deg, #c98b1d, var(--accent-color));
    border-color: #c98b1d;
    color: #fff;
    box-shadow: 0 8px 16px rgba(201, 139, 29, 0.28);
}

.calculator-main-section .btn-primary:hover,
.calculator-main-section .btn-success:hover {
    background: linear-gradient(130deg, #b87e18, #d79a24);
    border-color: #b87e18;
    transform: translateY(-1px);
}

.form-range::-webkit-slider-thumb {
    background: var(--accent-color);
    border: 0;
}

.form-range::-moz-range-thumb {
    background: var(--accent-color);
    border: 0;
}

/* ======= Website Cost Section (Home) ======= */
.wc-section {
    padding: 36px 0 22px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.wc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-grid);
    pointer-events: none;
}
.wc-section::after {
        content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pattern-grid);
    pointer-events: none;
    z-index: -1;
}

.wc-inner {
    position: relative;
    z-index: 1;
}

/* Eyebrow label */
.wc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color, #d49522);
    background: rgba(227, 161, 39, 0.1);
    border: 1px solid rgba(227, 161, 39, 0.25);
    border-radius: 999px;
    padding: 5px 14px 5px 10px;
    margin-bottom: 16px;
}

/* Heading */
.wc-heading {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--heading-color, #0d1a26);
    margin-bottom: 16px;
}

/* Description */
.wc-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--default-color, #3e4a56);
    max-width: 520px;
    margin-bottom: 24px;
}

/* Pills row */
.wc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.wc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #efefcc;
    background: rgba(16, 3, 82, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 10px;
    padding: 5px 14px 5px 10px;
}

.wc-pill svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* CTA Button */
.wc-cta {
    position: relative;
    display: inline-flex;
    gap: 10px;
    padding: 9px 28px;
    font-size: 1rem;
    font-weight: 700;
    color: #0d1a26;
    background: linear-gradient(130deg, #f5c842 0%, #d49522 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(213, 149, 34, 0.38);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.wc-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(213, 149, 34, 0.48);
    color: #0d1a26;
    text-decoration: none;
}

.wc-cta:active {
    transform: translateY(-1px);
}

.wc-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(13, 26, 38, 0.12);
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.wc-cta:hover .wc-cta__icon {
    transform: translateX(4px);
}

[dir="rtl"] .wc-cta:hover .wc-cta__icon {
    transform: translateX(-4px);
}

/* Shine sweep animation */
.wc-cta__shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.38) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.wc-cta:hover .wc-cta__shine {
    left: 130%;
}

/* Image wrapper */
.wc-image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.wc-image {
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(13, 26, 38, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: block;
    width: 100%;
    height: auto;
}

.wc-image-wrap:hover .wc-image {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(13, 26, 38, 0.2);
}

/* Floating badge */
.wc-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(227, 161, 39, 0.3);
    box-shadow: 0 4px 16px rgba(13, 26, 38, 0.1);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f5135;
    animation: wc-badge-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

[dir="rtl"] .wc-badge {
    right: auto;
    left: 20px;
}

@keyframes wc-badge-pulse {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 991px) {
    .wc-section {
        padding: 56px 0;
    }

    .wc-image-wrap {
        margin-top: 8px;
    }

    .wc-desc {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .wc-cta {
        width: 100%;
        justify-content: center;
    }

    .wc-pills {
        gap: 8px;
    }
}

.teaser-alert {
    background: linear-gradient(130deg, rgba(227, 161, 39, 0.16), rgba(227, 161, 39, 0.04));
    border: 1px solid rgba(227, 161, 39, 0.4);
}

.summary-locked {
    background: radial-gradient(circle at top, rgba(227, 161, 39, 0.17), transparent 75%);
    border: 1px solid rgba(227, 161, 39, 0.26);
    border-radius: 10px;
    padding: 12px;
}

.teaser-price-blur {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    filter: blur(1px);
    color: #60707e;
    user-select: none;
}

.teaser-message {
    color: #5e430a;
    background: rgba(227, 161, 39, 0.12);
    border: 1px dashed rgba(227, 161, 39, 0.6);
    border-radius: 8px;
    padding: 8px;
}

.pricing-reveal-loader {
    position: fixed;
    inset: 0;
    background: rgba(6, 17, 25, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.loader-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    max-width: 420px;
    width: calc(100% - 24px);
    border: 1px solid rgba(227, 161, 39, 0.3);
    box-shadow: 0 20px 40px rgba(3, 17, 25, 0.24);
}

.reveal-pop {
    animation: revealPop .35s ease;
}

@keyframes revealPop {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 767.98px) {
    .value-pill {
        font-size: 0.82rem;
        padding: 8px 10px;
    }

    .option-card-inner {
        padding: 12px 8px !important;
        min-height: 162px;
    }

    .option-card-inner .fw-bold {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .option-card-inner small {
        display: none;
    }
}
