/* =============================================
   SOYDAN BİLİŞİM - Alt Sayfa Stilleri (solution.css)
   ============================================= */

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ===== TAB YA DA SWITCH BUTONLARI ===== */
.tab-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.3);
}

/* ===== FİYAT TABLOSU ===== */
.price-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.price-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.price-table thead th {
    padding: 10px 14px;
    font-size: 0.60rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-table thead th:first-child {
    text-align: left;
}

.price-table thead th:not(:first-child) {
    text-align: right;
}

.price-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background: #fafbfc;
}

.price-table tbody td {
    padding: 7px 14px;
    font-size: 0.65rem;
    color: #1e293b;
}

.price-table tbody td:first-child {
    font-weight: 600;
    text-align: left;
    font-size: 0.78rem;
}

.price-table tbody td:not(:first-child) {
    text-align: right;
    font-weight: 800;
}

.price-table .price-main {
    color: var(--primary);
}

.price-table .price-secondary {
    color: #64748b;
    font-weight: 500 !important;
}

.price-table .price-renewal {
    display: block;
    font-size: 0.56rem;
    color: #94a3b8;
    font-weight: 500 !important;
}

/* Tablo başlık grubu */
.table-group-title {
    font-size: 0.91rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 50px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== HİZMET FİYAT LİSTESİ ===== */
.hizmet-table-header {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) 1fr 1.5fr;
    gap: 20px;
    padding: 6px 21px;
    background: var(--secondary);
    color: white;
    border-radius: 14px 14px 0 0;
    font-size: 0.60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hizmet-table-header span:not(:first-child) {
    text-align: right;
}

.hizmet-table-body {
    background: white;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-top: none;
}

.hizmet-row {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) 1fr 1.5fr;
    gap: 20px;
    padding: 6px 21px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background 0.2s ease;
}

.hizmet-row:last-child {
    border-bottom: none;
}

.hizmet-row:hover {
    background: #fafbfc;
}

.hizmet-row-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hizmet-icon {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 0.98rem;
}

.hizmet-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.70rem;
}

.hizmet-subtitle {
    font-size: 0.58rem;
    color: #64748b;
    margin-top: 2px;
}

.hizmet-unit {
    text-align: center;
    font-weight: 600;
    color: #475569;
    font-size: 0.64rem;
}

.hizmet-price {
    text-align: right;
}

.hizmet-price-main {
    font-size: 0.84rem;
    font-weight: 900;
    color: var(--secondary);
}

.hizmet-price-kdv {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 4px;
}

/* Özel teklif satırları */
.hizmet-row-special {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) 2.5fr;
    gap: 20px;
    padding: 6px 21px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    align-items: center;
}

.teklif-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.56rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

/* ===== AÇIKLAMALAR / NOTLAR KUTUSU ===== */
.info-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 28px;
}

.info-box-title .icon-circle {
    width: 36px;
    height: 36px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-item .check {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1rem;
}

.info-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.info-item h4 {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 6px;
}

/* ===== FİYAT SAYFASI CTA ===== */
.price-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.price-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.price-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.price-cta p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .hizmet-table-header,
    .hizmet-row {
        grid-template-columns: 1fr 1fr;
    }

    .hizmet-table-header span:last-child,
    .hizmet-row .hizmet-unit {
        display: none;
    }

    .hizmet-row-special {
        grid-template-columns: 1fr;
    }

    .price-cta {
        padding: 50px 24px;
    }

    .price-cta h2 {
        font-size: 1.6rem;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .info-box {
        padding: 28px 20px;
    }
}