/* Windsurf AI / Modern Dark Theme Spesifikasyonları */
:root {
    --bg-primary: #020617;
    /* Derin Siber Mavi (Arka Plan) */
    --bg-secondary: #0f172a;
    /* Koyu Slate Mavi (Kartlar/Footer) */
    --text-header: #f1f5f9;
    /* Başlıklar (Daha canlı, soğuk beyaz) */
    --text-desc: #94a3b8;
    /* Açıklamalar (Mavi tonlu gri) */
    --accent-blue: #06b6d4;
    /* Ana Vurgu (Siber Turkuaz - Butonlar) */
    --accent-purple: #3b82f6;
    /* İkincil Vurgu (Elektrik Mavisi - İkonlar) */
    --border: #1e293b;
    /* İnce kenarlıklar (Mavi tabanlı koyu gri) */
    --bg-primary: #e2e8f0;
    /* Daha Belirgin Gri (Arka Plan) */
    --bg-secondary: #ffffff;
    /* Tam Beyaz (Kartlar/Footer) */
    --text-header: #1e293b;
    /* Koyu Lacivert/Gri (Başlıklar) */
    --text-desc: #64748b;
    /* Orta Gri (Açıklamalar) */
    --accent-blue: #0ea5e9;
    /* Canlı Gök Mavisi (Vurgu) */
    --accent-purple: #6366f1;
    /* İndigo (İkincil Vurgu) */
    --border: #e2e8f0;
    /* Açık Gri Kenarlıklar */
    --font-stack: 'Inter', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Yatay taşmayı engelle */
    width: 100%;
    overflow-y: scroll;
    /* Scrollbar her zaman yer kaplasın (Sayfa geçişinde zıplamayı önler) */
}

html {
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-desc);
    font-family: var(--font-stack);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Viewport yüksekliğine sabitle */
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
}

/* 2. Header Yapısı */
header {
    background: transparent;
    /* Arkaplan tamamen şeffaf, elemanlar havada durur */
    border: none;
    box-shadow: none;
    /* 3D gölgeler ve parlamalar tamamen kaldırıldı */
    padding: 0 40px;
    height: 85px;
    /* Logonun büyümesi için header yüksekliği artırıldı */
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    /* Tam genişlik, üstten ve kenarlardan boşluksuz */
    right: 0;
    z-index: 1000;
    border-radius: 0;
    /* Alt oval köşeler kaldırıldı */
    width: 100%;
    transition: all 0.4s ease;
    pointer-events: none;
    /* Menü aralarındaki boşluklardan sayfa tıklanabilsin */
}

/* Logo Alanı */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    perspective: 1000px;
    /* 3D derinlik hissi */
    pointer-events: auto;
    /* Logo tıklanabilir kalsın */
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 55px;
    /* Logo görseli büyütüldü */
    height: 55px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-title {
    color: var(--accent-blue);
    /* Turkuaz Rengi */
    font-weight: 800;
    font-size: 1.5rem;
    /* Marka ismi büyütüldü */
    letter-spacing: 1px;
}

.logo-subtitle {
    color: var(--text-header);
    font-size: 0.85rem;
    /* Alt başlık büyütüldü */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Orta Menü */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.03);
    /* Menü arkasına çok hafif bir zemin */
    background: rgba(0, 0, 0, 0.04);
    /* Menü arkasına çok hafif koyu zemin */
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    /* Linklere tıklayabilmek için zorunlu */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    /* Linkler arası boşluğu azalttık, padding ile halledeceğiz */
    position: relative;
    z-index: 2;
    /* Yazılar camın üstünde kalsın */
}

nav a {
    text-decoration: none;
    color: var(--text-desc);
    /* Pasifken biraz gri olsun */
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 20px;
    /* Tıklama alanını genişlet */
    display: block;
    border-radius: 30px;
}

nav a:hover,
nav a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    z-index: 3;
}

/* Hareketli 3D Cam Gösterge */
.nav-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    /* Renkli gradient */
    border-radius: 30px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        /* Derinlik gölgesi */
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        /* Üst parlama */
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        /* Alt parlama */
        0 4px 15px rgba(99, 102, 241, 0.3);
    z-index: 1;
    /* Yazının altında */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* Apple tarzı yumuşak geçiş */
    opacity: 0;
    /* Başlangıçta gizli, JS ile görünecek */
    pointer-events: none;
}

/* Üst Bar Giriş / Kayıt Butonları */
.auth-buttons {
    margin-left: auto;
    /* En sağa yasla */
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1002;
    pointer-events: auto;
}

.btn-login,
.btn-register {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    /* Elips form (Pill shape) */
    transition: all 0.3s ease;
    padding: 10px 24px;
}

.btn-login {
    color: var(--text-header);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.btn-login:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: scale(1.05);
}

.btn-register {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    border: none;
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    color: #fff;
}

/* Hamburger Menü İkonu (Desktop'ta gizli) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Menünün üzerinde kalsın */
    pointer-events: auto;
    /* Hamburger tıklanabilir kalsın */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
    background-color: var(--text-header);
    border-radius: 3px;
}

/* Hamburger Animasyonu (X şekli) */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Header Giriş Animasyonları (Masaüstü Özel) --- */
@media (min-width: 769px) {
    .home-page .logo-container {
        opacity: 0;
        animation: slideInLogo 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
        will-change: transform, opacity;
        /* Animasyon kasmasını engeller */
    }

    .home-page .auth-buttons {
        opacity: 0;
        animation: slideInCart 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
        will-change: transform, opacity;
    }

    body.home-page.visited-before .logo-container,
    body.home-page.visited-before .auth-buttons {
        animation-delay: 0.1s !important;
        /* Hayalet beklemeyi siler */
    }

    /* Keyframes (Süzülme İşlemleri) */
    @keyframes slideInLogo {
        from {
            opacity: 0;
            transform: translateX(-100vw);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInCart {
        from {
            opacity: 0;
            transform: translateX(100vw);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Ana İçerik Alanı */
main {
    flex: 1;
    /* Sticky footer için tam esneme */
    padding: 125px 40px 60px 40px;
    /* Header boyu arttığı için içerik ezilmesin diye üst boşluk artırıldı */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;

    /* Sayfa Geçiş Animasyonu Sadece İçerik İçin */
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Sayfa Yüklendiğinde İçerik */
body.loaded main {
    opacity: 1;
}

/* Yeni Sayfalara Çok Yönlü Giriş (Sağ, Sol, Üst, Alt Kaya Kaya Gelme) */
body.loaded:not(.home-page) main>h1 {
    animation: enterFromTop 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s;
}

body.loaded:not(.home-page) main>p {
    animation: enterFromBottom 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
}

/* Sayfadan Çıkarken İçerik */
body.exiting main {
    opacity: 0;
    transform: translateX(-30px);
}

/* --- Sayfa Geçişlerinde Karanlık Tema Parlaması (Glow Wash) --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.05) 40%, transparent 85%);
    /* Çok daha hafif ve saydam renk geçişi */
    z-index: 9999;
    /* Her şeyin üstünde ama tıklamaları engellemez */
    pointer-events: none;
    opacity: 0;
}

/* Sayfadan Çıkarken Artan Parlama */
body.split-out::after {
    animation: glowFadeIn 0.25s ease-out forwards;
    /* Akıcı ve yumuşak geçiş */
}

/* Yeni Sayfaya Girildiğinde Yavaşça Sönen Parlama */
body.loaded:not(.split-out)::after {
    animation: glowFadeOut 0.8s ease-out forwards;
    /* Hızlı ama pürüzsüz sönme */
}

/* Diğer Sayfalar İçin Menüden Tıklanınca Yumuşak Çıkış Efekti */
body.split-out:not(.home-page) main {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.25s ease;
    /* Kasmayan, çok akıcı çıkış hızı */
}

@keyframes glowFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

    /* Kasmayı ve ekran patlamalarını önlemek için filter ve display komutları silindi */
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes enterFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enterFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Hero Section & Tipografi */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 60vh;
    position: relative;
    /* Arka plan objeleri için referans */
    width: 100%;
}

/* Hero Content Dinamik Kayma (Waterfall) Animasyonları */
.home-page .hero-content h1,
.home-page .hero-content p,
.home-page .hero-content .btn-primary,
.home-page .hero-visual {
    opacity: 0;
    will-change: transform, opacity;
    /* Sayfa değişimlerindeki kasıntıyı önler */
}

.home-page .hero-content h1 {
    animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 2.0s;
}

.home-page .hero-content p {
    animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 2.2s;
}

.home-page .hero-content .btn-primary {
    animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 2.4s;
}

.home-page .hero-visual {
    animation: slideUpPanel 1.5s cubic-bezier(0.16, 1, 0.3, 1) both 2.0s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
        clip-path: inset(0 100% 0 0);
    }

    /* Soldan sağa dolarak gelir */
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes slideUpPanel {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    /* Siyah panel için daha güçlü alt süzülme (clip-path yok) */
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Standart Ana Sayfa Çıkış (Split Out) Animasyonları */
body.split-out:not(.blog-transition) .hero-content {
    animation: slideOutLeft 0.4s cubic-bezier(0.8, 0, 0.2, 1) forwards !important;
    animation-delay: 0s !important;
}

body.split-out:not(.blog-transition) .hero-visual {
    animation: slideOutRight 0.4s cubic-bezier(0.8, 0, 0.2, 1) forwards !important;
    animation-delay: 0s !important;
}

body.split-out:not(.blog-transition) .square-1,
body.home-page.visited-before.split-out:not(.blog-transition) .square-1 {
    animation: square1RollOutRight 0.6s cubic-bezier(0.5, 0, 0.2, 1) forwards !important;
    animation-delay: 0.1s !important;
}

body.split-out:not(.blog-transition) .square-2,
body.home-page.visited-before.split-out:not(.blog-transition) .square-2 {
    animation: square2RollOutLeft 0.6s cubic-bezier(0.5, 0, 0.2, 1) forwards !important;
    animation-delay: 0.1s !important;
}

/* SADECE BLOG'A TIKLANDIĞINDA ÇALIŞACAK HAFİF GEÇİŞ */
body.blog-transition .hero-content h1 {
    animation: slideOutUp 0.6s ease forwards !important;
    animation-delay: 0s !important;
}

body.blog-transition .hero-content p,
body.blog-transition .hero-content .btn-primary {
    animation: slideOutDown 0.6s ease forwards !important;
    animation-delay: 0s !important;
}

body.blog-transition .hero-visual {
    animation: panelSlideFadeRight 0.6s ease forwards !important;
    /* Panel sağa hafifçe süzülür */
    animation-delay: 0s !important;
}

body.blog-transition .square-1,
body.home-page.visited-before.blog-transition .square-1 {
    animation: squareRollOutLeft 0.6s ease forwards !important;
    animation-delay: 0s !important;
}

body.blog-transition .square-2,
body.home-page.visited-before.blog-transition .square-2 {
    animation: squareRollOutRight 0.6s ease forwards !important;
    animation-delay: 0s !important;
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-150px);
    }

    /* Ani küçülmeyi silip daha ağır ve uzağa kaydırdık */
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(150px);
    }
}

@keyframes panelExpandColor {
    0% {
        transform: scale(1);
        filter: hue-rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(15);
        filter: hue-rotate(280deg) brightness(1);
        opacity: 1;
    }

    /* Beyaz ekran patlamasını önlemek için parlaklık kaldırıldı, scale küçültüldü */
}

from {
    opacity: 1;
    transform: translateX(0) rotate(-15deg);
}

to {
    opacity: 0;
    transform: translateX(-150vw) rotate(-705deg);
}
}

@keyframes squareRollOutRight {
    from {
        opacity: 1;
        transform: translateX(0) rotate(10deg);
    }

    to {
        opacity: 0;
        transform: translateX(150vw) rotate(710deg);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-200vw);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(200vw);
    }
}

