﻿/* ============================================================
   NOYASIS — ORTAK CSS
   Tüm sayfalar için: Header/Hero, Footer/CTA, yazı tipleri,
   başlıklar, butonlar, kartlar, SSS, vb.
   ============================================================ */

/* --- GENEL AYARLAR --- */
:root {
    --noyasis-blue: #0B5ED7;
    --noyasis-blue-dark: #0a4fb8;
    --noyasis-blue-light: #EAF2FF;
    --noyasis-orange: #FF6B00;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-gray-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-light: #E5E7EB;
    --white: #FFFFFF;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* Ortak sayfa sarmalayıcı */
.site-main {
    display: block;
}

.page-shell {
    background-color: var(--white);
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   ORTAK BAŞLIK STİLLERİ
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

    .section-header.justify-content-center {
        justify-content: center;
    }

.section-number {
    background-color: #E0E7FF;
    color: var(--noyasis-blue);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 30px;
    margin-left: 0;
    line-height: 1.7;
    max-width: 820px;
}

.eyebrow-primary {
    color: var(--noyasis-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--noyasis-blue);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--noyasis-blue-dark);
        transform: translateY(-1px);
    }

.btn-outline {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

    .btn-outline:hover {
        background-color: var(--bg-light);
        border-color: #cbd5e1;
    }

.btn-dark {
    background-color: #0F172A;
    color: var(--white);
}

    .btn-dark:hover {
        background-color: #1E293B;
    }

.btn--secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

    .btn--secondary:hover {
        background-color: var(--bg-light);
        border-color: #cbd5e1;
    }
/* ============================================================
   ORTAK HERO (Başlangıç) — FULL-BLEED MAVİ ARKA PLAN
   Tüm sayfaların ilk bölümü bu sınıfı kullanır
   Sabit yükseklik + dikey ortalama
   ============================================================ */
.nx-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #EAF2FF 0%, #F5F9FF 50%, #E0EDFF 100%);
    padding: 10px 20px;
    margin-bottom: 60px;
    overflow: hidden;
    /* ⭐ SABİT YÜKSEKLİK — tüm sayfalarda aynı alan */
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nx-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(11, 94, 215, 0.08), transparent 40%);
        pointer-events: none;
    }

.nx-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ⭐ Dikey ortalama */
    text-align: center;
    position: relative;
    z-index: 1;
    /* İçerik az da olsa çok da olsa aynı hissiyat */
    min-height: 300px;
}

.nx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.nx-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--noyasis-blue);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-align: center;
}

.nx-hero__text {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 700px;
    line-height: 1.7;
}

.nx-hero__subtext {
    font-size: 14px;
    color: var(--text-gray-light);
    text-align: center;
    max-width: 600px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.nx-hero__buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.nx-hero__badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.nx-hero__badge {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

    .nx-hero__badge i {
        color: var(--noyasis-orange);
        font-size: 14px;
    }

/* ============================================================
   ORTAK CTA (Bitiş) — FULL-BLEED MAVİ ARKA PLAN
   Sabit yükseklik + dikey ortalama
   ============================================================ */
.nx-cta {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #EAF2FF 0%, #F5F9FF 50%, #E0EDFF 100%);
    padding: 60px 20px;
    margin-top: 60px;
    overflow: hidden;
    /* ⭐ SABİT YÜKSEKLİK — tüm sayfalarda aynı alan */
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nx-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at bottom left, rgba(11, 94, 215, 0.08), transparent 40%);
        pointer-events: none;
    }

.nx-cta__inner {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ⭐ Dikey ortalama */
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 240px;
}

.nx-cta__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.nx-cta__text {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 26px;
    max-width: 620px;
    line-height: 1.75;
}

.nx-cta__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.nx-cta__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 26px;
}

.nx-cta__badge {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    white-space: nowrap;
}

    .nx-cta__badge i {
        color: #22C55E;
    }

.nx-cta__note {
    margin: 18px 0 0;
    color: var(--text-gray-light);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* ============================================================
   ORTAK KART YAPILARI
   ============================================================ */
.nx-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

    .nx-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.06);
        border-color: #cbd5e1;
    }

.nx-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.nx-card__text {
    font-size: 15.5px;
    color: var(--text-gray);
    line-height: 1.6;
}

.nx-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

/* ============================================================
   ORTAK SSS MODERN
   ============================================================ */
