/* ===== Calculator Grid ===== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.calc-form-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== Steps ===== */
.calc-step {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.step-badge {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(116, 200, 252, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ===== Service Cards ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    position: relative;
    cursor: pointer;
}

.service-card input {
    display: none;
}

.service-card > span {
    display: block;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.service-name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: block;
}

.service-price {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--color-yellow);
    margin-top: 4px;
    display: block;
}

.service-card input:checked + .service-icon + .service-name {
    color: var(--color-white);
}

.service-card:has(input:checked) {
    background: linear-gradient(135deg, rgba(116, 200, 252, 0.15) 0%, rgba(118, 227, 220, 0.08) 100%);
    border-color: rgba(116, 200, 252, 0.5);
    box-shadow: 0 0 20px rgba(116, 200, 252, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== Size Options ===== */
.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.size-card {
    position: relative;
    cursor: pointer;
}

.size-card input {
    display: none;
}

.size-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.size-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.size-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: block;
}

.size-desc {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-muted);
    display: block;
}

.size-card:has(input:checked) {
    background: linear-gradient(135deg, rgba(255, 198, 92, 0.15) 0%, rgba(255, 156, 170, 0.08) 100%);
    border-color: rgba(255, 198, 92, 0.5);
    transform: scale(1.05);
}

/* ===== Feature Checkboxes ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-checkbox {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-checkbox input {
    display: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.feature-checkbox input:checked + .checkbox-mark {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-pink) 100%);
    border-color: var(--color-yellow);
    box-shadow: 0 0 12px rgba(255, 198, 92, 0.3);
}

.feature-checkbox input:checked + .checkbox-mark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.feature-checkbox input:checked + .checkbox-mark + .feature-text {
    color: var(--color-white);
}

/* ===== Timeline Cards ===== */
.timeline-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.timeline-card {
    position: relative;
    cursor: pointer;
}

.timeline-card input {
    display: none;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: block;
    margin-bottom: 6px;
}

.timeline-mult {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-blue);
    display: block;
}

.timeline-card:has(input:checked) {
    background: linear-gradient(135deg, rgba(118, 227, 220, 0.15) 0%, rgba(116, 200, 252, 0.08) 100%);
    border-color: rgba(116, 200, 252, 0.5);
    transform: translateY(-2px);
}

/* ===== Price Panel ===== */
.calc-price-panel {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: 100px;
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.price-header h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
}

.price-badge {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(118, 227, 220, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===== Price Breakdown ===== */
.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-family: var(--font-body);
}

.breakdown-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.breakdown-value {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.breakdown-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    margin: 8px 0;
}

.breakdown-total .breakdown-label {
    color: var(--color-white);
    font-weight: 600;
    font-size: 13px;
}

.breakdown-total .breakdown-value {
    font-family: var(--font-display);
    font-size: 28px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Discount Badge ===== */
.discount-badge {
    background: linear-gradient(135deg, rgba(255, 198, 92, 0.2) 0%, rgba(255, 156, 170, 0.15) 100%);
    border: 1px solid rgba(255, 198, 92, 0.3);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-yellow);
    font-weight: 600;
    margin-bottom: 20px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.price-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-primary-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #76e3dc 0%, #74c8fc 100%);
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(118, 227, 220, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary-calc:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, rgba(118, 227, 220, 0.4) 0%, rgba(116, 200, 252, 0.3) 100%);
    border-color: var(--color-green);
    color: #fff;
    box-shadow: 0 0 24px rgba(118, 227, 220, 0.5), 0 10px 22px rgba(118, 227, 220, 0.2);
}

.btn-primary-calc svg {
    transition: transform 0.3s ease;
}

.btn-primary-calc:hover svg {
    transform: translateX(3px);
}

.btn-secondary-calc {
    display: block;
    padding: 12px 24px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-secondary-calc:hover {
    background: rgba(118, 227, 220, 0.15);
    border-color: var(--color-green);
    color: var(--color-white);
}

/* ===== Disclaimer ===== */
.price-disclaimer {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--color-text-muted);
    line-height: 1.5;
    text-align: center;
}

.price-disclaimer p {
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .price-card {
        position: relative;
        top: 0;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 60px 16px;
    }

    .calculator-header {
        margin-bottom: 40px;
    }

    .calc-title {
        font-size: 32px;
    }

    .calc-subtitle {
        font-size: 24px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .size-options {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .timeline-options {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 24px;
    }
}