@keyframes square1RollOutRight {
    from {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(150vw) rotate(705deg);
    }
}

@keyframes square2RollOutLeft {
    from {
        opacity: 1;
        transform: translateX(0) rotate(10deg);
    }

    to {
        opacity: 1;
        transform: translateX(-150vw) rotate(-710deg);
    }
}

h1 {
    color: var(--text-header);
    margin-bottom: 20px;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
}

/* --- Modern Animasyonlu Başlık Stili --- */
.modern-title {
    font-size: 3rem !important;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-header) 20%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}

.highlight-blue {
    color: var(--accent-blue);
    display: block;
}

p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-desc);
    line-height: 1.6;
}

/* --- 3D Arka Plan Objeleri --- */
.bg-3d-obj {
    position: absolute;
    z-index: -1;
    /* İçeriğin arkasında kalsın */
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.15);
    /* Daha belirgin mavi */
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    opacity: 0.9;
    z-index: -2;
    /* En arkada */
    will-change: transform, opacity;
    /* GPU kasmasını kökünden çözer */
}

/* Sabit Kare 1 (Sol Üst - Mor) */
.square-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), transparent);
    /* Mor Renk */
    animation: comeInLeft 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) both 1.0s;
}

/* Sabit Kare 2 (Sağ Alt - Mavi) */
.square-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -50px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.5), transparent);
    /* Mavi Renk */
    animation: comeInRight 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) both 1.2s;
}

