* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background-color: #eef2f6 !important;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #eef2f6 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13.5px;
    color: #1e293b;
    -webkit-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
}

/* Ana Taşıyıcı Kasa */
.page-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background-color: #ffffff;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

/* Üst Başlık (Mavi) */
header.app-header {
    background: linear-gradient(135deg, #091e42 0%, #0f2b5c 50%, #173b75 100%);
    border-bottom: 3px solid #0b1f3f;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.header-titles {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.header-titles .logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-titles p {
    color: #93c5fd;
    margin: 6px auto 0 auto;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    max-width: 620px;
}

/* Navigasyon Barı */
nav.app-nav {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.hamburger-btn {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    padding: 11px 24px;
    display: inline-block;
    border-right: 1px solid #1e293b;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.nav-links a:first-child {
    border-left: none;
}

.nav-links a:last-child {
    border-right: none;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    background: #1e3a8a;
}

/* İçerik Gövdesi */
main {
    padding: 24px;
    flex: 1 0 auto;
    background-color: #ffffff;
}

h2 {
    color: #0f2b5c;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 8px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h3.section-subtitle {
    color: #0f2b5c;
    font-size: 13.5px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
    border-left: 4px solid #2563eb;
    padding-left: 8px;
}

.intro-text {
    line-height: 1.65;
    color: #334155;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: justify;
}

/* Sabit Grid Düzeni */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 20px;
    margin-bottom: 22px;
}

.content-sidebar-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    height: fit-content;
}

.content-sidebar-box img {
    max-width: 100%;
    height: auto;
    max-height: 175px;
    object-fit: contain;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px;
    margin-bottom: 8px;
}

.content-sidebar-caption {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    line-height: 1.45;
}

.feature-block {
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 3px solid #3b82f6;
}

.content-subheading {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.content-desc {
    color: #475569;
    line-height: 1.55;
    font-size: 12.5px;
}

.highlight-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.highlight-link:hover {
    color: #1d4ed8;
}

/* Modüler Donanım Kartı */
.modular-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    background-color: #f8fafc;
    margin-bottom: 14px;
    border-top: 3px solid #2563eb;
}

.modular-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 8px;
}

.modular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modular-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 12.5px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.modular-list li:last-child {
    border-bottom: none;
}

.modular-list strong {
    color: #0f172a;
}

/* Tablolar */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 20px 0;
    font-size: 12px;
}

.spec-table th, .spec-table td {
    border: 1px solid #e2e8f0;
    padding: 9px 12px;
    text-align: left;
}

.spec-table th {
    background: #f1f5f9;
    color: #0f2b5c;
    font-weight: 700;
}

.spec-table tr:nth-child(even) {
    background: #fafafa;
}

/* Gri / Retro Footer ve Siyah-Beyaz Logolar */
footer.app-footer {
    background: #202225;
    color: #b0b4b9;
    border-top: 3px solid #3f434a;
    font-size: 11.5px;
    padding: 24px 24px 16px 24px;
    margin-top: auto;
    flex-shrink: 0;
}

.partners-section {
    background: #2b2f36;
    border: 1px solid #3f434a;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 22px;
    text-align: center;
}

.partners-title {
    color: #d1d5db;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-bottom: 1px solid #3f434a;
    padding-bottom: 5px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: center;
}

.partner-item {
    background: #ffffff;
    border: 1px solid #4a4f56;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 84px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

/* Siyah-Beyaz Filtre ve Hover */
.partner-item img {
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
    display: block;
    margin: 0 auto 5px auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-item:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-item span {
    font-size: 10.5px;
    font-weight: 700;
    color: #1e293b;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #d1d5db;
    font-size: 12px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #3f434a;
    padding-bottom: 5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #92979e;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #2f3338;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #8b929a;
}

/* Mobil Uyum */
@media screen and (max-width: 768px) {
    .page-wrapper {
        border-left: none;
        border-right: none;
    }

    .hamburger-btn {
        display: block;
        width: 100%;
        background: #1e293b;
        color: #ffffff;
        border: none;
        padding: 10px;
        font-weight: bold;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        border: none;
        border-bottom: 1px solid #1e293b;
        padding: 12px;
    }

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

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

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

@media screen and (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
}