/* Cloud Compare */

.hosting-page--compare {
    --cc-accent: #1a7a42;
    --cc-accent-light: #86efac;
    --cc-dark: #1a2332;
}

.hosting-page--compare .cc-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(26, 35, 50, 0.88)),
        url('../img/homepage/v-cloud-server.webp') center/cover no-repeat;
}

.hosting-page--compare .cc-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.hosting-page--compare .cc-section-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
}

.hosting-page--compare .cc-section-header p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.hosting-page--compare .cc-config-summary {
    font-size: 14px;
    font-weight: 700;
    color: var(--cc-accent);
    margin-top: 8px;
}

/* Filtreler */
.hosting-page--compare .cc-filters-section {
    padding: 56px 0 40px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hosting-page--compare .cc-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.hosting-page--compare .cc-filter label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 8px;
}

.hosting-page--compare .cc-filter select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
}

.hosting-page--compare .cc-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin: 20px 0 0;
}

/* Tablo */
.hosting-page--compare .cc-table-section {
    padding: 56px 0;
    background: #fff;
}

.hosting-page--compare .cc-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.hosting-page--compare .cc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.hosting-page--compare .cc-table th {
    background: var(--cc-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.hosting-page--compare .cc-table td {
    padding: 16px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.hosting-page--compare .cc-row--ownhost {
    background: rgba(26, 122, 66, 0.06);
}

.hosting-page--compare .cc-row--ownhost td {
    font-weight: 600;
}

.hosting-page--compare .cc-provider--ownhost {
    color: var(--cc-accent);
    font-weight: 800;
}

.hosting-page--compare .cc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--cc-accent);
    color: #fff;
    margin-right: 8px;
    vertical-align: middle;
}

.hosting-page--compare .cc-price {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.hosting-page--compare .cc-yes {
    color: var(--cc-accent);
    font-weight: 700;
}

.hosting-page--compare .cc-no {
    color: #94a3b8;
}

.hosting-page--compare .cc-mid {
    color: #d97706;
    font-weight: 600;
}

/* Tasarruf + Göç */
.hosting-page--compare .cc-savings-section {
    padding: 56px 0;
    background: #f8fafc;
}

.hosting-page--compare .cc-savings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.hosting-page--compare .cc-savings-card,
.hosting-page--compare .cc-migration-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
}

.hosting-page--compare .cc-savings-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
}

.hosting-page--compare .cc-savings-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.hosting-page--compare .cc-savings-config {
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.hosting-page--compare .cc-savings-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 4px;
}

.hosting-page--compare .cc-savings-vs {
    margin-bottom: 20px;
}

.hosting-page--compare .cc-savings-vs label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.hosting-page--compare .cc-savings-vs select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
}

.hosting-page--compare .cc-savings-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.hosting-page--compare .cc-savings-result {
    text-align: center;
    padding: 18px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 122, 66, 0.1), rgba(26, 122, 66, 0.04));
    border: 1px solid rgba(26, 122, 66, 0.2);
}

.hosting-page--compare .cc-savings-result--yearly {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.08), rgba(26, 35, 50, 0.03));
    border-color: rgba(26, 35, 50, 0.12);
}

.hosting-page--compare .cc-savings-result-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.hosting-page--compare .cc-savings-result-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--cc-accent);
    font-variant-numeric: tabular-nums;
}

.hosting-page--compare .cc-savings-result--yearly .cc-savings-result-value {
    color: var(--cc-dark);
}

.hosting-page--compare .cc-savings-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.hosting-page--compare .cc-migration-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--cc-dark);
    color: var(--cc-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.hosting-page--compare .cc-migration-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
}

.hosting-page--compare .cc-migration-card > p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
}

.hosting-page--compare .cc-migration-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.hosting-page--compare .cc-migration-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.hosting-page--compare .cc-migration-list .fa-check-circle {
    color: var(--cc-accent);
    margin-top: 2px;
}

.hosting-page--compare .cc-migration-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    background: var(--cc-accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hosting-page--compare .cc-migration-cta:hover {
    background: #156f3d;
    color: #fff;
}

/* Dönüşüm */
.hosting-page--compare .cc-convert-section {
    background: linear-gradient(160deg, var(--cc-dark), #0f172a);
    padding: 64px 0;
}

.hosting-page--compare .cc-convert-inner {
    text-align: center;
}

.hosting-page--compare .cc-convert-inner h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
}

.hosting-page--compare .cc-convert-inner > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    margin: 0 0 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hosting-page--compare .cc-convert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hosting-page--compare .cc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hosting-page--compare .cc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media (max-width: 992px) {
    .hosting-page--compare .cc-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .hosting-page--compare .cc-savings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hosting-page--compare .cc-filters {
        grid-template-columns: 1fr;
    }

    .hosting-page--compare .cc-savings-results {
        grid-template-columns: 1fr;
    }

    .hosting-page--compare .cc-convert-actions {
        flex-direction: column;
        align-items: center;
    }

    .hosting-page--compare .cc-convert-actions .hp-btn-primary,
    .hosting-page--compare .cc-convert-actions .cc-btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
