/* Cakmak Law - Hukuki Uygulamalar & Hesaplama Araçları CSS */
.ph-uygulamalar {
    background: radial-gradient(circle at 50% 30%, rgba(197, 160, 89, 0.12) 0%, rgba(16, 9, 6, 0.96) 70%);
}

.hesaplama-section {
    padding: 60px 0 100px;
    background: #0d0705;
    color: #f5f5f7;
    min-height: 800px;
}

/* Tabs */
.hesaplama-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.calc-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 30px;
    color: #d1d5db;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-tab-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: #c5a059;
    color: #fff;
}

.calc-tab-btn.active {
    background: linear-gradient(135deg, #c5a059 0%, #a48138 100%);
    color: #120907;
    border-color: #c5a059;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.calc-tab-btn svg {
    flex-shrink: 0;
}

/* Panels */
.calc-panel {
    display: none;
    animation: calcFadeIn 0.4s ease forwards;
}

.calc-panel.active {
    display: block;
}

@keyframes calcFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Layout */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Card */
.calc-form-card {
    background: rgba(22, 14, 10, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card-header-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #e6c589;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.calc-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.card-desc {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix-wrap .prefix {
    position: absolute;
    left: 14px;
    color: #c5a059;
    font-weight: 700;
    font-size: 16px;
    pointer-events: none;
}

.calc-form-card input[type="text"],
.calc-form-card input[type="number"],
.calc-form-card input[type="date"],
.calc-form-card select {
    width: 100%;
    background: rgba(10, 5, 3, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.input-prefix-wrap input {
    padding-left: 36px !important;
}

.calc-form-card input:focus,
.calc-form-card select:focus {
    border-color: #c5a059;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.input-hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.btn-calculate {
    width: 100%;
    margin-top: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #c5a059 0%, #9e7a30 100%);
    color: #120907;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}

.legal-alert-box {
    background: rgba(197, 160, 89, 0.08);
    border-left: 3px solid #c5a059;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
}

/* Result Card */
.calc-result-card {
    background: linear-gradient(145deg, rgba(28, 17, 12, 0.9) 0%, rgba(18, 10, 7, 0.95) 100%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.result-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.result-badge {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25D366;
    color: #25D366;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.result-metric-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.result-metric-row .m-label {
    color: #9ca3af;
}

.result-metric-row .m-val {
    color: #f3f4f6;
}

.result-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.result-details-table .res-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.result-details-table .res-item.text-muted {
    color: #9ca3af;
    font-size: 13px;
}

.result-details-table .res-subtotal {
    padding: 10px 0;
    font-weight: 700;
    border-top: 1px dashed rgba(197, 160, 89, 0.25);
    margin-top: 4px;
}

.text-gold {
    color: #e6c589 !important;
}

/* Total Payout Box */
.total-payout-box {
    margin: 28px 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.05) 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.total-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e6c589;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* CTA Box inside Calculator */
.calc-cta-box {
    background: rgba(10, 5, 3, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
}

.cta-lead-text {
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 16px;
}

.cta-lead-text strong {
    color: #e6c589;
}

.btn-wa-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.btn-wa-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* FAQ Section */
.hesaplama-faq-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hesaplama-faq-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    text-align: center;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: rgba(22, 14, 10, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e6c589;
    margin: 0 0 10px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0;
}

#row-arac-warning {
    background: rgba(245, 158, 11, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px dashed rgba(245, 158, 11, 0.35);
    margin-top: 10px;
}

@media (max-width: 640px) {
    .hesaplama-tabs {
        gap: 10px;
    }
    .calc-tab-btn {
        padding: 12px 18px;
        font-size: 13.5px;
        width: 100%;
        justify-content: center;
    }
}

