
        /* Prevent flash of unstyled content */
        :root {
            color-scheme: light dark;
        }
        
        /* Mobil için immediate theme application */
        [data-theme="dark"] {
            color-scheme: dark;
        }
    


        :root {
            --primary: #e11d48;
            --primary-light: #fb7185;
            --bg: #ffffff;
            --hero-bg: radial-gradient(circle at top right, #fff5f5 0%, #ffffff 100%);
            --text-dark: #0f172a;
            --text-light: #64748b;
            --card-bg: #f8fafc;
            --nav-bg: rgba(255, 255, 255, 0.8);
            --border: rgba(225, 29, 72, 0.08);
            --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            --glass: rgba(255, 255, 255, 0.7);
        }

        [data-theme="dark"] {
            --bg: #0b1120;
            --hero-bg: radial-gradient(circle at top right, #1e1b4b 0%, #0b1120 100%);
            --text-dark: #f1f5f9;
            --text-light: #94a3b8;
            --card-bg: #1e293b;
            --nav-bg: rgba(11, 17, 32, 0.8);
            --border: rgba(225, 29, 72, 0.15);
            --glass: rgba(30, 41, 59, 0.7);
        }

        /* Yumuşak tema geçişi */
        body, nav, .card-bg, section {
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        /* Mobil cihazlar için daha hızlı geçiş */
        @media (max-width: 768px) {
            body, nav, .card-bg, section {
                transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
            }
            
            /* Mobilde flash'ı engellemek için */
            html {
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }
        }

        body {
            background-color: var(--bg);
            color: var(--text-dark);
            font-family: 'Inter', sans-serif;
            margin: 0;
            overflow-x: hidden;
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        nav {
            position: fixed; top: 0; width: 100%;
            background: var(--nav-bg);
            backdrop-filter: blur(15px);
            display: flex; justify-content: space-between; align-items: center;
            padding: 15px 60px; box-sizing: border-box;
            border-bottom: 1px solid var(--border); z-index: 2000;
        }
        .logo {
            font-size: 1.6rem; font-weight: 800; color: var(--primary);
            text-decoration: none; letter-spacing: -1px;
            transition: var(--transition);
        }
        .logo:hover { transform: scale(1.04); }
        .menu-links { display: flex; align-items: center; }
        .menu-links a {
            color: var(--text-dark); text-decoration: none;
            margin-left: 30px; font-weight: 600; font-size: 16px;
            position: relative; transition: var(--transition);
        }
        .menu-links a::after {
            content: ''; position: absolute;
            width: 0; height: 2px; bottom: -5px; left: 0;
            background: var(--primary); transition: width 0.3s ease;
        }
        .menu-links a:hover::after { width: 100%; }
        .menu-links a:hover, .menu-links a.active { color: var(--primary); }
        
        .live-support-btn {
            background-color: var(--primary); color: #ffffff !important;
            padding: 12px 30px; border-radius: 10px; font-weight: 700;
            margin-left: 35px; text-decoration: none; transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(225,29,72,0.2);
        }
        .live-support-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(225,29,72,0.4); }
        .live-support-btn::after { display: none !important; }

        /* Bize Katılın - Altın Sarısı Animated Button */
        .join-us-btn {
            background: linear-gradient(135deg, #b8941f, #d4a926, #e8c547, #d4a926, #b8941f) !important;
            background-size: 300% 300% !important;
            color: #ffffff !important;
            padding: 12px 28px; border-radius: 10px; font-weight: 800;
            margin-left: 35px; text-decoration: none !important;
            display: inline-flex; align-items: center; justify-content: center;
            min-height: 46px; line-height: 1; white-space: nowrap;
            transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.18s ease;
            box-shadow: 0 4px 18px rgba(212, 169, 38, 0.3);
            position: relative; overflow: hidden;
            letter-spacing: 0.3px; font-size: 15px;
        }
        .join-us-btn::before {
            content: '';
            position: absolute;
            top: 0; left: -140%; width: 70%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
            transform: skewX(-24deg);
            animation: joinGlint 14s ease-in-out infinite;
        }
        .join-us-btn::after { display: none !important; }
        .join-us-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(212, 169, 38, 0.5);
            color: #ffffff !important;
        }
        
        @keyframes joinGlint {
            0%, 82%, 100% { left: -140%; opacity: 0; }
            86% { opacity: 1; }
            92% { left: 155%; opacity: 1; }
            93% { opacity: 0; }
        }

        .hamburger-btn { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
        .hamburger-btn div { width: 28px; height: 3px; background: var(--primary); transition: 0.3s; }

        @media (max-width: 992px) {
            nav { padding: 15px 25px; }
            .hamburger-btn { display: flex; }
            .menu-links {
                display: none; flex-direction: column; position: absolute;
                top: 75px; right: 20px; background: var(--bg);
                padding: 25px; border-radius: 8px; width: 210px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border);
            }
            .menu-links.show { display: flex; }
            .menu-links a { margin: 8px 0; margin-left: 0; }
            .live-support-btn { margin-left: 0; margin-top: 12px; text-align: center; }
            .join-us-btn { margin-left: 0; margin-top: 12px; text-align: center; display: block; }
        }

        /* Dark Mode Toggle Switch */
        .theme-switch-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 18px;
        }
        .theme-switch {
            display: inline-block;
            width: 44px;
            height: 24px;
            position: relative;
        }
        .theme-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            background-color: rgba(203, 213, 225, 0.75);
            position: absolute;
            inset: 0;
            border-radius: 999px;
            transition: var(--transition);
            box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
        }
        .slider:before {
            background-color: #ffffff;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            top: 3px;
            position: absolute;
            transition: var(--transition);
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
        }
        input:checked + .slider {
            background-color: var(--primary);
        }
        input:checked + .slider:before {
            transform: translateX(20px);
        }
        .theme-icon {
            font-size: 16px;
            margin-left: 6px;
            color: var(--text-light);
            display: flex;
            align-items: center;
        }
        .theme-switch-wrapper:hover .slider {
            box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.25), 0 6px 18px rgba(0, 0, 0, 0.12);
        }

        .reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
        .reveal.active { opacity: 1; transform: translateY(0); }
    


        /* Tema uygulanana kadar body'yi gizle, ardından anında göster */
        html:not([data-theme]) body,
        html[data-theme] body {
            visibility: visible;
        }
    