.nx-sss {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.nx-sss__header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.nx-sss__eyebrow {
    display: inline-block;
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.nx-sss__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.nx-sss__subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.nx-sss__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
    padding: 0 20px;
    align-items: start;
}
.nx-sss-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .nx-sss-item:hover {
        border-color: rgba(29, 78, 216, 0.15);
        box-shadow: 0 4px 16px rgba(29, 78, 216, 0.06);
    }

    .nx-sss-item .nx-sss-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 18px 24px;
        background: transparent;
        border: none;
        font-size: 16px;
        font-weight: 600;
        color: #0f172a;
        cursor: pointer;
        transition: all 0.25s ease;
        text-align: left;
        gap: 16px;
        font-family: inherit;
    }

        .nx-sss-item .nx-sss-question:hover {
            color: #1d4ed8;
        }

    .nx-sss-item .nx-sss-question-text {
        flex: 1;
        font-size: 16px;
        line-height: 1.5;
    }

    .nx-sss-item .nx-sss-icon {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.35s ease;
        font-size: 15px;
        color: #64748b;
    }

    .nx-sss-item.active .nx-sss-icon {
        background: #1d4ed8;
        color: #ffffff;
    }

        .nx-sss-item.active .nx-sss-icon i {
            transform: rotate(180deg);
        }

    .nx-sss-item .nx-sss-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
        padding: 0 24px;
    }

    .nx-sss-item.active .nx-sss-answer {
        max-height: 1200px;
        padding: 0 24px 24px 24px;
    }

    .nx-sss-item .nx-sss-answer-content {
        font-size: 14.5px;
        line-height: 1.75;
        color: #334155;
        padding-top: 14px;
        border-top: 1px solid rgba(226, 232, 240, 0.5);
    }

        .nx-sss-item .nx-sss-answer-content p {
            margin-bottom: 12px;
        }

            .nx-sss-item .nx-sss-answer-content p:last-child {
                margin-bottom: 0;
            }

    .nx-sss-item.active {
        border-color: rgba(29, 78, 216, 0.2);
        background: #fafcff;
        box-shadow: 0 4px 20px rgba(29, 78, 216, 0.06);
    }

    .nx-sss-item .nx-sss-answer[hidden] {
        display: block;
        max-height: 0;
        padding: 0 24px;
        overflow: hidden;
    }

.nx-sss-question-heading {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}



.nx-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nx-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nx-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nx-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nx-hero__title {
        font-size: 36px;
    }

    .nx-cta__title {
        font-size: 24px;
    }

    .nx-sss__title {
        font-size: 26px;
    }

    .nx-grid-4, .nx-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nx-hero {
        padding: 10px 20px;
        margin-bottom: 40px;
        min-height: 380px; /* Mobilde de sabit */
    }

    .nx-hero__inner {
        min-height: 260px;
    }

    .nx-hero__title {
        font-size: 30px;
    }

    .nx-hero__text {
        font-size: 14px;
    }

    .nx-cta {
        padding: 50px 20px;
        margin-top: 40px;
        min-height: 320px;
    }

    .nx-cta__inner {
        min-height: 200px;
    }

    .nx-cta__title {
        font-size: 22px;
    }

    .nx-cta__text {
        font-size: 14px;
    }

    .nx-cta__buttons,
    .nx-hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

        .nx-cta__buttons .btn,
        .nx-hero__buttons .btn {
            width: 100%;
        }

    .section-title {
        font-size: 22px;
    }

    .nx-grid-2, .nx-grid-3, .nx-grid-4, .nx-grid-5 {
        grid-template-columns: 1fr;
    }

    .nx-sss {
        padding: 40px 0;
    }
    .nx-sss__grid {
        grid-template-columns: 1fr;
        max-width: 820px;
        gap: 12px;
    }
    .nx-sss__title {
        font-size: 22px;
    }

    .nx-sss-item .nx-sss-question {
        padding: 14px 18px;
    }

    .nx-sss-item .nx-sss-question-text {
        font-size: 14.5px;
    }

    .nx-sss-item.active .nx-sss-answer {
        padding: 0 18px 18px 18px;
    }

    .nx-sss-item .nx-sss-answer-content {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .nx-hero__title {
        font-size: 26px;
    }

    .nx-cta__title {
        font-size: 20px;
    }

    .nx-sss__title {
        font-size: 20px;
    }

    .nx-sss-item .nx-sss-question {
        padding: 12px 14px;
    }

    .nx-sss-item .nx-sss-question-text {
        font-size: 13.5px;
    }

    .nx-sss-item .nx-sss-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

/* Sayfa yatay scrollbar'ı engelle */
.products-page,
.solutions-index-page,
.solution-page,
.urun-detay-page,
.destek-page,
.destek-detay-page {
    overflow-x: hidden;
}
/* Hero badge'lerin daha rahat sığması için */
.nx-hero__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 780px;
}