/* Giriş Animasyonları */
@keyframes comeInLeft {
    from {
        opacity: 0;
        transform: translateX(-150px) rotate(-30deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

@keyframes comeInRight {
    from {
        opacity: 0;
        transform: translateX(150px) rotate(30deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(10deg);
    }
}

/* Ziyaret Edilmiş Ana Sayfa: Hayalet Bekleme (Ghost Delay) Sürelerini Kısaltır */
body.home-page.visited-before .square-1 {
    animation-delay: 0.5s !important;
}

body.home-page.visited-before .square-2 {
    animation-delay: 0.7s !important;
}

body.home-page.visited-before .hero-content h1,
body.home-page.visited-before .hero-visual {
    animation-delay: 1.2s !important;
}

body.home-page.visited-before .hero-content p {
    animation-delay: 1.4s !important;
}

body.home-page.visited-before .hero-content .btn-primary {
    animation-delay: 1.6s !important;
}

/* Yüzme (Floating) Animasyonu */
@keyframes floatImg {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* CTA Butonu */
.btn-primary {
    background-color: var(--accent-blue);
    color: #000;
    color: #fff;
    /* Beyaz yazı */
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(125, 235, 255, 0.4);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transform: scale(1.05);
}

/* Buton Tıklanma Efekti (JS ile eklenir) */
.btn-primary.clicked {
    transform: scale(0.95);
}

/* Buton Yükleniyor (Loading) Durumu */
.btn-primary.loading {
    color: transparent !important;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinBtn 0.8s linear infinite;
}

@keyframes spinBtn {
    to {
        transform: rotate(360deg);
    }
}

/* IDE Görsel Sunumu (CSS Art) */
.ide-mockup {
    background-color: #020617;
    border: 1px solid #1e293b;
    background-color: #0f172a;
    /* IDE koyu kalmalı ki kodlar görünsün */
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    aspect-ratio: 16/10;
}

.window-controls {
    background: #0f172a;
    background: #1e293b;
    padding: 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #1e293b;
    border-bottom: 1px solid #334155;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.ide-body {
    display: flex;
    height: 100%;
}

.ide-sidebar {
    width: 50px;
    border-right: 1px solid #1e293b;
    border-right: 1px solid #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 15px;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    background: #1e293b;
    background: #334155;
    border-radius: 4px;
}

.ide-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #020617;
    background: #0f172a;
}

.chat-interface {
    width: 80%;
    background: #0f172a;
    border: 1px solid #1e293b;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 15px;
    color: var(--text-desc);
    color: #cbd5e1;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Responsive */
/* Dikey PC Ekranları ve Laptoplar için Ara Geçiş (Çakışmayı Önler) */
@media (max-width: 1250px) {
    header {
        padding: 0 20px;
        /* Genişlik tam olduğu için sadece padding düşürülür */
    }

    /* Menüyü ortadan sağa taşı (Dikey ekranda çakışmayı önler) */
    nav {
        position: relative;
        /* Absolute yerine akışa dahil et */
        left: auto;
        /* Ortalamayı iptal et */
        transform: none;
        /* Ortalamayı iptal et */
        margin-left: auto;
        /* Sağa yasla */
        margin-right: 60px;
        /* Çok sağa yapışmasın, biraz sola al */
    }
}

@media (max-width: 1024px) {
    nav a {
        padding: 8px 12px;
        /* Link aralarını biraz sıkılaştır */
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    main {
        padding: 115px 15px 40px 15px;
        /* Mobilde header payını yeniden ayarla */
        overflow-x: hidden;
        /* Mobilde taşmayı engelle */
    }

    h1 {
        font-size: 2.2rem;
        /* Başlıkları mobilde ideal boyuta getir */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }

    .hero-content p {
        padding: 0 15px;
        font-size: 1rem;
    }

    /* --- Ana Sayfa IDE Paneli (Terminal) Mobil Optimizasyonu --- */
    .ide-mockup {
        aspect-ratio: auto;
        /* Sabit oranı mobilde serbest bırak */
        min-height: 180px;
    }

    .window-controls {
        padding: 8px 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .ide-sidebar {
        width: 35px;
        /* Yan menüyü mobilde daralt ki yazılara yer kalsın */
        padding-top: 10px;
        gap: 12px;
    }

    .sidebar-icon {
        width: 16px;
        height: 16px;
    }

    .chat-interface {
        width: 95%;
        /* Yazı alanı daha geniş alana yayılsın */
        padding: 10px 12px;
        font-size: 0.75rem;
        /* Yazılar mobilde taşmasın diye küçültüldü */
        text-align: left;
        /* Ortalama bozulmasını önle */
    }

    header {
        /* Mobilde logo, sepet ve hamburgeri hizala */
        padding: 0 20px;
        left: 0;
        /* Boşlukları sıfırla, tam ekran */
        right: 0;
        height: 75px;
        /* Mobilde de bar yüksekliğini artır */
        justify-content: flex-start;
        /* Flex düzenini manuel ayarla */
        gap: 15px;
    }

    .logo-container {
        margin-right: auto;
        /* Logoyu sola yasla, diğerlerini sağa it */
    }

    .auth-buttons {
        display: none;
        /* Mobilde normalde gizle, menü açılınca göster */
    }

    .hamburger {
        display: block;
        /* Mobilde göster */
    }

    /* Menü açılınca Hamburger'i (Çarpıyı) menünün içine sabitle */
    .hamburger.active {
        position: fixed;
        top: 30px;
        right: 30px;
        /* Menünün içinde, sağ köşede */
        left: auto;
        /* Sol tarafa gitmesini engelle */
        z-index: 1002;
        /* Menünün (1001) de üzerinde olsun */
    }

    .hamburger.active .bar {
        background-color: #f1f5f9;
        /* Çarpı ikonu koyu menüde belirgin olsun */
    }

    nav {
        position: fixed;
        left: unset;
        right: -100%;
        /* Ekran dışına it */
        top: 0;
        width: 75%;
        /* Ekranın tamamını kaplamasın */
        max-width: 300px;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.95);
        /* Koyu siber lacivert menü */
        backdrop-filter: blur(15px);
        display: flex;
        /* Block yerine Flex yapıyoruz ki alt kısmı hizalayabilelim */
        flex-direction: column;
        padding-top: 100px;
        /* Üstten boşluk */
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        /* Menüye derinlik kat */
        transition: 0.4s ease;
        transform: none;
        /* Desktop ortalamasını iptal et */
        z-index: 1001;
        /* Header'ın (1000) üzerine çık, tam blok görün */
        border-radius: 30px 0 0 30px;
        /* Sol taraf oval, sağ taraf düz (ekrana sıfır) */
        margin-right: 0;
        /* Desktop'tan gelen sağ boşluğu sıfırla */
    }

    nav.active {
        right: 0;
        /* Ekrana getir */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        /* Linkler arası boşluğu azalttık */
        text-align: center;
        margin-bottom: auto;
        /* Linkleri yukarı iter, footer'ı aşağı iter */
        width: 100%;
    }

    /* Linkler için başlangıç durumu (Gizli ve sağda) */
    nav ul li {
        opacity: 0;
        transform: translateX(50px);
    }

    nav a {
        font-size: 1.2rem;
        /* Mobilde daha kibar font */
        color: #f1f5f9;
        /* İsimlerin görünmesi için beyaz/açık renk */
        display: block;
        /* Mobilde Yatay Cam Blok Görünümü */
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 15px;
        width: 85%;
        /* Genişlik vererek yatay bar hissi */
        margin: 0 auto;
    }

    nav a:hover,
    nav a.active {
        background: var(--accent-blue);
        color: #fff;
        border-color: var(--accent-blue);
    }

    /* Menü açıldığında çalışacak animasyon */
    nav.active ul li {
        animation: slideInRight 0.5s ease forwards;
    }

    /* Sıralı Gecikmeler (Staggered Animation) */
    nav.active ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    nav.active ul li:nth-child(2) {
        animation-delay: 0.2s;
    }

    nav.active ul li:nth-child(3) {
        animation-delay: 0.3s;
    }

    nav.active ul li:nth-child(4) {
        animation-delay: 0.4s;
    }

    nav.active ul li:nth-child(5) {
        animation-delay: 0.5s;
    }

    /* PC'deki kayan göstergeyi mobilde gizle */
    .nav-indicator {
        display: none;
    }

    /* Mobil İçin Ek Düzenlemeler */
    #scrollTopBtn {
        width: 60px;
        height: 24px;
        top: -24px;
        background: var(--bg-secondary);
        box-shadow: none;
    }

    #scrollTopBtn::before {
        margin-top: 4px;
        width: 8px;
        height: 8px;
    }

    /* Mobilde dokunma/hover efektlerini iptal et */
    #scrollTopBtn:hover,
    #scrollTopBtn:active {
        background: var(--accent-blue) !important;
        height: 24px;
        top: -24px;
        box-shadow: none;
        /* Ekstra parlama olmasın */
    }

    .services-grid,
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
        /* Mobilde 2 sütun yan yana */
        gap: 12px;
        /* Kartlar arası boşluk dengelendi */
    }

    .service-card {
        padding: 15px 8px;
        /* İçerik için daha fazla alan bırakıldı */
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Uzmanlık Kartları Mobil Düzenlemesi */
    .expertise-card {
        padding: 15px 10px;
    }

    .exp-icon {
        font-size: 1.8rem;
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .expertise-card h3 {
        font-size: 1rem;
    }

    .expertise-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Arka plan karelerini mobilde ortala ve düzenle */
    .square-1 {
        width: 120px;
        height: 120px;
        top: 20px;
        left: 50%;
        margin-left: -140px;
        /* Merkezden sola ofset */
        opacity: 0.4;
    }

    .square-2 {
        width: 140px;
        height: 140px;
        bottom: 25%;
        right: 50%;
        margin-right: -140px;
        /* Merkezden sağa ofset */
        opacity: 0.4;
    }
}

/* Aşağıdan Yukarı Menü Geliş Animasyonu */
@keyframes slideInUpMenu {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Menü Açıkken Arka Planı Gizle (Blur performansı çok yorduğu için) */
body.menu-active main,
body.menu-active header .logo-container {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobil Menü Açıkken Auth Butonlarını Yan Menüde Çarpının Soluna Taşı */
body.menu-active .auth-buttons {
    display: flex;
    position: fixed;
    top: 18px;
    /* Çarpı (Hamburger) ile aynı dikey hizaya al */
    bottom: auto;
    right: 75px;
    transform: none;
    z-index: 1002;
    gap: 10px;
}

body.menu-active .btn-login,
body.menu-active .btn-register,
body.menu-active .btn-profile {
    padding: 8px 14px;
    font-size: 0.8rem;
}

/* Mobil Menü Footer (JS ile eklenir) */
.mobile-nav-footer {
    display: none;
    /* Desktopta gizli */
}

@media (max-width: 768px) {
    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-bottom: 40px;
        width: 100%;
        opacity: 0;
        animation: slideInUp 0.5s ease forwards 0.3s;
    }

    .footer-divider {
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-footer-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-brand {
        color: #fff;
        font-weight: 600;
        font-size: 1.1rem;
        /* Logo ile uyumlu boyut */
    }

    /* Mobildeki footer logosunu yazı ile aynı boyuta getir */
    .mobile-footer-row .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 8px;
        background: rgba(168, 85, 247, 0.1);
    }

    /* Logo kutusu için mevcut .logo-icon stilini kullanacağız veya JS'de class vereceğiz */
}

/* Yukarı Çık Butonu */
#scrollTopBtn {
    position: absolute;
    top: -28px;
    /* Footer üst çizgisinin hemen üstüne oturur */
    bottom: auto;
    left: 50%;
    /* Ortala */
    width: 80px;
    height: 28px;
    background: var(--bg-secondary);
    backdrop-filter: none;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    /* Tam oval şık yapı */
    cursor: pointer;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.02);
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover efekti (Yukarı hafif büyüme ve renklenme) */
#scrollTopBtn:hover {
    height: 35px;
    top: -35px;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 -5px 20px rgba(14, 165, 233, 0.3);
}

/* Ok Ucu (Chevron) */
#scrollTopBtn::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-blue);
    border-left: 2px solid var(--accent-blue);
    transform: rotate(45deg);
    /* Yukarı bakan ok ucu */
    margin-top: 6px;
    /* Görsel ortalama */
    transition: border-color 0.3s ease;
}

#scrollTopBtn:hover::before {
    border-color: #fff;
}

/* Ana Sayfa ve Alt Sayfalar İçin Ortak Başlık Animasyonu */
.section-title-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-wrapper.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- İletişim Sayfası Yeni Tasarım --- */
.contact-wrapper {
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

/* İletişim Başlığı Sayfa Yüklenirken Gelsin */
body.loaded:not(.home-page) .contact-title-wrapper {
    animation: enterFromTop 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s;
}

body.loaded:not(.home-page) .contact-subtitle {
    animation: enterFromBottom 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Genişlikler eşitlendi */
    gap: 40px;
    align-items: stretch;
    /* Yükseklikler eşitlendi */
}

/* Sol Taraf: Bilgi Kartları */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    /* Kartları form yüksekliğine göre yay */
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
    /* Akıcılık için küçülerek gelme eklendi */
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card:nth-child(1) {
    transition-delay: 0.1s;
}

.info-card:nth-child(2) {
    transition-delay: 0.3s;
}

.info-card:nth-child(3) {
    transition-delay: 0.5s;
}

.info-card:hover {
    border-color: var(--accent-purple);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.1);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.1);
}