.hero-split {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 100px 40px 60px;
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute;
    top: -50px; left: -50px; width: calc(100% + 100px); height: calc(100% + 100px);
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(225, 29, 72, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
    animation: gridMoveGPU 12s linear infinite;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    transform: translateZ(0);
    will-change: transform;
}
[data-theme="dark"] .hero-grid-bg {
    background-image: 
        linear-gradient(to right, rgba(225, 29, 72, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.07) 1px, transparent 1px);
}
@keyframes gridMoveGPU {
    0% { transform: translate3d(0px, 0px, 0); }
    100% { transform: translate3d(50px, 50px, 0); }
}
/* Yüksek FPS (Hardware Accelerated) Kare ve Şekil Animasyonları */
.hero-glass-shape {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(225,29,72,0.08), rgba(59,130,246,0.06));
    border: 1px solid rgba(225,29,72,0.1);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}
[data-theme="dark"] .hero-glass-shape {
    background: linear-gradient(135deg, rgba(225,29,72,0.08), rgba(99,102,241,0.06));
    border-color: rgba(225,29,72,0.12);
}

.hero-glass-shape.shape-1 {
    width: 220px; height: 220px; top: 8%; left: 3%;
    animation: glassFloat1 18s ease-in-out infinite;
}
.hero-glass-shape.shape-2 {
    width: 160px; height: 160px; top: 60%; left: 12%; border-radius: 50%;
    animation: glassFloat2 22s ease-in-out infinite;
}
.hero-glass-shape.shape-3 {
    width: 180px; height: 120px; top: 15%; right: 8%;
    animation: glassFloat3 20s ease-in-out infinite;
}
.hero-glass-shape.shape-4 {
    width: 100px; height: 100px; bottom: 12%; right: 15%; border-radius: 50%;
    animation: glassFloat1 15s ease-in-out infinite reverse;
}
.hero-glass-shape.shape-5 {
    width: 140px; height: 90px; bottom: 25%; left: 40%;
    animation: glassFloat2 25s ease-in-out infinite;
}