.nx-hero__badge {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    white-space: nowrap;
    transition: all 0.2s ease;
}

    .nx-hero__badge:hover {
        border-color: var(--noyasis-blue);
        transform: translateY(-1px);
    }

    .nx-hero__badge i {
        color: var(--noyasis-orange);
        font-size: 13px;
    }

/* Alt başlık tipi (h2 gibi) */
.nx-hero__subtext {
    font-size: 18px;
    color: #1e40af;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    max-width: 780px;
    margin-bottom: 16px;
}
/* ============================================================
   ÜRÜN AÇIKLAMASI BÖLÜMÜ
   ============================================================ */
.nx-product-description {
    padding: 36px 40px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    line-height: 1.8;
}

.nx-product-description__body {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
}

    /* İçerik HTML'inden gelen başlıklar */
    .nx-product-description__body h1,
    .nx-product-description__body h2,
    .nx-product-description__body h3,
    .nx-product-description__body h4 {
        color: #0f172a;
        font-weight: 700;
        margin: 28px 0 12px;
        line-height: 1.3;
        letter-spacing: -0.3px;
    }

        .nx-product-description__body h1:first-child,
        .nx-product-description__body h2:first-child,
        .nx-product-description__body h3:first-child,
        .nx-product-description__body h4:first-child {
            margin-top: 0;
        }

    .nx-product-description__body h2 {
        font-size: 22px;
    }

    .nx-product-description__body h3 {
        font-size: 18px;
    }

    .nx-product-description__body h4 {
        font-size: 16px;
    }

    /* Paragraflar */
    .nx-product-description__body p {
        margin-bottom: 16px;
    }

        .nx-product-description__body p:last-child {
            margin-bottom: 0;
        }

    /* Listeler */
    .nx-product-description__body ul,
    .nx-product-description__body ol {
        padding-left: 24px;
        margin-bottom: 18px;
    }

    .nx-product-description__body li {
        margin-bottom: 8px;
        line-height: 1.7;
    }

        .nx-product-description__body li::marker {
            color: var(--noyasis-blue);
            font-weight: 700;
        }

    /* Linkler */
    .nx-product-description__body a {
        color: var(--noyasis-blue);
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(11, 94, 215, 0.3);
        transition: all 0.2s ease;
    }

        .nx-product-description__body a:hover {
            border-bottom-color: var(--noyasis-blue);
            color: var(--noyasis-blue-dark);
        }

    /* Görseller */
    .nx-product-description__body img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 20px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    /* Blockquote */
    .nx-product-description__body blockquote {
        border-left: 4px solid var(--noyasis-blue);
        padding: 16px 22px;
        margin: 20px 0;
        background: #f8fafc;
        border-radius: 0 10px 10px 0;
        font-style: italic;
        color: #475569;
    }

        .nx-product-description__body blockquote p:last-child {
            margin-bottom: 0;
        }

    /* Tablolar */
    .nx-product-description__body table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 14px;
        border-radius: 10px;
        overflow: hidden;
    }

    .nx-product-description__body thead {
        background: #f1f5f9;
    }

    .nx-product-description__body th {
        padding: 12px 16px;
        text-align: left;
        font-weight: 700;
        color: #0f172a;
        border-bottom: 2px solid #e2e8f0;
    }

    .nx-product-description__body td {
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
        color: #334155;
    }

    /* Kod blokları */
    .nx-product-description__body pre,
    .nx-product-description__body code {
        background: #f1f5f9;
        padding: 3px 8px;
        border-radius: 6px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 13.5px;
        color: #0f172a;
    }

    .nx-product-description__body pre {
        padding: 18px 22px;
        overflow-x: auto;
        margin: 18px 0;
        border-left: 3px solid var(--noyasis-blue);
    }

        .nx-product-description__body pre code {
            padding: 0;
            background: transparent;
        }

    /* Kalın / vurgu */
    .nx-product-description__body strong,
    .nx-product-description__body b {
        color: #0f172a;
        font-weight: 700;
    }

/* Responsive */
@media (max-width: 768px) {
    .nx-product-description {
        padding: 24px 20px;
    }

    .nx-product-description__body {
        font-size: 14px;
        line-height: 1.75;
    }

        .nx-product-description__body h2 {
            font-size: 19px;
        }

        .nx-product-description__body h3 {
            font-size: 17px;
        }

        .nx-product-description__body h4 {
            font-size: 15px;
        }
}
/* ============================================================
   REFERANSLAR SAYFASI — MODERN KART TASARIMI
   ============================================================ */

.referans-section {
    position: relative;
}