.info-card.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* JS ile eklenecek aktif parlama sınıfı */
.info-card.active-highlight {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(125, 235, 255, 0.2);
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.info-content h3 {
    color: #fff;
    color: var(--text-header);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-desc);
    font-size: 0.95rem;
    margin: 0;
}

/* Sağ Taraf: Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(100px) scale(0.95);
    /* Tok bir açılış için scale efekti eklendi */
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-wrapper.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Form İçin Özel Keyframe (Inputs için Clip-Path sorunlarını önler) */
@keyframes slideUpFadeForm {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* İletişim Form Elemanları Şelale (Waterfall) Animasyonu */
.contact-form-wrapper .form-group,
.contact-form-wrapper .btn-primary {
    opacity: 0;
    transform: translateY(30px);
}

.contact-form-wrapper.show .form-group,
.contact-form-wrapper.show .btn-primary {
    animation: slideUpFadeForm 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-form-wrapper.show .form-group:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-form-wrapper.show .form-group:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-form-wrapper.show .form-group:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-form-wrapper.show .form-group:nth-child(4) {
    animation-delay: 0.8s;
}

.contact-form-wrapper.show .btn-primary {
    animation-delay: 1.0s;
}

/* Formun Gidiş Animasyonu */
.contact-form {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form.fade-out {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    pointer-events: none;
}

/* Başarı Mesajı Stili */
.success-message {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* Form ile aynı yüksekliği kaplasın */
    opacity: 0;
}

.success-message.active-success {
    display: flex !important;
    animation: popInSuccess 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popInSuccess {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.15);
    /* Lunor Mavisi Arka Plan */
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    border: 1px solid var(--accent-blue);
    transform: scale(0) rotate(-180deg);
    position: relative;
    /* Konfetilerin merkezden fırlaması için */
}

.success-message.active-success .success-icon {
    animation: successSpin 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes successSpin {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.success-message h3 {
    color: #fff;
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-desc);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 25px;
    /* İç boşluk artırıldı */
    background: rgba(255, 255, 255, 0.02);
    /* Hafif dolgu */
    background: #f1f5f9;
    /* Hafif gri dolgu */
    border: 1px solid var(--border);
    /* Tam çerçeve */
    border-radius: 50px;
    /* Tam yuvarlak (Elips) */
    color: #fff;
    color: var(--text-header);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-stack);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    border-radius: 25px;
    /* Textarea için hafif köşe */
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 25px;
    /* Yazı hizası */
    color: var(--text-desc);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: transparent;
}

/* Input Focus & Dolu Durumu Animasyonu */
.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(125, 235, 255, 0.1);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -12px;
    left: 20px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    background: var(--bg-secondary);
    /* Çizginin üstüne gelince arka planı kapat */
    padding: 0 8px;
    border-radius: 10px;
}

/* Chrome/Opera/Safari Otomatik Doldurma (Autofill) Rengi Düzeltmesi */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-secondary) inset !important;
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 30px #f1f5f9 inset !important;
    -webkit-text-fill-color: var(--text-header) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: white;
}

/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Harita Bölümü */
.map-container {
    width: 100%;
    height: 250px;
    /* Şık ve kompakt */
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* Haritayı koyu temaya uydurmak için filtre */
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
    opacity: 0;
    transform: translateY(100px);
    /* Geliş mesafesi artırıldı */
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-container.show {
    opacity: 1;
    transform: translateY(0);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Sıkça Sorulan Sorular (SSS) --- */
.faq-section {
    margin-top: 60px;
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-section.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    color: var(--text-header);
}

.faq-grid {
    display: grid;
    gap: 15px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    color: var(--text-header);
    transition: color 0.3s ease;
}

/* Varsayılan ok işaretini gizle */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question {
    list-style: none;
}

/* Kendi '+' ikonumuzu oluştur */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s ease-in-out;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-desc);
    transition: all 0.3s ease;
}

/* JS'deki .active sınıfı yerine [open] seçicisini kullan */
.faq-item[open]>.faq-answer {
    max-height: 200px;
    /* İçeriğe göre açılır */
    padding-bottom: 20px;
}

/* Soru açıkken '+' ikonunu 'x' e dönüştür */
.faq-item[open]>.faq-question::after {
    transform: rotate(45deg);
}

/* Responsive İletişim */
@media (max-width: 768px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
        order: -1;
        /* Formu en üste taşı */
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 18px;
        /* Form boyunu dikeyde daralttık */
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 20px;
        /* İç boşlukları kibarlaştırdık */
    }

    .form-group label {
        top: 12px;
        left: 20px;
        font-size: 0.9rem;
    }

    /* İletişim Kartları Grid Düzeni (Footer Gibi) */
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 15px 10px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    /* 1: Adres, 2: Telefon, 3: Email */
    .info-card:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    /* Telefon Solda */
    .info-card:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    /* Email Sağda */
    .info-card:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .info-content h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .info-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .map-container {
        height: 220px;
        margin-top: 15px;
    }
}

/* --- Login & Register Sayfası Özel Stilleri --- */
/* Sadece içerik alanını (main) hedef alıyoruz, tüm gövdeyi (body) değil! */
main.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 125px 20px 60px 20px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100%;
}

.wrapper {
    position: relative;
    width: 850px;
    height: 550px;
    background: #1e293b;
    border: 2px solid var(--accent-blue);
    overflow: hidden;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.4);
    border-radius: 20px;
    z-index: 10;
    opacity: 0;
    animation: slideUpFadeForm 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

/* Hata durumunda arka plan tasarımını bozmadan animasyonları durdur ve görünürlüğü koru */
.wrapper.no-animation {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.wrapper .form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wrapper .form-box.login {
    left: 0;
    padding: 0px 60px 0 40px;
}

.wrapper .form-box.login .animation {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition: .4s ease;
    transition-delay: calc(.06s * var(--j));
}

.wrapper.active .form-box.login .animation {
    transform: translateX(-120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.06s * var(--i));
}

.wrapper .form-box.register {
    right: 0;
    padding: 0px 40px 0px 60px;
    pointer-events: none;
}

.wrapper.active .form-box.register {
    pointer-events: auto;
}

.wrapper .form-box.register .animation {
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition: .4s ease;
}

.wrapper.active .form-box.register .animation {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.06s * var(--i));
}

.form-box h2 {
    font-size: 32px;
    color: #fff;
    text-align: center;
}

.form-box .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 25px 0;
    padding-right: 15px;
    /* Çizgiyle çakışmayı önlemek için sağdan pay verdik */
}

.form-box .input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid #cbd5e1;
    border-radius: 0;
    /* Reset global form styles */
    padding: 0 25px 0 0;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    transition: .5s;
    box-shadow: none;
    /* Reset global shadow */
}

/* Tüm formlarda otomatik doldurma rengini tek tona sabitle */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1e293b inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-box .input-box input:focus,
.form-box .input-box input:valid {
    border-bottom-color: var(--accent-blue);
    background: transparent;
    box-shadow: none;
}

.form-box .input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #cbd5e1;
    pointer-events: none;
    transition: .5s;
    background: transparent;
    padding: 0;
}

.form-box .input-box input:focus~label,
.form-box .input-box input:valid~label {
    top: -5px;
    color: var(--accent-blue);
    background: transparent;
    font-size: 14px;
    left: 0;
}

.form-box .input-box i {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: #cbd5e1;
    transition: .5s;
}

.form-box .input-box input:focus~i,
.form-box .input-box input:valid~i {
    color: var(--accent-blue);
}

.form-box .btn {
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid var(--accent-blue);
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
    display: block;
}

.form-box .btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(var(--bg-secondary), var(--accent-blue), var(--bg-secondary), var(--accent-blue));
    z-index: -1;
    transition: .5s;
}

.form-box .btn:hover::before {
    top: 0;
}

.form-box .logreg-link {
    font-size: 14.5px;
    color: #cbd5e1;
    text-align: center;
    margin: 20px 0px 10px;
}

.logreg-link p a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.logreg-link p a:hover {
    text-decoration: underline;
}

.wrapper .info-text {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wrapper .info-text.login {
    right: 0;
    text-align: right;
    padding: 0px 40px 60px 150px;
}

.wrapper .info-text.login .animation {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition: .4s ease;
    transition-delay: calc(.06s * var(--j));
}

.wrapper.active .info-text.login .animation {
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.06s * var(--i));
}

.wrapper .info-text.register {
    left: 0;
    text-align: left;
    padding: 0px 150px 60px 40px;
    pointer-events: none;
}

.wrapper.active .info-text.register {
    pointer-events: auto;
}

.wrapper .info-text.register .animation {
    transform: translateX(-120%);
    opacity: 0;
    filter: blur(10px);
    transition: .4s ease;
    transition-delay: calc(.06s * var(--j));
}

.wrapper.active .info-text.register .animation {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.06s * var(--i));
}