@keyframes glassFloat1 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(12deg); }
    33% { transform: translate3d(0, -25px, 0) rotate(16deg); }
    66% { transform: translate3d(0, 15px, 0) rotate(8deg); }
}
@keyframes glassFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    50% { transform: translate3d(0, -30px, 0) rotate(-4deg); }
}
@keyframes glassFloat3 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(25deg); }
    50% { transform: translate3d(20px, 0, 0) rotate(30deg); }
}
.hero-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: center; /* ALIGN FIX: Metin ve kutuyu tam ortalar */
    position: relative;
    z-index: 1;
    padding-top: 20px;
}
.hero-left {
    text-align: left;
    padding-top: 10px;
}
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
}
/* Otomasyon Tanıtım Kutusu */
.automation-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.automation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
[data-theme="dark"] .automation-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(225,29,72,0.12);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.automation-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}
.automation-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.automation-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), #ff6b8a);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.automation-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
}
.automation-card-subtitle {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.automation-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.automation-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    position: relative; z-index: 1;
}
.automation-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.automation-step-num {
    width: 22px; height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}
.automation-step-text strong {
    color: var(--text-dark);
}
.automation-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}
.automation-cta a {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.automation-cta .btn-auto-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(225,29,72,0.25);
}
.automation-cta .btn-auto-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(225,29,72,0.35);
}
.automation-cta .btn-auto-secondary {
    border: 1.5px solid var(--border);
    color: var(--text-dark);
    background: transparent;
}
.automation-cta .btn-auto-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.auto-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(34,197,94,0.2);
    position: relative; z-index: 1;
}
.auto-live-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
}
@keyframes pulse-green {
    0%,100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%{ box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.tw-cursor {
    display: inline-block;
    animation: twBlink 0.53s step-end infinite;
    color: var(--primary);
    font-weight: 300;
    vertical-align: baseline;
}
.tw-cursor.hide { display: none; }
@keyframes twBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Hero Giriş Animasyonları */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(180px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroButtonPop {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.animate-hero-fade { opacity: 0; animation: heroFadeIn 1.8s ease-out 0.3s forwards; }
.animate-hero-slide { opacity: 0; animation: heroSlideRight 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards; }
.animate-hero-btns { opacity: 0; animation: heroButtonPop 1.5s ease-out 0.5s forwards; }

@media (max-width: 900px) {
    .hero-split { padding: 90px 20px 50px; }
    .hero-split-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-left { text-align: center; }
    .hero-left .hero-btns { justify-content: center; }
}



    @media (max-width: 900px) {
        .feature-row {
            grid-template-columns: 1fr !important;
            gap: 40px !important;
            text-align: center;
        }

        .feature-info {
            order: 1 !important;
        }

        .feature-visual {
            order: -1 !important;
            height: 280px !important;
        }

        .feature-info a {
            justify-content: center;
        }
    }



    /* Modern minimal logo display - no cards, just logos */
    .ref-card {
        width: 200px;
        height: 140px;
        background: transparent;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Kartlar yatayda eşit genişlikte olsun */
    #refTrack > * {
        flex: 0 0 200px;
    }

    .ref-card:hover {
        transform: scale(1.08);
    }

    .ref-card img {
        width: 180px;
        height: 120px;
        object-fit: contain;
        opacity: 0.75;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        filter: brightness(0.95) grayscale(0.3);
    }

    .ref-card:hover img {
        opacity: 1;
        filter: brightness(1) grayscale(0) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    }

    .ref-card span {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .ref-card:hover span {
        opacity: 0.8;
    }

    /* Sonsuz kaydırma - smooth ve natural */
    @keyframes slide-left {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* Animated background for references */
    @keyframes gradient-shift {
        0%, 100% { 
            transform: translateX(-50%) rotate(0deg);
            opacity: 0.03;
        }
        50% { 
            transform: translateX(50%) rotate(180deg);
            opacity: 0.05;
        }
    }

    /* Animated background for infrastructure */
    @keyframes pulse-glow {
        0%, 100% { 
            transform: scale(1);
            opacity: 0.04;
        }
        50% { 
            transform: scale(1.2);
            opacity: 0.06;
        }
    }

    #refTrack {
        animation: slide-left 40s linear infinite;
        animation-play-state: running;
        display: flex;
        gap: 40px;
        padding: 0 40px;
    }

    #refTrack:hover {
        animation-play-state: paused;
    }

    /* Infrastructure Services - farklı stil, daha dinamik */
    .infra-card {
        width: 180px;
        height: 120px;
        background: transparent;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
    }

    .infra-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--card-bg);
        border-radius: 12px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .infra-card:hover::before {
        opacity: 0.5;
    }

    #infraTrack > * {
        flex: 0 0 180px;
    }

    .infra-card:hover {
        transform: translateY(-8px) scale(1.08);
    }

    .infra-card img {
        width: 140px;
        height: 100px;
        object-fit: contain;
        opacity: 0.8;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        filter: brightness(0.9);
        background: #ffffff;
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .infra-card:hover img {
        opacity: 1;
        filter: brightness(1) drop-shadow(0 6px 16px rgba(225, 29, 72, 0.25));
        transform: rotate(-3deg);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .infra-card span {
        font-weight: 600;
        font-size: 0.7rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .infra-card:hover span {
        opacity: 1;
        color: var(--primary);
    }

    /* Altyapı servisleri - daha hızlı, farklı ritim */
    #infraTrack {
        animation: slide-left 50s linear infinite;
        animation-play-state: running;
        display: flex;
        gap: 50px;
        padding: 0 40px;
    }

    #infraTrack:hover {
        animation-play-state: paused;
    }



    /* === BUTON === */
    #ai-chat-btn {
        position: fixed;
        bottom: 26px;
        right: 26px;
        height: 52px;
        padding: 0 22px;
        border-radius: 26px;
        background: var(--primary, #e11d48);
        color: #fff;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Inter', sans-serif;
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        z-index: 9998;
        box-shadow: 0 4px 20px rgba(225, 29, 72, 0.35);
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    }

    #ai-chat-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(225, 29, 72, 0.5);
    }

    #ai-chat-btn svg {
        flex-shrink: 0;
    }

    #ai-chat-btn-label {
        white-space: nowrap;
    }

    /* Küçük ekranda sadece ikon */
    @media (max-width: 400px) {
        #ai-chat-btn {
            padding: 0;
            width: 52px;
            border-radius: 50%;
        }

        #ai-chat-btn-label {
            display: none;
        }
    }

    /* Yeşil online noktası */
    #ai-online-dot {
        width: 8px;
        height: 8px;
        background: #4ade80;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
        animation: onlinePulse 2.2s infinite;
    }

    @keyframes onlinePulse {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }
    }

    /* === PENCERE === */
    #ai-chat-window {
        position: fixed;
        bottom: 90px;
        right: 26px;
        width: 380px;
        max-width: calc(100vw - 20px);
        height: 620px;
        max-height: calc(100dvh - 110px);
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid var(--border, rgba(225, 29, 72, 0.1));
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
        z-index: 9999;
        overflow: hidden;
        transform: translateY(16px) scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    }

    #ai-chat-window.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: all;
    }

    [data-theme="dark"] #ai-chat-window {
        background: #0f172a;
        border-color: rgba(225, 29, 72, 0.2);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    }

    /* Mobil tam ekran */
    @media (max-width: 480px) {
        #ai-chat-window {
            bottom: 0;
            right: 0;
            width: 100%;
            max-width: 100%;
            height: 100dvh;
            max-height: 100dvh;
            border-radius: 0;
            border: none;
        }

        #ai-chat-btn {
            bottom: 18px;
            right: 18px;
        }
    }

    /* === BAŞLIK BARI === */
    #ai-chat-header {
        background: var(--primary, #e11d48);
        color: #fff;
        padding: 16px 18px;
        display: flex;
        align-items: center;
        gap: 13px;
        flex-shrink: 0;
    }

    .ai-hdr-avatar {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .ai-hdr-info {
        flex: 1;
        min-width: 0;
    }

    .ai-hdr-info strong {
        display: block;
        font-size: 0.92rem;
        font-weight: 700;
    }

    .ai-hdr-status {
        font-size: 0.72rem;
        opacity: 0.82;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 2px;
    }

    .ai-hdr-dot {
        width: 6px;
        height: 6px;
        background: #4ade80;
        border-radius: 50%;
    }

    #ai-chat-close {
        background: rgba(255, 255, 255, 0.15);
        border: none;
        color: #fff;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: 700;
        transition: background 0.2s;
        flex-shrink: 0;
        font-family: sans-serif;
    }

    #ai-chat-close:hover {
        background: rgba(255, 255, 255, 0.28);
    }

    #ai-new-chat-btn {
        display: none;
        padding: 6px 12px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        color: #fff;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    #ai-new-chat-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: #fff;
    }

    /* Toast Notification Styles */
    .ai-toast {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.85);
        color: #fff;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 0.85rem;
        z-index: 10000;
        text-align: center;
        max-width: 80%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        animation: aiToastIn 0.3s ease-out, aiToastOut 0.3s ease-in 1.2s forwards;
        pointer-events: none;
        line-height: 1.4;
    }

    @keyframes aiToastIn {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    @keyframes aiToastOut {
        from {
            opacity: 1;
            transform: translate(-50%, -50%);
        }

        to {
            opacity: 0;
            transform: translate(-50%, -60%);
        }
    }

    /* === İSİM FORMU === */
    #ai-name-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px 24px;
        text-align: center;
        gap: 0;
    }

    .ai-nf-icon {
        width: 60px;
        height: 60px;
        background: rgba(225, 29, 72, 0.08);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    .ai-nf-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--text-dark, #0f172a);
        margin-bottom: 6px;
        line-height: 1.3;
    }

    [data-theme="dark"] .ai-nf-title {
        color: #f1f5f9;
    }

    .ai-nf-sub {
        font-size: 0.82rem;
        color: var(--text-light, #64748b);
        line-height: 1.55;
        margin-bottom: 24px;
    }

    #ai-name-input {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid var(--border, #e2e8f0);
        border-radius: 12px;
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        outline: none;
        background: var(--card-bg, #f8fafc);
        color: var(--text-dark, #0f172a);
        transition: border 0.2s, background 0.2s;
        margin-bottom: 12px;
        text-align: center;
        box-sizing: border-box;
    }

    [data-theme="dark"] #ai-name-input {
        background: #334155;
        border-color: #475569;
        color: #f1f5f9;
    }

    #ai-name-input:focus {
        border-color: var(--primary, #e11d48);
        background: #fff;
    }

    [data-theme="dark"] #ai-name-input:focus {
        background: #1e293b;
    }

    #ai-name-submit {
        width: 100%;
        padding: 13px;
        background: var(--primary, #e11d48);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
        box-sizing: border-box;
    }

    #ai-name-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(225, 29, 72, 0.38);
    }

    #ai-name-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    /* === MESAJLAR === */
    #ai-chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        scroll-behavior: smooth;
        background: #ffffff;
    }

    [data-theme="dark"] #ai-chat-messages {
        background: #0f172a;
    }

    #ai-chat-messages::-webkit-scrollbar {
        width: 4px;
    }

    #ai-chat-messages::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
    }

    .ai-bubble-row {
        display: flex;
        flex-direction: column;
    }

    .ai-bubble-row.user {
        align-items: flex-end;
    }

    .ai-bubble-row.assistant {
        align-items: flex-start;
    }

    .ai-bubble {
        max-width: 85%;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 0.88rem;
        line-height: 1.6;
        word-break: break-word;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
        animation: bubbleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes bubbleIn {
        from {
            transform: translateY(8px) scale(0.95);
            opacity: 0;
        }

        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    .ai-bubble.assistant {
        background: #f1f5f9;
        color: var(--text-dark, #0f172a);
        border-bottom-left-radius: 4px;
        border: 1px solid #e2e8f0;
    }

    [data-theme="dark"] .ai-bubble.assistant {
        background: #1e293b;
        color: #f1f5f9;
        border-color: #334155;
    }

    .ai-bubble.user {
        background: linear-gradient(135deg, var(--primary, #e11d48), #be123c);
        color: #fff;
        border-bottom-right-radius: 4px;
    }

    .ai-bubble-time {
        font-size: 0.65rem;
        color: var(--text-light, #94a3b8);
        margin-top: 4px;
        padding: 0 6px;
    }

    .typing-cursor {
        display: inline-block;
        width: 6px;
        height: 12px;
        background-color: var(--text-dark, #0f172a);
        margin-left: 2px;
        animation: aiCursorBlink 1s step-end infinite;
        vertical-align: middle;
    }

    [data-theme="dark"] .typing-cursor {
        background-color: #f1f5f9;
    }

    @keyframes aiCursorBlink {
        50% {
            opacity: 0;
        }
    }

    /* Yazıyor göstergesi */
    .ai-typing {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 14px;
        background: var(--card-bg, #f1f5f9);
        border-radius: 16px;
        border-bottom-left-radius: 4px;
        align-self: flex-start;
        animation: bubbleIn 0.25s ease;
    }

    [data-theme="dark"] .ai-typing {
        background: #334155;
    }

    .ai-typing span {
        width: 6px;
        height: 6px;
        background: var(--text-light, #94a3b8);
        border-radius: 50%;
        animation: typDot 1.2s infinite;
    }

    .ai-typing span:nth-child(2) {
        animation-delay: 0.18s;
    }

    .ai-typing span:nth-child(3) {
        animation-delay: 0.36s;
    }

    @keyframes typDot {

        0%,
        80%,
        100% {
            transform: scale(1);
            opacity: 0.45;
        }

        40% {
            transform: scale(1.35);
            opacity: 1;
        }
    }

    /* === HIZLI BUTONLAR === */
    #ai-quick-btns {
        padding: 0 12px 10px;
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .ai-qbtn {
        padding: 5px 12px;
        background: transparent;
        border: 1.5px solid var(--border, rgba(225, 29, 72, 0.15));
        color: var(--primary, #e11d48);
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: background 0.18s, border-color 0.18s;
        white-space: nowrap;
    }

    .ai-qbtn:hover {
        background: rgba(225, 29, 72, 0.07);
        border-color: var(--primary, #e11d48);
    }

    /* === GİRİŞ ALANI === */
    #ai-chat-footer {
        padding: 10px 12px 12px;
        border-top: 1px solid var(--border, #e2e8f0);
        display: flex;
        gap: 8px;
        align-items: flex-end;
        flex-shrink: 0;
        background: #ffffff;
    }

    [data-theme="dark"] #ai-chat-footer {
        background: #1e293b;
        border-top-color: #334155;
    }

    #ai-chat-input {
        flex: 1;
        padding: 10px 14px;
        border: 1.5px solid var(--border, #e2e8f0);
        border-radius: 20px;
        font-family: 'Inter', sans-serif;
        font-size: 0.875rem;
        outline: none;
        resize: none;
        max-height: 90px;
        overflow-y: auto;
        background: var(--card-bg, #f8fafc);
        color: var(--text-dark, #0f172a);
        line-height: 1.45;
        transition: border 0.18s;
    }

    [data-theme="dark"] #ai-chat-input {
        background: #334155;
        border-color: #475569;
        color: #f1f5f9;
    }

    #ai-chat-input:focus {
        border-color: var(--primary, #e11d48);
        background: #fff;
    }

    [data-theme="dark"] #ai-chat-input:focus {
        background: #1e293b;
    }

    #ai-chat-send {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary, #e11d48);
        border: none;
        color: #fff;
        cursor: pointer;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 3px 10px rgba(225, 29, 72, 0.3);
    }

    #ai-chat-send:hover {
        transform: scale(1.08);
        box-shadow: 0 5px 15px rgba(225, 29, 72, 0.45);
    }

    #ai-chat-send:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
    }


/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 15px 20px;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
    }
}
