/* Nested Sunucu Sayfası Özel Stilleri - public_html/css/nested.css */

:root {
    --nst-dark: #0f172a;
    --nst-blue: #0284c7;
    --nst-blue-light: #e0f2fe;
    --nst-text: #475569;
    --nst-bg-card: #ffffff;
    --nst-bg-light: #f8fafc;
    --nst-radius-lg: 24px;
    --nst-radius-md: 12px;
}

.nst-main-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--nst-text);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* 1. BÖLÜM: GÖRSELLİ DETAYLI ANLATIM BLOKLARI */
.nst-intro-section {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--nst-bg-card);
    padding: 30px 20px;
}

.nst-intro-section.nst-reverse {
    flex-direction: row-reverse;
}

.nst-image-group {
    flex: 1;
    position: relative;
    display: flex;
    gap: 20px;
}

.nst-img-lg {
    width: 70%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--nst-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.nst-img-sm {
    width: 25%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--nst-radius-lg);
    align-self: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.nst-content-block {
    flex: 1.2;
    padding: 15px 25px;
}

.nst-content-block h2 {
    font-size: 32px;
    color: var(--nst-dark);
    margin-bottom: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.nst-content-block h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--nst-blue);
    margin-top: 14px;
    border-radius: 2px;
}

.nst-content-block p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.nst-content-block strong {
    color: var(--nst-blue);
    font-weight: 600;
}

/* YENİ EKLENEN BÖLÜM: KULLANIM ALANLARI GRID */
.nst-usecases-section {
    display: block;
    width: 100%;
}

.nst-usecases-section h2 {
    font-size: 32px;
    color: var(--nst-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.nst-usecases-p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 16px;
    color: var(--nst-text);
}

.nst-usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nst-usecase-box {
    background-color: var(--nst-bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--nst-radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
}

.nst-usecase-box:hover {
    background-color: var(--nst-bg-card);
    border-color: var(--nst-blue);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);
    transform: translateY(-3px);
}

.nst-usecase-box h3 {
    font-size: 20px;
    color: var(--nst-dark);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nst-usecase-box p {
    font-size: 14.5px;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

/* 2. BÖLÜM: ASİMETRİK ÖZELLİKLER GRID ALANI */
.nst-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: -30px;
    gap: 40px;
    padding: 0 15px;
}

.nst-grid-title-left {
    max-width: 750px;
}

.nst-grid-title-left h2 {
    font-size: 32px;
    color: var(--nst-dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.nst-grid-title-left p {
    font-size: 16px;
    color: var(--nst-text);
}

.nst-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nst-card {
    background-color: var(--nst-bg-card);
    border: 1px solid #e2e8f0;
    border-radius: var(--nst-radius-lg);
    padding: 35px;
    transition: all 0.3s ease;
}

.nst-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    border-color: #cbd5e1;
}

.nst-card-highlight {
    grid-row: span 2;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nst-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--nst-blue-light);
    color: var(--nst-blue);
    border-radius: var(--nst-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.nst-card-highlight .nst-icon-box {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.nst-card h3 {
    font-size: 19px;
    color: var(--nst-dark);
    font-weight: 600;
    margin-bottom: 14px;
}

.nst-card-highlight h3 {
    color: #ffffff;
    font-size: 24px;
}

.nst-card p {
    font-size: 14.5px;
    line-height: 1.65;
    text-align: justify;
}

.nst-card strong {
    color: var(--nst-blue);
    font-weight: 600;
}

.nst-card-highlight strong {
    color: #38bdf8;
    font-weight: 600;
}

/* Butonlar ve Banner */
.nst-btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--nst-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nst-btn-outline {
    color: var(--nst-blue);
    border: 2px solid var(--nst-blue);
}

.nst-btn-outline:hover {
    background-color: var(--nst-blue);
    color: #ffffff;
}

.nst-btn-solid {
    background-color: var(--nst-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.nst-btn-solid:hover {
    background-color: #0369a1;
    transform: translateY(-1px);
}

.nst-footer-banner {
    background-color: var(--nst-bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--nst-radius-lg);
    padding: 35px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.nst-banner-text h3 {
    font-size: 20px;
    color: var(--nst-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.nst-banner-text p {
    font-size: 14.5px;
    color: var(--nst-text);
}

@media (max-width: 968px) {
    .nst-main-wrapper {
        gap: 60px;
        margin: 30px auto;
        padding: 0 16px;
    }
    .nst-intro-section, .nst-intro-section.nst-reverse {
        flex-direction: column;
        gap: 24px;
        padding: 15px 5px;
    }
    .nst-image-group { width: 100%; }
    .nst-img-lg { width: 65%; height: 250px; }
    .nst-img-sm { width: 30%; height: 180px; }
    .nst-content-block { padding: 0; }
    .nst-content-block h2 { font-size: 24px; }
    .nst-usecases-grid { grid-template-columns: 1fr; gap: 20px; }
    .nst-usecase-box { padding: 24px; }
    .nst-grid-header { flex-direction: column; align-items: flex-start; gap: 15px; padding: 0; }
    .nst-grid-layout { grid-template-columns: 1fr; }
    .nst-footer-banner { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
    .nst-action-right, .nst-banner-action { width: 100%; }
    .nst-btn { width: 100%; text-align: center; }
}