.info-text h2 {
    font-size: 36px;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.info-text p {
    font-size: 16px;
    color: #cbd5e1;
}

.wrapper .bg-animate {
    position: absolute;
    top: -50px;
    right: -100px;
    /* Çizgiyi biraz daha sağa kaydırdık */
    width: 1100px;
    height: 800px;
    background: linear-gradient(45deg, #1e293b, var(--accent-blue));
    /* Renk geçişini koyulaştırdık */
    border-bottom: 3px solid var(--accent-blue);
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 1s ease;
    transition-delay: 1s;
}

.wrapper.active .bg-animate {
    transform: rotate(0) skewY(0);
    transition-delay: .2s;
}

.wrapper .bg-animate2 {
    position: absolute;
    top: 100%;
    left: 250px;
    width: 1000px;
    height: 900px;
    background: #1e293b;
    /* Kayıt formunu da giriş formuyla aynı renge sabitledik */
    border-top: 3px solid var(--accent-blue);
    transform: rotate(0) skewY(0);
    transform-origin: bottom left;
    transition: 1s ease;
    transition-delay: .2s;
}

.wrapper.active .bg-animate2 {
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: .8s;
}

@media (max-width: 768px) {
    .wrapper {
        max-width: 100%;
        height: 650px;
    }

    .wrapper .form-box.login,
    .wrapper .form-box.register {
        width: 100%;
        padding: 0 30px;
    }

    .wrapper .info-text {
        display: none;
        /* Mobilde yazılar formun üstüne bineceği için gizlenir */
    }

    .wrapper .bg-animate,
    .wrapper .bg-animate2 {
        width: 1500px;
        /* Mobilde arka plan genişletilir */
    }
}

/* --- Profile Dropdown Stilleri --- */
.user-profile {
    position: relative;
    z-index: 1005;
}

.btn-profile {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-header);
    padding: 10px 24px;
    /* Üst bar Giriş Yap butonu ile tam aynı boyut yapıldı */
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--font-stack);
}

.btn-profile:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(14, 165, 233, 0.05);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-profile.active .profile-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.profile-dropdown a {
    text-decoration: none;
    color: var(--text-desc);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.profile-dropdown a:hover {
    background: rgba(14, 165, 233, 0.05);
    color: var(--accent-blue);
}

.profile-dropdown .logout-btn {
    color: #ef4444;
    margin-top: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 8px 8px;
}

.profile-dropdown .logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Ana Menü Çıkış Yap Butonu (Sadece Mobilde Gösterilir) */
.menu-logout-item {
    display: none;
    /* Bilgisayarda zaten Hesabım kutusunun içinde olduğu için ana menüde gizlenir */
}

@media (max-width: 768px) {
    .menu-logout-item {
        display: block;
        /* Mobilde menüyü açınca en altta görünür */
    }
}

/* --- Footer --- */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #312e81 100%);
    border-top: none;
    padding: 60px 40px 20px 40px;
    flex-shrink: 0;
    margin-top: auto;
    /* İçerik azsa en alta yapışması için */
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Elemanlar arası ferahlık */
    position: relative;
    overflow: visible;
    /* Yukarı çık butonunun dışa taşabilmesi için zorunlu */
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
    /* Üste doğru çok yumuşak bir derinlik */
}

/* Footer dalgalı zemin (Wavy background) */
footer::before {
    content: '';
    position: absolute;
    top: -24px;
    /* Dalganın yüksekliği kadar yukarı */
    left: 0;
    width: 100%;
    height: 25px;
    /* Dalga yüksekliği */
    background: #1e293b;
    /* Arka plana uyması için biraz açıldı */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q150,90 300,30 T600,30 T900,30 T1200,30 L1200,120 L0,120 Z' /%3E%3C/svg%3E") no-repeat center / 100% 100%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q150,90 300,30 T600,30 T900,30 T1200,30 L1200,120 L0,120 Z' /%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 50%);
    /* Ortadan başlama maskesi */
    transition: clip-path 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Footer üstü dalgalı parlayan çizgi (Glowing wavy line) */
footer::after {
    content: '';
    position: absolute;
    top: -26px;
    /* Zeminden 2px daha yukarıda kalarak ince bir parlayan çizgi oluşturur */
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q150,90 300,30 T600,30 T900,30 T1200,30 L1200,120 L0,120 Z' /%3E%3C/svg%3E") no-repeat center / 100% 100%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q150,90 300,30 T600,30 T900,30 T1200,30 L1200,120 L0,120 Z' /%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: 1;
    /* Asıl zemin dalgasının arkasında dursun */
    opacity: 0.8;
    clip-path: inset(0 50% 0 50%);
    /* Ortadan başlama maskesi */
    transition: clip-path 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    /* Hafif gecikmeli açılış */
}

footer.show::before,
footer.show::after {
    clip-path: inset(0 0 0 0);
    /* Tam ekrana yayılma */
}

.footer-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-40px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

