/* ==========================================================================
   PREMIUM MODERNIZE TASARIM - SIFIR HATA CSS
   ========================================================================== */
:root {
    --neon-green: #00b86b;
    --dark-bg: #090d16;
    --surface-bg: #111827;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --border-line: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-gray);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & MEGA DROPDOWN (KİLİTLİ SİSTEM)
   ========================================================================== */
.main-header {
    background: rgba(9, 13, 22, 0.95);
    border-bottom: 1px solid var(--border-line);
    position: relative;
    z-index: 9999;
    height: 90px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    z-index: 10000;
}

.brand-logo {
    max-height: 45px;
    width: auto;
    display: block;
}

/* Masaüstü Navigasyon Ayarları - Varsayılan Olarak Mobilde Gizli */
.desktop-nav {
    display: none;
}

/* Giriş ve Kayıt Butonları Gruplaması */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-text {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   MİKRO ETKİLEŞİMLİ BUTONLAR
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-gradient {
    background: linear-gradient(135deg, #00b86b 0%, #008f53 100%);
    color: var(--text-white);
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 107, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-line);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HERO / GİRİŞ ALANI GRID YAPISI
   ========================================================================== */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 184, 107, 0.1);
    color: var(--neon-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 184, 107, 0.2);
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.hero-actions-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto 40px auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-top: 1px solid var(--border-line);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-white);
    font-weight: 700;
}

/* ==========================================================================
   MODÜLLER & PAKETLER GRID SİSTEMLERİ
   ========================================================================== */
.section-wrapper {
    padding: 80px 0;
    border-top: 1px solid var(--border-line);
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2rem;
    color: var(--text-white);
    font-weight: 800;
    margin-bottom: 10px;
}

/* Grid Katmanları - Mobilde Tek Sütun */
.premium-grid, .pricing-matrix {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.premium-card, .matrix-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-line);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.premium-card:hover, .matrix-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}

.card-icon-box {
    font-size: 24px;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.premium-card h3, .matrix-card h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Fiyatlandırma Revizesi */
.matrix-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 15px 0;
}

.matrix-list {
    list-style: none;
    margin: 20px 0 30px 0;
}

.matrix-list li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrix-list li i { color: var(--neon-green); }
.matrix-list li.disabled { color: rgba(255,255,255,0.2); }
.matrix-list li.disabled i { color: rgba(255,255,255,0.1); }

/* ==========================================================================
   MASAÜSTÜ RESPONSIVE GEÇİŞLERİ (ASIL HATAYI ÇÖZEN YER)
   ========================================================================== */
@media (min-width: 1024px) {
    .desktop-nav {
        display: block; /* Sadece masaüstünde açılır */
    }
    
    .desktop-nav > ul {
        display: flex;
        align-items: center;
        gap: 35px;
        list-style: none;
    }
    
    .desktop-nav > ul > li {
        position: relative;
    }
    
    .desktop-nav a {
        color: var(--text-gray);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

    /* Kilitli Dropdown Mekanizması */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 320px;
        background: var(--surface-bg);
        border: 1px solid var(--border-line);
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        display: none; /* Yan yana taşmayı kesin olarak engeller */
        z-index: 99999;
    }

    .has-dropdown:hover .dropdown-menu {
        display: block; /* Sadece fare üstündeyken block olur */
    }

    .dropdown-item {
        display: flex;
        gap: 10px;
        padding: 10px;
        text-decoration: none;
    }

    /* Grid Dönüşümleri */
    .hero-section { text-align: left; padding: 120px 0; }
    .hero-section h1 { font-size: 3.5rem; }
    .hero-actions-group { flex-direction: row; max-width: none; margin: 0; }
    
    .hero-stats, .premium-grid, .pricing-matrix {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}