/* --- GRID --- */
.referans-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- KART --- */
.referans-modern-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 220px;
    cursor: pointer;
}

    /* Hover: mavi tonlu parlama + yukarı kalkma */
    .referans-modern-card:hover {
        transform: translateY(-6px);
        border-color: var(--noyasis-blue);
        box-shadow: 0 20px 40px -12px rgba(11, 94, 215, 0.18), 0 0 0 4px rgba(11, 94, 215, 0.06);
        color: inherit;
        text-decoration: none;
    }

    /* Üst köşede ince mavi degrade çizgi */
    .referans-modern-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--noyasis-blue) 0%, #60A5FA 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .referans-modern-card:hover::before {
        opacity: 1;
    }

    /* --- ÖNE ÇIKAN KART --- */
    .referans-modern-card.is-featured {
        border-color: rgba(245, 158, 11, 0.35);
        background: linear-gradient(180deg, #FFFDF7 0%, #FFFFFF 100%);
    }

        .referans-modern-card.is-featured::after {
            content: "★";
            position: absolute;
            top: 14px;
            right: 16px;
            color: #F59E0B;
            font-size: 15px;
            line-height: 1;
        }

        .referans-modern-card.is-featured:hover {
            border-color: #F59E0B;
            box-shadow: 0 20px 40px -12px rgba(245, 158, 11, 0.22), 0 0 0 4px rgba(245, 158, 11, 0.08);
        }

        .referans-modern-card.is-featured::before {
            background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
        }

/* --- LOGO ALANI --- */
.referans-modern-card__logo {
    flex-grow: 1;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

    .referans-modern-card__logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

/* Hover: renkli + büyüme */
.referans-modern-card:hover .referans-modern-card__logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Logo yoksa ilk harf */
.referans-modern-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #EAF2FF 0%, #DBEAFE 100%);
    color: var(--noyasis-blue);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.referans-modern-card:hover .referans-modern-card__initial {
    background: linear-gradient(135deg, var(--noyasis-blue) 0%, #2563EB 100%);
    color: #fff;
    transform: scale(1.05);
}

.referans-modern-card.is-featured .referans-modern-card__initial {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #B45309;
}

.referans-modern-card.is-featured:hover .referans-modern-card__initial {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
}

/* --- KART ALT KISMI (isim + ok) --- */
.referans-modern-card__footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
    transition: border-color 0.3s ease;
}

.referans-modern-card:hover .referans-modern-card__footer {
    border-color: rgba(11, 94, 215, 0.15);
}

.referans-modern-card.is-featured:hover .referans-modern-card__footer {
    border-color: rgba(245, 158, 11, 0.2);
}

.referans-modern-card__name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.referans-modern-card:hover .referans-modern-card__name {
    color: var(--noyasis-blue);
}

.referans-modern-card.is-featured:hover .referans-modern-card__name {
    color: #B45309;
}

.referans-modern-card__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.referans-modern-card:hover .referans-modern-card__icon {
    background: var(--noyasis-blue);
    color: #fff;
    transform: rotate(-15deg) scale(1.1);
}

.referans-modern-card.is-featured:hover .referans-modern-card__icon {
    background: #F59E0B;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .referans-modern-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .referans-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .referans-modern-card {
        padding: 22px 16px 16px;
        min-height: 190px;
        border-radius: 16px;
    }

    .referans-modern-card__logo {
        height: 80px;
        margin-bottom: 14px;
    }

    .referans-modern-card__initial {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }

    .referans-modern-card__name {
        font-size: 12.5px;
    }

    .referans-modern-card__icon {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .referans-modern-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .referans-modern-card {
        min-height: auto;
        padding: 20px 16px 14px;
    }

    .referans-modern-card__logo {
        height: 70px;
    }
}
/* ============================================================
   HATA SAYFALARI (404 / 500)
   ============================================================ */
.error-page {
    overflow-x: hidden;
}

.error-hero {
    min-height: 380px !important;
}

.error-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.error-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

    .error-quick-card:hover {
        transform: translateY(-4px);
        border-color: var(--noyasis-blue);
        box-shadow: 0 12px 28px rgba(11, 94, 215, 0.1);
        color: inherit;
        text-decoration: none;
    }

.error-quick-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EAF2FF 0%, #DBEAFE 100%);
    color: var(--noyasis-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.error-quick-card:hover .error-quick-card__icon {
    background: linear-gradient(135deg, var(--noyasis-blue) 0%, #2563EB 100%);
    color: #fff;
    transform: scale(1.05);
}

.error-quick-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.error-quick-card p {
    font-size: 12.5px;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .error-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .error-quick-grid {
        grid-template-columns: 1fr;
    }
}