footer.show .footer-logo-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.footer-logo-img {
    width: 70px;
    /* Büyükçe logo */
    height: 70px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.footer-logo-text .logo-title {
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.footer-logo-text .logo-subtitle {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-middle {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 30px;
}

.footer-contact-boxes {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

footer.show .contact-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

footer.show .contact-box:nth-child(1) {
    transition-delay: 0.3s;
}

footer.show .contact-box:nth-child(2) {
    transition-delay: 0.5s;
}

footer.show .contact-box:nth-child(3) {
    transition-delay: 0.7s;
}

.contact-box:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-box:hover .contact-icon {
    transform: scale(1.15) rotate(-10deg);
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-detail {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-bottom {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    /* Sıkıcı düz çizgi yerine enerjik kesik sınır */
    padding-top: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* İçerik filigranın üstünde kalsın */
.footer-top,
.footer-bottom,
.footer-middle {
    position: relative;
    z-index: 1;
}

footer.show .footer-bottom {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 15px 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-top {
        margin-bottom: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .footer-middle {
        margin-bottom: 0;
        width: 100%;
    }

    .footer-logo-container {
        flex-direction: row;
        /* Logoyu sola, yazıyı sağa alır */
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .footer-logo-img {
        width: 60px;
        height: 60px;
    }

    .footer-logo-text .logo-title {
        font-size: 1.3rem;
        /* Yan yana dizilimde daha şık durması için biraz büyüttük */
    }

    .footer-logo-text .logo-subtitle {
        font-size: 0.75rem;
        display: block;
    }

    .footer-contact-boxes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Mobilde Yarı Yarıya (Email ve Telefon İçin) */
        gap: 12px;
        width: 100%;
    }

    .contact-box:nth-child(1) {
        grid-column: 1 / 2;
    }

    .contact-box:nth-child(2) {
        grid-column: 2 / 3;
    }

    .contact-box:nth-child(3) {
        grid-column: 1 / 3;
        /* Adres için tam genişlik */
    }

    .contact-box {
        width: 100%;
        padding: 12px 10px;
        gap: 10px;
        flex-direction: row;
        /* İkon sola, yazılar sağa */
        text-align: left;
        align-items: center;
    }

    .contact-info-text {
        align-items: flex-start;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        border-radius: 10px;
    }

    .contact-title {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .contact-detail {
        font-size: 0.75rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .footer-bottom {
        margin-top: 15px;
        padding-top: 15px;
        font-size: 0.85rem;
        color: #e2e8f0;
        /* Yazıyı çok daha belirgin beyaz/gri yapar */
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        /* Çizgiyi daha görünür kılar */
        width: 100%;
        text-align: center;
    }
}

/* --- Yeni Ürünler Sayfası Tasarımı --- */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px 0;
    overflow-x: hidden;
    /* Animasyonla gelenlerin taşmasını engelle */
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    /* JS ile görünür olacak */
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Çift numaralı ürünler (2, 4, 6...) ters dursun */
.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Scroll Animasyon Sınıfları */
.product-row.hidden-left {
    transform: translateX(-100px);
}

.product-row.hidden-right {
    transform: translateX(100px);
}

.product-row.show {
    opacity: 1;
    transform: translateX(0);
}

.product-visual {
    flex: 1;
    position: relative;
}

.product-visual img {
    width: 100%;
    height: 300px;
    /* Görsellerin yüksekliğini sabitledik */
    object-fit: cover;
    /* Görselin oranını bozmadan kutuya sığdırır */
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-visual img:hover {
    transform: scale(1.02);
    border-color: var(--accent-blue);
}

.product-details {
    flex: 1;
}

.product-row:nth-child(even) .product-details {
    text-align: right;
}

.product-details h2 {
    font-size: 2rem;
    color: #fff;
    color: var(--text-header);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.product-details h2,
.product-details p {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-row:nth-child(even) .product-details h2,
.product-row:nth-child(even) .product-details p {
    clip-path: inset(0 0 0 100%);
}

.product-row.show .product-details h2 {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.6s;
}

.product-row.show .product-details p {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.9s;
}

.product-details h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-purple);
}

.product-row:nth-child(even) .product-details h2::after {
    left: auto;
    right: 0;
    background: var(--accent-blue);
}

@media (max-width: 768px) {
    .product-row {
        gap: 15px;
        /* Mobilde boşluğu azalt */
    }

    /* Görsel boyutunu küçült ve sabitle */
    .product-visual {
        flex: 0 0 30%;
        /* Genişliğin %30'u - Daha kompakt */
    }

    .product-visual img {
        height: 80px;
        /* Yükseklik daha da küçüldü */
    }

    /* Yazıları küçült */
    .product-details h2 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .product-details h2::after,
    .product-row:nth-child(even) .product-details h2::after {
        display: none;
        /* Mobilde alt çizgiyi kaldır */
    }

    .product-details p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* --- Hizmetler Sayfası Tasarımı --- */
.services-section {
    padding: 40px 0;
}

/* --- Hizmetler Sayfası Slider (Carousel) --- */
.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
}

.services-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px;
    /* Kart gölgeleri kesilmesin diye pay */
    -ms-overflow-style: none;
    /* IE ve Edge scrollbar gizleme */
    scrollbar-width: none;
    /* Firefox scrollbar gizleme */
    flex: 1;
}

.services-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome ve Safari scrollbar gizleme */
}

.services-carousel .service-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: center;
}

.carousel-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-header);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.carousel-control:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

/* --- Ana Sayfa 3D Hizmetler Carousel (Coverflow) --- */
.home-3d-carousel {
    position: relative;
    width: 100vw;
    /* Ekranın TAMAMINI kaplayan konteyner */
    margin-left: calc(-50vw + 50%);
    /* <main> kısıtlamasını yıkar, tam ortalar */
    height: 550px;
    /* Animasyonlar için devasa alan */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    overflow: hidden;
    /* Yanlara taşan kısımları temizler */
    perspective: 2000px;
    /* Çark hissi için ideal açı */
}

/* Çakışmayı kökünden çözen ve ezilmeyi önleyen yüksek öncelikli seçici */
article.service-card.home-3d-card {
    position: absolute !important;
    /* Standart karttaki yan yana dizilimi ezer, üst üste bindirir */
    width: 78vw;
    /* Kenarlardan kısıldı, diğer kartlara yer açıldı */
    max-width: 1400px;
    /* Dolgunluk korundu ama sağ ve soldan boşluk bırakıldı */
    height: 450px;
    display: flex;
    align-items: center;
    text-align: left;
    /* Yazılar sağda hizalı */
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
    /* Temayla bütünleşen cam zemin */
    backdrop-filter: blur(25px);
    /* Güçlü cam efekti */
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    /* Premium parlak sınır */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    padding: 0 !important;
    /* Standart kartın kalın boşluklarını sıfırlar */
    margin: 0 !important;
    overflow: hidden;
    /* İçerikler dışarı taşmasın */
}

article.service-card.home-3d-card::before {
    display: none;
    /* Üstteki standart animasyon çizgisini iptal edip Glow kullanıyoruz */
}

/* Sol Taraf: Animasyonlu Görsel Alanı */
.home-3d-card .card-visual {
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    /* Şeffaf hisli zemin */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

/* Sağ Taraf: Metin Alanı */
.home-3d-card .card-text {
    width: 55%;
    padding: 60px 80px;
}

.home-3d-card .card-text h3 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-header);
    font-weight: 800;
    line-height: 1.1;
}

.home-3d-card .card-text p {
    font-size: 1.25rem;
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-desc);
}

/* ----- Profesyonel Animasyonlu İkonlar (CSS Art) ----- */
.anim-icon {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ürün Geliştirme: Kesişen Dönen Halkalar */
.icon-rings .ring {
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--accent-blue);
    border-bottom-color: var(--accent-purple);
    transition: all 1s ease;
}

.icon-rings .ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation: spinRing 6s linear infinite;
}

.icon-rings .ring:nth-child(2) {
    width: 75%;
    height: 75%;
    animation: spinRing 4s linear infinite reverse;
    border-top-color: var(--accent-purple);
    border-bottom-color: var(--accent-blue);
}

.icon-rings .ring:nth-child(3) {
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    animation: pulseCore 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
    border: none;
}

@keyframes spinRing {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseCore {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 50px rgba(99, 102, 241, 0.6);
    }
}

/* Teknoloji Üretimi: Atan Çekirdek ve Düğümler */
.icon-core .core-center {
    width: 60px;
    height: 60px;
    background: var(--text-header);
    border-radius: 15px;
    transform: rotate(45deg);
    position: absolute;
    animation: coreBeat 2s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

.icon-core .node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-blue);
}

.icon-core .node:nth-child(2) {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitNode 4s linear infinite;
    transform-origin: 50px 90px;
}

.icon-core .node:nth-child(3) {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitNode 4s linear infinite reverse;
    transform-origin: 50px -75px;
    background: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
}

@keyframes coreBeat {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
    }

    50% {
        transform: rotate(135deg) scale(1.3);
        border-radius: 50%;
    }
}

@keyframes orbitNode {
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* Yazılım Mühendisliği: Yüzen Kod Blokları */
.icon-code {
    flex-direction: column;
    gap: 15px;
}

.code-line {
    height: 12px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.code-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: codeScan 2s ease-in-out infinite;
}

.code-line:nth-child(1) {
    width: 140px;
    animation-delay: 0.1s;
}

.code-line:nth-child(2) {
    width: 100px;
    margin-left: -40px;
}

.code-line:nth-child(2)::after {
    animation-delay: 0.5s;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.code-line:nth-child(3) {
    width: 160px;
    margin-left: 20px;
}

.code-line:nth-child(3)::after {
    animation-delay: 1s;
}

@keyframes codeScan {
    100% {
        left: 200%;
    }
}

/* ----- Akıcı, Dolgun, Ağır Geçiş Sınıfları (JS ile değişir) ----- */
article.service-card.home-3d-card {
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 1s ease,
        filter 1s ease !important;
    /* Buğulanma geçişini pürüzsüzleştirir */
}


/* --- Aktif Kart (Merkez) --- */
.home-3d-card.show.active {
    transform: translateX(0) translateZ(80px) scale(1) !important;
    /* Hafif öne fırlar */
    opacity: 1 !important;
    z-index: 3;
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(14, 165, 233, 0.1) !important;
    filter: blur(0px) brightness(100%);
    /* Odakta ve net */
    cursor: default;
}

/* --- Sol Kart (Silindir/Çark Üzerinde Arkaya Dönerek Giden) --- */
.home-3d-card.show.prev {
    transform: translateX(-68%) translateZ(-250px) scale(0.8) rotateY(15deg) !important;
    opacity: 0.6 !important;
    z-index: 1;
    filter: blur(6px) brightness(80%);
    /* Derinlik hissi için buğulu ve soluk */
}

/* --- Sağ Kart (Silindir/Çark Üzerinde Arkaya Dönerek Giden) --- */
.home-3d-card.show.next {
    transform: translateX(68%) translateZ(-250px) scale(0.8) rotateY(-15deg) !important;
    opacity: 0.6 !important;
    z-index: 1;
    filter: blur(6px) brightness(80%);
    /* Derinlik hissi için buğulu ve soluk */
}

/* --- Hover (Tıklamaya Teşvik İçin) --- */
.home-3d-card.show.prev:hover {
    opacity: 0.9 !important;
    transform: translateX(-63%) translateZ(-200px) scale(0.85) rotateY(10deg) !important;
    filter: blur(2px) brightness(95%);
    /* Tıklamadan önce hafifçe netleşir */
}

.home-3d-card.show.next:hover {
    opacity: 0.9 !important;
    transform: translateX(63%) translateZ(-200px) scale(0.85) rotateY(-10deg) !important;
    filter: blur(2px) brightness(95%);
}

/* Sadece Aktif Kartın Animasyonları Çalışsın (Performans ve Odak İçin) */
.home-3d-card:not(.active) .ring,
.home-3d-card:not(.active) .core-center,
.home-3d-card:not(.active) .node,
.home-3d-card:not(.active) .code-line::after {
    animation-play-state: paused;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* JS ile açılacak */
    transform: translateY(50px);
    /* Aşağıdan yukarı premium süzülme */
}

/* Neler Yapıyoruz Kartlarının Sıralı Gelmesi (Staggered Animation) */
.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.3s;
}

.service-card:nth-child(3) {
    transition-delay: 0.5s;
}

.service-card:nth-child(4) {
    transition-delay: 0.7s;
}

.service-card:nth-child(5) {
    transition-delay: 0.9s;
}

.service-card:nth-child(6) {
    transition-delay: 1.1s;
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    background: rgba(14, 165, 233, 0.08);
    /* İkon arkası elit kare kutu (Squircle) */
    border-radius: 22px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
}

.service-card h3 {
    color: #fff;
    color: var(--text-header);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-desc);
    font-size: 0.95rem;
}

/* Kart Yazılarının Yönlü Dolarak Gelmesi */
.service-card:not(.home-3d-card) h3,
.service-card:not(.home-3d-card) p {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.show:not(.home-3d-card) h3 {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.5s;
}

.service-card.show:not(.home-3d-card) p {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.8s;
}

/* Header Slide Down Animasyonu (Sadece Ana Sayfa için) */
.header-animate {
    animation: headerSlideDown 0.8s ease-out forwards;
}

@keyframes headerSlideDown {
    0% {
        transform: translateY(-150%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Hakkımızda Sayfası Stilleri --- */
.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-desc);
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05));
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05));
    pointer-events: none;
}

.intro-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-content p {
    margin-bottom: 20px;
    color: var(--text-desc);
}

.intro-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    /* Başlangıçta gizli */
    transform: translateY(50px);
}

.stat-card:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-card:nth-child(2) {
    transition-delay: 0.3s;
}

.stat-card:nth-child(3) {
    transition-delay: 0.5s;
}

.stat-card:nth-child(4) {
    transition-delay: 0.7s;
}

.stat-card.show {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-desc);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.mv-card {
    background: linear-gradient(145deg, var(--bg-secondary), rgba(20, 20, 20, 0.8));
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-purple);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    color: #fff;
    color: var(--text-header);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.expertise-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    color: var(--text-header);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.expertise-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(50px);
}

.expertise-card:nth-child(1) {
    transition-delay: 0.1s;
}

.expertise-card:nth-child(2) {
    transition-delay: 0.2s;
}

.expertise-card:nth-child(3) {
    transition-delay: 0.3s;
}

.expertise-card:nth-child(4) {
    transition-delay: 0.4s;
}

.expertise-card:nth-child(5) {
    transition-delay: 0.5s;
}

.expertise-card:nth-child(6) {
    transition-delay: 0.6s;
}

.expertise-card.show {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.03);
    background: #f8fafc;
    border-color: var(--accent-blue);
    transform: scale(1.02);
}

.exp-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: rgba(168, 85, 247, 0.1);
    background: rgba(99, 102, 241, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--accent-purple);
}

.expertise-card h3 {
    color: #fff;
    color: var(--text-header);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Uzmanlık ve İstatistik Kartlarındaki Yazıların Dolması */
.expertise-card h3,
.expertise-card p,
.stat-card .stat-number,
.stat-card .stat-label {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-card.show h3,
.stat-card.show .stat-number {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.5s;
}

.expertise-card.show p,
.stat-card.show .stat-label {
    clip-path: inset(0 0 0 0);
    transition-delay: 0.8s;
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.2rem;
    }

    .modern-title {
        font-size: 2.2rem !important;
        /* Mobilde daha kibar dursun */
    }

    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-visual {
        gap: 10px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        text-align: center;
        padding: 25px;
    }

    /* Hizmetler - Mobilde 2'li Görünüm ve Küçültme */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* Mobilde Slider Görünümü */
    .carousel-container {
        width: 100vw;
        margin-left: -15px;
        /* Mobilde ekranı tam uçtan uca kaplaması için sağ/sol boşluk payını ezer */
    }

    .services-carousel {
        padding: 10px 10vw 20px 10vw;
        /* Kartın tam ortada durması için yanlardan 10vw boşluk */
        gap: 15px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 10vw;
        /* Kaydırma bittiğinde merkeze hatasız kilitlenmesini sağlar */
    }

    .services-carousel .service-card {
        flex: 0 0 80vw;
        /* Kart tam %80 genişliğinde olur, kalan %20 yanlara dağılır (10+10) */
        scroll-snap-align: center;
        /* Kartı zorla ekranın tam ortasına hizalar */
        scroll-snap-stop: always;
        /* Kullanıcı sert kaydırsa bile sadece 1 kart atlayıp ortada dursun */
    }

    .carousel-control {
        display: none;
        /* Mobilde oklara gerek yok, tamamen gizle */
    }

    /* Mobilde 3D Carousel Görünümü */
    .home-3d-carousel {
        height: 360px;
        /* Mobilde dikey alanı çok kaplamaması için boydan kısıldı */
        perspective: 1000px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        /* Mobilde de ortalamayı koru */
    }

    article.service-card.home-3d-card {
        width: 75vw;
        /* Sağdan soldan diğer kartların görünmesi için kenarlardan kısıldı */
        height: 310px;
        /* Boydan kısıldı */
        padding: 20px 15px !important;
        gap: 10px;
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        /* İçerik yukarıdan başlasın */
    }

    .home-3d-card .card-visual {
        width: 100%;
        height: 100px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

    .home-3d-card .card-visual .anim-icon {
        transform: scale(0.6);
        /* 200px'lik devasa PC animasyonunu mobilde ufaltır ve sığdırır */
    }

    .home-3d-card .card-text {
        width: 100%;
        padding: 10px 5px 0 5px;
    }

    .home-3d-card .card-text h3 {
        font-size: 1.25rem;
        /* Yeni boyuta göre kibarlaştırıldı */
        margin-bottom: 5px;
    }

    .home-3d-card .card-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .home-3d-card.show.prev {
        transform: translateX(-60%) translateZ(-200px) scale(0.75) rotateY(10deg) !important;
        opacity: 0.5 !important;
        filter: blur(4px) brightness(85%);
    }

    .home-3d-card.show.next {
        transform: translateX(60%) translateZ(-200px) scale(0.75) rotateY(-10deg) !important;
        opacity: 0.5 !important;
        filter: blur(4px) brightness(85%);
    }

    .home-3d-card.show.prev:hover {
        transform: translateX(-55%) translateZ(-200px) scale(0.8) rotateY(5deg) !important;
        opacity: 0.8 !important;
        filter: blur(2px) brightness(95%);
    }

    .home-3d-card.show.next:hover {
        transform: translateX(55%) translateZ(-200px) scale(0.8) rotateY(-5deg) !important;
        opacity: 0.8 !important;
        filter: blur(2px) brightness(95%);
    }

    .service-card {
        padding: 15px;
        /* Mobilde kart boyunu çok daha kompakt (kısa) yaptık */
        border-radius: 16px;
    }

    .service-icon {
        font-size: 1.6rem;
        width: 55px;
        /* Mobilde elit kutu biraz küçüldü */
        height: 55px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1.05rem;
        /* Başlık kibarlaştırıldı */
        margin-bottom: 5px;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        /* Yazı arası boşluk kısılarak dikey uzunluk azaltıldı */
    }

    /* Uzmanlık Alanları - Mobilde 2'li ve Ortalı */
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .expertise-card {
        padding: 15px 10px;
        align-items: center;
        text-align: center;
    }

    .expertise-card h3 {
        font-size: 0.9rem;
    }

    .expertise-card p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .exp-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
}

/* --- Profil Sayfas� Stilleri --- */
.profile-container {
    padding: 140px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.profile-info-main {
    display: flex;
    align-items: center;
    gap: 25px;
}

.profile-avatar {
    font-size: 5rem;
    color: var(--accent-blue);
    line-height: 1;
}

.profile-welcome h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--text-header);
}

.profile-welcome p {
    color: var(--text-desc);
    margin: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.card-header i {
    font-size: 1.8rem;
    color: var(--accent-blue);
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text-header);
    margin: 0;
}

.info-group {
    margin-bottom: 20px;
}

.info-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-desc);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-group span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-header);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.btn-logout-alt {
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-logout-alt:hover {
    background: #ef4444;
    color: #fff;
}

.btn-delete-account {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-delete-account:hover {
    background: #ef4444;
    color: #fff;
}

.danger-zone {
    border-color: rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .profile-info-main {
        flex-direction: column;
        gap: 15px;
    }

    .profile-container {
        padding: 100px 20px 40px;
    }
}

/* --- Services Auto Slider (Anasayfa) --- */
.services-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #0f172a;
    height: 500px;
}

.services-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.service-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.service-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: transform 6s linear;
}

.service-slide:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.slide-overlay {
    position: absolute;
    bottom: 30px;
    right: 40px;
    text-align: right;
    color: #fff;
    pointer-events: none;
}

.slide-overlay h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.slide-overlay p {
    font-size: 1.4rem;
    font-weight: 500;
    color: #e2e8f0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .services-slider-container {
        height: 400px;
        border-radius: 20px;
    }

    .slide-overlay {
        bottom: 20px;
        right: 20px;
    }

    .slide-overlay h3 {
        font-size: 2rem;
    }

    .slide-overlay p {
        font-size: 1.1rem;
    }
}

/* --- Form Toggle Switch (İletişim Sayfası) --- */
.form-toggle-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
}

.form-toggle {
    position: relative;
    display: inline-flex;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px;
    width: 100%;
}

.form-toggle .toggle-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-desc);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
}

.form-toggle .toggle-btn.active {
    color: #fff;
}

.form-toggle .toggle-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: var(--accent-blue);
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.form-toggle.right-active .toggle-indicator {
    transform: translateX(100%);
}

/* --- Çözümlerimiz (2'li Intro Kutusu) --- */
.solutions-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
}

.solution-card {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(14, 165, 233, 0.3); /* Açık mavi şık border */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    /* Scroll animasyon başlangıç durumu */
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
}

body.dark-theme .solution-card {
    border-color: rgba(14, 165, 233, 0.2);
}

/* Görünür olduğunda opacity/transform resetlenir */
.solution-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card.is-visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    background: rgba(14, 165, 233, 0.03); /* Hoverda çok hafif mavi tonu */
}

.solution-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emoji-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.solution-icon-title h3 {
    font-size: 1.4rem;
    color: var(--text-header);
    font-weight: 800;
    margin: 0;
}

.solution-card p {
    color: var(--text-desc);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .solutions-container {
        flex-direction: column;
    }
}

/* --- Öne Çıkan Ürünler (Bento Grid) --- */
.bento-products-section {
    padding-bottom: 100px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    aspect-ratio: 4/3; /* Kareye yakın dikdörtgen */
    text-decoration: none;
    color: white;
    background: var(--bg-secondary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    /* Animasyon başlangıç durumları JS ile class eklendiğinde tetiklenecek */
    opacity: 0;
    pointer-events: none; /* Görünür olana kadar tıklanmasın */
}

/* Arkaplan görseli */
.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.bento-card.is-visible:hover .bento-bg {
    transform: scale(1.08);
}

/* Okunabilirlik için alt kısma koyu gradyan */
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.bento-card.is-visible:hover::after {
    opacity: 0.8;
}

.bento-icon {
    position: relative;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(14, 165, 233, 0.5);
}

.bento-content {
    position: relative;
    z-index: 3;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.bento-card.is-visible:hover .bento-content {
    transform: translateY(0);
}

.bento-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.bento-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* Scroll (Görünür Olma) Animasyonları */
/* Soldan */
.fade-in-left { transform: translateX(-100px); }
/* Sağdan */
.fade-in-right { transform: translateX(100px); }
/* Aşağıdan */
.fade-in-up { transform: translateY(100px); }
/* Çapraz (Sağ Alt) */
.fade-in-diagonal { transform: translate(100px, 100px); }

/* Görünür olduğunda (Ürünler ve Kutular Ortak Davranışları) */
.bento-card.is-visible {
    opacity: 1;
    pointer-events: auto; /* Görünür oldu, tıklanabilir */
    transform: translate(0, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    /* Çözümler (Kutular) Mobilde Küçültme */
    .solution-card {
        padding: 20px;
        border-radius: 15px;
    }
    .solution-icon-title {
        margin-bottom: 10px;
        gap: 10px;
    }
    .solution-icon-title h3 {
        font-size: 1.15rem;
    }
    .emoji-icon {
        font-size: 1.5rem;
    }
    .solution-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Ürünler (Bento Grid) Mobilde 2'li (Yan Yana) */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    .bento-card {
        aspect-ratio: 4/5;
        min-height: auto;
        padding: 15px;
        border-radius: 20px;
    }
    .bento-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
        border-radius: 12px;
    }
    .bento-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    .bento-content p {
        font-size: 0.75rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 2 satırdan sonrasını ... yap */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ====================================================
   KURUMSAL SAYFASI (HAKKIMIZDA) CSS
   ==================================================== */

/* Reveal Animations (Genel Kullanım İçin) */
.reveal-item {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 1. Hero Section */
.hero-glow-1 {
    position: absolute;
    top: -10%; left: -10%;
    width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.hero-glow-2 {
    position: absolute;
    bottom: -10%; right: -10%;
    width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* 2. Biz Kimiz (İki Kolon) */
.who-we-are-container {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.who-we-are-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}
.who-we-are-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
    position: relative;
    z-index: 2;
}
.image-glow {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: linear-gradient(45deg, rgba(14,165,233,0.15), rgba(0,0,0,0));
    z-index: 1;
    border-radius: 40px;
}
.who-we-are-text {
    flex: 1;
    min-width: 300px;
}

/* 3. Vizyon ve Misyon (Bento Grid) */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.vm-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14,165,233,0.1);
    border-color: rgba(14,165,233,0.3);
}
.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}
.vm-card h3 {
    font-size: 1.8rem;
    color: var(--text-header);
    margin-bottom: 15px;
    font-weight: 800;
}
.vm-card p {
    font-size: 1.1rem;
    color: var(--text-desc);
    line-height: 1.7;
    margin: 0;
}

/* 4. Temel Değerlerimiz */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.value-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s ease;
}
.value-card:hover {
    background: var(--bg-secondary);
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 30px rgba(14,165,233,0.1);
}
.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}
.value-card h4 {
    font-size: 1.2rem;
    color: var(--text-header);
    margin-bottom: 15px;
    font-weight: 700;
}
.value-card p {
    font-size: 0.95rem;
    color: var(--text-desc);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Kurumsal */
@media (max-width: 992px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .who-we-are-container {
        gap: 30px;
    }
}

/* ====================================================
   BLOG & HABERLER SAYFASI CSS
   ==================================================== */

/* 1. Blog Manşet (Hero) */
.blog-hero {
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
}
.blog-hero-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.blog-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s ease;
}
.blog-hero-container:hover .blog-hero-bg {
    transform: scale(1.05);
}
.blog-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}
.blog-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.blog-tag {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    background: rgba(14, 165, 233, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(14, 165, 233, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.featured-tag {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}
.blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.blog-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-desc);
    margin-bottom: 15px;
}

/* 2. Kategori Filtreleri */
.filters-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-desc);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}
.filter-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* 3. Blog Kartları (Grid) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-card {
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
}
.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}
.blog-card-image .blog-tag {
    position: absolute;
    top: 20px; left: 20px;
    margin: 0;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.blog-card-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-header);
    margin-bottom: 15px;
    line-height: 1.4;
}
.blog-card-content p {
    font-size: 1rem;
    color: var(--text-desc);
    line-height: 1.6;
    margin-bottom: 20px;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: gap 0.3s ease;
}
.read-more-link:hover {
    gap: 12px;
}

/* Responsive Blog */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-hero-container {
        padding: 40px 30px;
        min-height: 400px;
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-content h1 {
        font-size: 2rem !important;
    }
}

/* ====================================================
   YENİ HESABIM KONTROL PANELİ (DASHBOARD) CSS
   ==================================================== */

.dashboard-wrapper {
    padding: 60px 0 100px;
    background-color: var(--bg-primary);
    min-height: 80vh;
}

.dashboard-container {
    width: 98%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- SOL MENÜ (Sidebar) --- */
.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.sidebar-user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-blue);
    border: 2px solid rgba(14, 165, 233, 0.3);
}

.sidebar-user-info h3 {
    font-size: 1.2rem;
    color: var(--text-header);
    margin: 0 0 5px 0;
    font-weight: 700;
}

.sidebar-user-info p {
    font-size: 0.9rem;
    color: var(--text-desc);
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.tab-btn {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1.05rem;
    color: var(--text-desc);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.tab-btn i {
    font-size: 1.3rem;
    opacity: 0.7;
}

.tab-btn:hover {
    background: rgba(14, 165, 233, 0.05);
    color: var(--text-header);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.tab-btn.active i {
    opacity: 1;
}

.sidebar-footer {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* --- SAĞ İÇERİK (Content) --- */
.dashboard-content {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    min-height: 500px;
    overflow: hidden;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-header {
    padding: 30px 40px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pane-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-header);
    font-weight: 800;
}

.btn-edit-profile {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-profile:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: scale(1.1);
}

.pane-body {
    padding: 40px;
}

/* Info Grid (Kişisel Bilgiler) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-box {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.info-box label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-desc);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-box span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-header);
    font-weight: 600;
}

/* Empty State (Boş İşlemlerim) */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 5rem;
    color: rgba(14, 165, 233, 0.2);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: var(--text-header);
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--text-desc);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
}

.settings-card {
    background: var(--bg-primary);
    border-radius: 15px;
    border: 1px solid var(--border);
    padding: 25px;
}

.settings-card h3 {
    font-size: 1.1rem;
    color: var(--text-header);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.settings-card h3 i {
    color: var(--accent-blue);
    font-size: 1.3rem;
}

/* Dashboard Forms */
.dashboard-form-group {
    margin-bottom: 25px;
}

.modern-form label, .dashboard-form-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-header);
    margin-bottom: 10px;
    font-weight: 700;
}

.dashboard-input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-header);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.dashboard-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-desc);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--bg-secondary);
    color: var(--text-header);
}

/* Phone Input */
.phone-input-group {
    display: flex;
    align-items: stretch;
}

.country-code {
    background: var(--border);
    color: var(--text-header);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    font-weight: bold;
    border: 1px solid var(--border);
    border-right: none;
}

.phone-input-group .dashboard-input {
    border-radius: 0 10px 10px 0;
}

/* SMS Timer */
.sms-timer {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-header);
    margin: 20px 0;
    font-variant-numeric: tabular-nums;
}

/* Danger Zone */
.danger-card {
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-title i {
    color: #ef4444 !important;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Responsive Dashboard */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        position: static;
    }
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .pane-header {
        padding: 20px;
    }
    .pane-body {
        padding: 20px;
    }
}