html, body { overflow-x: hidden !important; max-width: 100vw !important; }

/* High-contrast header controls remain readable on both light and dark themes. */
.top-bar .neuro-nav-pill-btn,
.neuro-nav-pill-btn {
    background: #ffffff;
    border-color: #c5d2d9;
    color: #12313c;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(18, 49, 60, .12);
}

.top-bar .neuro-nav-pill-btn:hover,
.neuro-nav-dropdown.active .neuro-nav-pill-btn {
    background: #e8f7f5;
    border-color: #25818c;
    color: #0e4d60;
}

[data-theme="dark"] .top-bar .neuro-nav-pill-btn,
html[data-theme="dark"] .top-bar .neuro-nav-pill-btn {
    background: #142536;
    border-color: #31516b;
    color: #e7f7ff;
}

[data-theme="dark"] .top-bar .neuro-nav-pill-btn:hover,
[data-theme="dark"] .neuro-nav-dropdown.active .neuro-nav-pill-btn,
html[data-theme="dark"] .top-bar .neuro-nav-pill-btn:hover,
html[data-theme="dark"] .neuro-nav-dropdown.active .neuro-nav-pill-btn {
    background: #1c3b50;
    border-color: #4fe1d3;
    color: #d8fffa;
}

.mobile-account-actions {
    display: none;
}
.mobile-account-btn {
    text-decoration: none;
}
/* ==============================================================================
   NEUROECOSYSTEM™ SCHOOL - RESMİ MARKA TASARIM SİSTEMİ
   "Daha güvenli insanlar. Daha iyi yarınlar."
   PEOPLE • PLACES • POSSIBILITIES FOR A THRIVING TOMORROW
   ============================================================================== */

:root {
[data-theme="dark"] {
    --bg-main:       #0A1118;
    --bg-secondary:  #111D28;
    --bg-tertiary:   #182837;
    --bg-soft-sage:  rgba(45, 212, 191, 0.15);
    --bg-blush:      rgba(226, 140, 120, 0.15);
    
    --text-primary:   #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted:     #94A3B8;
    --text-light:     #64748B;
    
    --border-color:   #1E3345;
    --border-subtle:  #152636;
    --border-teal:    #38BDF8;
    
    --deep-teal:      #38BDF8;
    --teal:           #2DD4BF;
    --sage:           #86EFAC;
    --soft-sage:      rgba(45, 212, 191, 0.15);
    --warm-sand:      #FDE68A;
    --soft-amber:     #FBBF24;
    --soft-coral:     #FB923C;
    --blush:          rgba(226, 140, 120, 0.18);
    --ink-navy:       #F8FAFC;
    --warm-white:     #0A1118;
    
    --primary:          #0284C7;
    --primary-accent:   #38BDF8;
    --cta-coral:        #FB923C;
    --cta-coral-hover:  #F97316;
}

        /* Resmi Renk Paleti (renkpaleti.jpeg referanslı - Daha Belirgin, Doygun & Net Tonlar) */
    --deep-teal:   #0E4D60; /* Ana başlıklar, güçlü bilgi blokları, kapaklar (Daha tok ve net) */
    --teal:        #25818C; /* Bilim, sinir sistemi, infografikler, ana marka rengi (Belirgin) */
    --sage:        #658E6B; /* Regülasyon, ilişki, iyi oluş (Daha dolgun regülasyon yeşili) */
    --soft-sage:   #C3DAC3; /* Rozetler, hafif zeminler, sakin alanlar (Net görünen pastel sage) */
    --warm-sand:   #DFBE88; /* Öğrenme, gelişim, sıcak nötr alanlar (Zengin sıcak kum rengi) */
    --soft-amber:  #C48332; /* Vurgular, ikonlar, küçük grafikler (Tok amber) */
    --soft-coral:  #D5644C; /* Dönüşüm, aksiyon butonları (CTA), önemli vurgular (Belirgin mercan) */
    --blush:       #ECC0B3; /* Sıcak kart arka planları (Belirgin sıcak blush/somon) */
    --ink-navy:    #122F3A; /* Kurumsal başlıklar, koyu vurgu, footer */
    --warm-white:  #FAF8F4; /* Kurumsal tasarımların ana açık zemini */
    
    /* Fonksiyonel Renk Haritalaması */
    --bg-main:       #FAF8F4;
    --bg-secondary:  #ffffff;
    --bg-tertiary:   #F0EDE4;
    --bg-soft-sage:  #C3DAC3;
    --bg-blush:      #ECC0B3;
    
    --text-primary:   #122F3A;
    --text-secondary: #244654;
    --text-muted:     #4A6B79;
    --text-light:     #7895A2;
    
    --border-color:   #DCD8CD;
    --border-subtle:  #E8E5DC;
    --border-teal:    #25818C;
    
    --primary:          #0E4D60;
    --primary-accent:   #25818C;
    --cta-coral:        #D5644C;
    --cta-coral-hover:  #BF4E36;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    
    --shadow-sm:    0 2px 8px rgba(23, 60, 74, 0.04);
    --shadow-card:  0 8px 24px -4px rgba(21, 94, 117, 0.07), 0 2px 6px -1px rgba(23, 60, 74, 0.03);
    --shadow-hover: 0 18px 40px -4px rgba(21, 94, 117, 0.14), 0 4px 12px -2px rgba(23, 60, 74, 0.04);
    --shadow-float: 0 22px 48px -10px rgba(23, 60, 74, 0.12);
    
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sıfırlama */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container-wide {
    max-width: 1380px !important;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--soft-sage);
    border: 1px solid #C4D3C4;
    border-radius: 999px;
    color: var(--deep-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--deep-teal);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 75px 0;
}

.bg-secondary-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.bg-warm-section {
    background-color: #F6F4ED;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Üst Bilgi Barı (Top Bar) */
.top-bar {
    background-color: #F1EFE6;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 10px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-contact a {
    color: var(--text-primary);
    font-weight: 600;
}

.top-bar-contact a:hover {
    color: var(--teal);
}

.top-bar-contact i {
    color: var(--teal);
    margin-right: 6px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social a {
    color: var(--text-primary, #122F3A);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(18, 47, 58, 0.08);
    border: 1px solid rgba(18, 47, 58, 0.12);
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: #fff;
    background: var(--teal);
}

/* ==============================================================================
   HEADER & YATAY NAVİGASYON (Sıfır Kırılma, Tam Yatay Dizi)
   ============================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 245, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(23, 60, 74, 0.05);
    transition: var(--transition);
    padding: 14px 0;
}

.main-header.scrolled {
    padding: 10px 0;
    background: var(--bg-main);
    box-shadow: 0 4px 18px rgba(23, 60, 74, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    max-width: 400px !important;
}
.brand-logo img.header-logo-img {
    height: auto;
    max-height: 85px;
    max-width: 380px;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    display: block !important;
    transition: var(--transition);
}
@media (min-width: 992px) and (max-width: 1200px) {
    .brand-logo img.header-logo-img {
        max-height: 70px !important;
        max-width: 280px !important;
    }
    .nav-link {
        font-size: 0.825rem !important;
        padding: 6px 8px !important;
    }
}
@media (max-width: 991px) {
    .brand-logo {
        max-width: 220px !important;
        min-height: 48px !important;
    }
    .brand-logo img.header-logo-img {
        height: 56px !important;
        max-height: 56px !important;
        max-width: 210px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .brand-logo img.header-logo-img {
        max-height: 70px !important;
        max-width: 280px !important;
    }
    .nav-link {
        font-size: 0.825rem !important;
        padding: 6px 8px !important;
    }
}
@media (max-width: 991px) {
    .brand-logo {
        max-width: 220px !important;
        min-height: 48px !important;
    }
    .brand-logo img.header-logo-img {
        height: 56px !important;
        max-height: 56px !important;
        max-width: 210px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}
@media (max-width: 480px) {
    .brand-logo {
        max-width: 180px !important;
    }
    .brand-logo img.header-logo-img {
        height: 46px !important;
        max-height: 46px !important;
        max-width: 170px !important;
    }
}

.brand-logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-symbol {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--deep-teal), var(--teal));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(21, 94, 117, 0.25);
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-teal);
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-submotto {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

/* YATAY KESİN ÇİZGİ: Asla alt alta binmez, tek satırda hizalanır */
.nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.925rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--deep-teal);
    background-color: var(--soft-sage);
}

.nav-item.active .nav-link {
    color: var(--deep-teal);
    background-color: var(--soft-sage);
    font-weight: 800;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--deep-teal);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(21, 94, 117, 0.3);
}

.btn-primary:hover {
    background: #0E485A;
    box-shadow: 0 6px 20px rgba(21, 94, 117, 0.42);
    transform: translateY(-2px);
}

.btn-coral {
    background: var(--soft-coral);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(226, 140, 120, 0.35);
}

.btn-coral:hover {
    background: var(--cta-coral-hover);
    box-shadow: 0 6px 20px rgba(226, 140, 120, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--deep-teal);
    background: var(--soft-sage);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.875rem;
}

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Hero Alanı */
.hero-section {
    padding: 80px 0 70px 0;
    background: linear-gradient(180deg, #F3EFE6 0%, #FAF9F5 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 660px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 20px;
    color: var(--deep-teal);
    letter-spacing: -0.035em;
}

.hero-title span.accent-text {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-teal);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Görsel */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 2px solid #EAE6DB;
    background: var(--bg-secondary);
}

.hero-visual-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.hero-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(250, 249, 245, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.hero-badge-overlay i {
    font-size: 2rem;
    color: var(--teal);
}

.hero-badge-overlay h5 {
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: var(--deep-teal);
    font-weight: 800;
}

.hero-badge-overlay p {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==============================================================================
   5 FAALİYET ALANI (Simetrik 3 Üst + 2 Alt Ortalanmış)
   ============================================================================== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 45px;
}

.service-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 320px;
    max-width: 380px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--soft-sage);
    color: var(--deep-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon-box {
    background: var(--deep-teal);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--deep-teal);
    line-height: 1.35;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--teal);
    font-size: 0.925rem;
    margin-top: auto;
}

.card-link:hover {
    gap: 10px;
    color: var(--deep-teal);
}

/* ==============================================================================
   PROGRAMLAR, KİTLER & UYGULAMA ARAÇLARI (FERAH, GENİŞ, SİMETRİK)
   ============================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-img-box {
    height: 230px;
    width: calc(100% - 24px);
    margin: 12px 12px 0 12px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #EFECE3;
    flex-shrink: 0;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-body {
    padding: 24px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.product-badge-category {
    background: var(--soft-sage);
    color: var(--deep-teal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(135, 165, 139, 0.35);
}

.product-badge-model {
    background: var(--warm-sand);
    color: var(--ink-navy);
    font-size: 0.775rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

.product-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-teal);
    margin-bottom: 10px;
    line-height: 1.35;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
    margin-top: auto;
}

/* ==============================================================================
   BLOG & BİLİMSEL MAKALELER
   ============================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.blog-img-box {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #ECE9DE;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--bg-secondary);
    color: var(--deep-teal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(23, 60, 74, 0.12);
}

.blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.825rem;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--deep-teal);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--teal);
}

.blog-summary {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==============================================================================
   GALERİ
   ============================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    background: var(--ink-navy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(23, 60, 74, 0.92) 0%, transparent 100%);
    padding: 20px;
    color: #ffffff;
}

.gallery-caption span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--warm-sand);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.gallery-caption h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-top: 4px;
    font-weight: 700;
}

/* Form Elemanları */
.form-control {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(58, 156, 166, 0.18);
}

/* Authentication and account forms keep readable contrast in dark mode. */
html[data-theme="dark"] {
    --bg-main: #0A1118;
    --bg-secondary: #111D28;
    --bg-card: #162635;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-color: #294255;
    --deep-teal: #7DD3FC;
    --teal: #2DD4BF;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] input.form-control,
html[data-theme="dark"] select.form-control,
html[data-theme="dark"] textarea.form-control {
    background: #162635;
    border-color: #38556A;
    color: #F8FAFC;
    caret-color: #F8FAFC;
}

html[data-theme="dark"] .form-control::placeholder {
    color: #9FB0BF;
    opacity: 1;
}

html[data-theme="dark"] .form-control:focus {
    background: #1B3041;
    border-color: #2DD4BF;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, .22);
}

html[data-theme="dark"] .card {
    background: #162635 !important;
    border-color: #294255 !important;
    color: #F8FAFC;
}

html[data-theme="dark"] .form-label,
html[data-theme="dark"] .card .form-label {
    color: #F8FAFC !important;
}

html[data-theme="dark"] .breadcrumb-bar {
    background: #111D28 !important;
    border-color: #294255 !important;
}

html[data-theme="dark"] .alert-danger {
    background: rgba(248, 113, 113, .14) !important;
    border-color: #F87171 !important;
    color: #FECACA !important;
}

html[data-theme="dark"] body.auth-page .section-tag {
    color: #5EEAD4 !important;
    background: rgba(45, 212, 191, .14) !important;
}

html[data-theme="dark"] body.auth-page a {
    color: #7DD3FC;
}

html[data-theme="dark"] body.auth-page .btn-primary {
    background: #0EA5E9;
    border-color: #0EA5E9;
    color: #fff;
}

html[data-theme="dark"] body.auth-page .btn-primary:hover {
    background: #38BDF8;
    border-color: #38BDF8;
}

html[data-theme="dark"] body.auth-page .breadcrumb-bar span,
html[data-theme="dark"] body.auth-page .breadcrumb-bar a {
    color: #CBD5E1 !important;
}

/* Footer (Ink Navy #173C4A) */
.main-footer {
    background-color: var(--ink-navy);
    color: #A8C2CB;
    padding: 70px 0 26px 0;
    border-top: 4px solid var(--teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}
.footer-logo img.footer-logo-img {
    height: auto;
    max-height: 85px;
    max-width: 360px;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: var(--transition);
}
@media (max-width: 991px) {
    .footer-logo img.footer-logo-img {
        height: 60px !important;
        max-height: 60px !important;
        max-width: 240px !important;
    }
}
@media (max-width: 480px) {
    .footer-logo img.footer-logo-img {
        height: 50px !important;
        max-height: 50px !important;
        max-width: 200px !important;
    }
}

.footer-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #D2E2E8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--soft-coral);
    transform: translateY(-2px);
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #A8C2CB;
    font-size: 0.925rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.925rem;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--soft-amber);
    margin-top: 4px;
}

.footer-contact-list a {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #7D9BA5;
}

/* Sabit WhatsApp Butonu */
.fixed-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.925rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.fixed-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--deep-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(23, 60, 74, 0.12);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--deep-teal);
    color: #ffffff;
    border-color: var(--deep-teal);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 60, 74, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox-modal.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--warm-sand);
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Responsive Kuralları */
@media (max-width: 1180px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: var(--bg-main);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(23, 60, 74, 0.15);
        display: flex;
        flex-direction: column;
        padding: 30px 24px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 14px 18px;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
    }

    .hamburger-btn {
        display: flex;
    }

    .d-none-mobile {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid .service-card {
        flex: 0 1 calc(50% - 14px);
        max-width: 480px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .fixed-whatsapp-btn span {
        display: none;
    }

    .fixed-whatsapp-btn {
        padding: 14px;
        bottom: 20px;
        left: 20px;
    }
}


/* ==============================================================================
   FINAL UI/UX RESTORATION - 4 ÖZEL BÖLÜM GELİŞTİRMESİ
   ============================================================================== */

/* 1. NEUROECOSYSTEM™ PROGRAM & ÜRÜN AİLESİ (YAN YANA KARTLAR) */
.product-cards-grid,
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: stretch !important;
    margin-top: 40px !important;
}

@media (max-width: 1024px) {
    .product-cards-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    .product-cards-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.product-box,
.product-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: 0 2px 8px rgba(23, 60, 74, 0.04) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.product-box:hover,
.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(21, 94, 117, 0.1) !important;
    border-color: var(--teal) !important;
}

.product-box-media,
.product-img-box {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #EFECE4 !important;
    flex-shrink: 0 !important;
}

.product-box-img,
.product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.product-box:hover .product-box-img,
.product-card:hover .product-img-box img {
    transform: scale(1.03) !important;
}

.product-box-badge,
.product-category-tag {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: rgba(21, 94, 117, 0.88) !important;
    color: #ffffff !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    z-index: 2 !important;
}

.product-box-body,
.product-body {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.product-box-title,
.product-title,
.product-body h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--deep-teal) !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
}

.product-box-desc,
.product-desc,
.product-body p {
    font-size: 0.925rem !important;
    color: var(--text-muted) !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

.product-box-footer,
.product-actions {
    margin-top: auto !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--border-subtle) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.product-box-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.925rem !important;
    font-weight: 700 !important;
    color: var(--teal) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
}

.product-box-link:hover {
    color: var(--deep-teal) !important;
    gap: 12px !important;
}

/* 2. SIKÇA SORULAN SORULAR (PREMIUM MINIMALIST ACCORDION) */
.minimal-faq-accordion,
.faq-accordion {
    max-width: 860px !important;
    margin: 0 auto !important;
    border-top: 1px solid var(--border-color) !important;
}

.faq-row,
.faq-item {
    border-bottom: 1px solid var(--border-color) !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.faq-row-trigger,
.faq-question {
    width: 100% !important;
    background: none !important;
    border: none !important;
    padding: 22px 0 !important;
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    gap: 20px !important;
    color: inherit !important;
    font-family: inherit !important;
}

.faq-row-title,
.faq-question span {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--deep-teal) !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.faq-row:hover .faq-row-title,
.faq-row.is-open .faq-row-title,
.faq-item:hover .faq-question span {
    color: var(--teal) !important;
}

.faq-toggle-icon {
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.faq-toggle-icon .icon-line {
    position: absolute !important;
    background-color: var(--teal) !important;
    border-radius: 2px !important;
}

.faq-toggle-icon .line-horizontal {
    width: 14px !important;
    height: 2px !important;
    top: 9px !important;
    left: 3px !important;
}

.faq-toggle-icon .line-vertical {
    width: 2px !important;
    height: 14px !important;
    top: 3px !important;
    left: 9px !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.faq-row.is-open .line-vertical {
    transform: rotate(90deg) !important;
    opacity: 0 !important;
}

.faq-row-collapse,
.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-row.is-open .faq-row-collapse,
.faq-item.active .faq-answer {
    max-height: 600px !important;
}

.faq-row-body,
.faq-answer p {
    padding: 0 0 22px 0 !important;
    font-size: 0.975rem !important;
    color: var(--text-muted) !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* 3. KURUMSAL TAVSİYELER & REFERANSLAR (EDITORIAL QUOTE CARDS) */
.references-grid,
.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
    margin-top: 40px !important;
}

@media (max-width: 1024px) {
    .references-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    .references-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.reference-item,
.testimonial-card {
    margin: 0 !important;
    padding: 34px 28px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 2px 8px rgba(23, 60, 74, 0.04) !important;
    transition: var(--transition) !important;
}

.reference-item:hover,
.testimonial-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(21, 94, 117, 0.08) !important;
    border-color: var(--border-teal) !important;
}

.reference-quote-icon {
    font-family: Georgia, serif !important;
    font-size: 2.8rem !important;
    line-height: 1 !important;
    color: var(--teal) !important;
    opacity: 0.45 !important;
    margin-bottom: 8px !important;
}

.reference-quote,
.testimonial-text {
    font-size: 0.975rem !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
    font-style: italic !important;
    margin-bottom: 24px !important;
    flex-grow: 1 !important;
}

.reference-meta,
.testimonial-author {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding-top: 16px !important;
}

.reference-author,
.testimonial-author strong {
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 0.975rem !important;
    color: var(--deep-teal) !important;
}

.reference-role,
.testimonial-author span {
    font-size: 0.825rem !important;
    color: var(--text-muted) !important;
}

/* 4. BİLİŞSEL REGÜLASYON VE ŞEFKAT MODELİ (EDITORIAL ASYMMETRICAL LAYOUT) */
.editorial-intro-grid,
.intro-grid {
    display: grid !important;
    grid-template-columns: 1.05fr 1.25fr !important;
    gap: 60px !important;
    align-items: center !important;
}

@media (max-width: 991px) {
    .editorial-intro-grid,
    .intro-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
}

.editorial-img-frame,
.intro-visual {
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(23, 60, 74, 0.1) !important;
    aspect-ratio: 4 / 3 !important;
    background: #EFECE4 !important;
}

.editorial-img,
.intro-visual img,
.intro-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.editorial-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--deep-teal) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 18px !important;
}

@media (max-width: 768px) {
    .editorial-title {
        font-size: 1.8rem !important;
    }
}

.editorial-lead {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: var(--text-muted) !important;
    margin-bottom: 28px !important;
}

.editorial-points {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 30px !important;
}

.editorial-point {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

.editorial-point-num {
    font-family: var(--font-sans) !important;
    font-weight: 800 !important;
    font-size: 0.925rem !important;
    color: var(--deep-teal) !important;
    background: var(--soft-sage) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.editorial-point h4 {
    font-size: 1.025rem !important;
    font-weight: 700 !important;
    color: var(--deep-teal) !important;
    margin-bottom: 4px !important;
}

.editorial-point p {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}



/* ==============================================================================
   EKSİK BULUNAN FRONTEND SINIFLARI İÇİN TAM STİL ENTEGRASYONU
   ============================================================================== */

.container-narrow {
    width: 100%;
    max-width: 860px !important;
    margin: 0 auto;
    padding: 0 24px;
}

.accent-teal {
    color: var(--teal) !important;
}

/* Hero Görsel Çerçevesi & Rozetleri */
.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow: 0 16px 40px rgba(23, 60, 74, 0.12);
}

.hero-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    display: block;
}

.hero-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(23, 60, 74, 0.12);
    z-index: 10;
}

.hero-floating-badge strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-teal);
    line-height: 1.2;
}

.hero-floating-badge span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.badge-top-right {
    top: -18px;
    right: -18px;
}

.badge-bottom-left {
    bottom: -18px;
    left: -18px;
}

@media (max-width: 768px) {
    .badge-top-right,
    .badge-bottom-left {
        display: none !important;
    }
}

/* Ürün Segmentleri Çubuğu */
.products-segment-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.segment-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 1px 3px rgba(23, 60, 74, 0.04);
}

.segment-item i {
    color: var(--teal);
}

/* Galeri Öğeleri & Overlay */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(23, 60, 74, 0.94) 0%, rgba(23, 60, 74, 0.4) 65%, transparent 100%);
    padding: 24px 20px 18px;
    color: #ffffff;
    z-index: 2;
}

.gallery-cat {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--warm-sand);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.gallery-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

/* Blog Kartı İçerik Alanı */
.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Section Header & Subtitles */
.section-header {
    margin-bottom: 44px;
}

.product-subtitle {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-features-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features-list i {
    color: var(--teal);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.btn-lg {
    padding: 14px 30px !important;
    font-size: 1.025rem !important;
}

/* Editorial Content & Intro */
.editorial-content,
.intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-media {
    width: 100%;
}

.editorial-action {
    margin-top: 10px;
}

.editorial-intro-section, .faq-section, .testimonials-section { position: relative; }


/* ==============================================================================
   MODERN BUTON TASARIM SİSTEMİ (PREMIUM SAAS & KURUMSAL STANDARTLAR)
   ============================================================================== */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: 0.925rem !important;
    padding: 11px 22px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    border: 1.5px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #155E75, #104C5D) !important;
    color: #ffffff !important;
    border-color: #155E75 !important;
    box-shadow: 0 4px 14px rgba(21, 94, 117, 0.25) !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #104C5D, #0C3C4A) !important;
    border-color: #104C5D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(21, 94, 117, 0.35) !important;
}

.btn-coral {
    background: linear-gradient(135deg, #E28C78, #D4745E) !important;
    color: #ffffff !important;
    border-color: #E28C78 !important;
    box-shadow: 0 4px 14px rgba(226, 140, 120, 0.28) !important;
}
.btn-coral:hover {
    background: linear-gradient(135deg, #D4745E, #C3644F) !important;
    border-color: #D4745E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(226, 140, 120, 0.4) !important;
}

.btn-secondary {
    background: var(--bg-secondary) !important;
    color: var(--deep-teal) !important;
    border-color: #D8D6CC !important;
    box-shadow: 0 1px 4px rgba(23, 60, 74, 0.04) !important;
}
.btn-secondary:hover {
    border-color: var(--teal) !important;
    color: var(--deep-teal) !important;
    background: var(--soft-sage) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(21, 94, 117, 0.08) !important;
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
}

.btn-lg {
    padding: 14px 28px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
}

.btn-product-action {
    width: 100% !important;
    justify-content: center !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}


/* ==============================================================================
   HERO BÖLÜMÜ VE TÜM SAYFALAR İÇİN EKSİKSİZ KOYU TEMA (SIFIR BEYAZ BLOK)
   ============================================================================== */
[data-theme="dark"] .hero-section,
html[data-theme="dark"] .hero-section {
    background: #0A1118 !important;
    border-bottom: 1px solid #1E3345 !important;
}

[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-title span.accent-text,
[data-theme="dark"] .hero-title .accent-text,
html[data-theme="dark"] .hero-title span.accent-text,
html[data-theme="dark"] .hero-title .accent-text {
    color: #38BDF8 !important;
}

[data-theme="dark"] .hero-subtitle,
html[data-theme="dark"] .hero-subtitle {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .stat-item,
html[data-theme="dark"] .stat-item {
    background: #111D28 !important;
    border: 1px solid #1E3345 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .stat-item h3,
html[data-theme="dark"] .stat-item h3 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .stat-item p,
html[data-theme="dark"] .stat-item p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .hero-image-frame,
html[data-theme="dark"] .hero-image-frame {
    background: #111D28 !important;
    border: 2px solid #1E3345 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .hero-floating-badge,
html[data-theme="dark"] .hero-floating-badge {
    background: rgba(17, 29, 40, 0.95) !important;
    border: 1px solid #1E3345 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .hero-floating-badge strong,
html[data-theme="dark"] .hero-floating-badge strong {
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-floating-badge span,
html[data-theme="dark"] .hero-floating-badge span {
    color: #94A3B8 !important;
}

[data-theme="dark"] .hero-badge-overlay,
html[data-theme="dark"] .hero-badge-overlay {
    background: rgba(17, 29, 40, 0.94) !important;
    border-color: #1E3345 !important;
}

[data-theme="dark"] .hero-badge-overlay h5,
html[data-theme="dark"] .hero-badge-overlay h5 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-badge-overlay p,
html[data-theme="dark"] .hero-badge-overlay p {
    color: #94A3B8 !important;
}



/* ==============================================================================
   RESMİ RENK PALETİ GELİŞTİRMELERİ & ZENGİNLEŞTİRİLMİŞ MARKA RENKLERİ
   (Deep Teal, Teal, Sage, Soft Sage, Warm Sand, Soft Amber, Soft Coral, Blush, Ink Navy, Warm White)
   ============================================================================== */
.text-deep-teal { color: var(--deep-teal) !important; }
.text-teal      { color: var(--teal) !important; }
.text-sage      { color: var(--sage) !important; }
.text-amber     { color: var(--soft-amber) !important; }
.text-coral     { color: var(--soft-coral) !important; }

/* Renkli İstatistik Kartları (Hero Section) */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding-top: 28px !important;
    border-top: 1px solid var(--border-color) !important;
}
.stat-item {
    padding: 16px 18px !important;
    border-radius: var(--radius-md) !important;
    text-align: center !important;
    transition: var(--transition) !important;
    border: 1.5px solid transparent !important;
}
.stat-item-sage {
    background: #DCE6DC !important;
    border-color: #C4D3C4 !important;
}
.stat-item-sage h3 { color: #155E75 !important; }
.stat-item-sage p { color: #2C5261 !important; font-weight: 700 !important; }

.stat-item-amber {
    background: #E8D3B0 !important;
    border-color: #D8C3A0 !important;
}
.stat-item-amber h3 { color: #173C4A !important; }
.stat-item-amber p { color: #173C4A !important; font-weight: 700 !important; }

.stat-item-coral {
    background: #F5DDD5 !important;
    border-color: #E8C8BE !important;
}
.stat-item-coral h3 { color: #E28C78 !important; }
.stat-item-coral p { color: #173C4A !important; font-weight: 700 !important; }

/* Renkli Rozetler & Çipler */
.badge-deep-teal { background: rgba(21, 94, 117, 0.12) !important; color: #155E75 !important; border: 1px solid rgba(21, 94, 117, 0.25) !important; }
.badge-teal      { background: rgba(58, 156, 166, 0.12) !important; color: #3A9CA6 !important; border: 1px solid rgba(58, 156, 166, 0.25) !important; }
.badge-sage      { background: #DCE6DC !important; color: #155E75 !important; border: 1px solid #C4D3C4 !important; }
.badge-amber     { background: #E8D3B0 !important; color: #173C4A !important; border: 1px solid #D8C3A0 !important; }
.badge-coral     { background: #F5DDD5 !important; color: #E28C78 !important; border: 1px solid #E8C8BE !important; }

/* 5 Faaliyet Alanı Çok Renkli İkon Kutuları */
.services-grid .service-card:nth-child(1) .service-icon-box { background: #DCE6DC !important; color: #155E75 !important; }
.services-grid .service-card:nth-child(2) .service-icon-box { background: #F5DDD5 !important; color: #E28C78 !important; }
.services-grid .service-card:nth-child(3) .service-icon-box { background: #E8D3B0 !important; color: #D8A15F !important; }
.services-grid .service-card:nth-child(4) .service-icon-box { background: #DCE6DC !important; color: #3A9CA6 !important; }
.services-grid .service-card:nth-child(5) .service-icon-box { background: #F5DDD5 !important; color: #155E75 !important; }

/* Asimetrik Eğitim Modeli Numaraları */
.editorial-point:nth-child(1) .editorial-point-num { background: #DCE6DC !important; color: #155E75 !important; }
.editorial-point:nth-child(2) .editorial-point-num { background: #F5DDD5 !important; color: #E28C78 !important; }
.editorial-point:nth-child(3) .editorial-point-num { background: #E8D3B0 !important; color: #D8A15F !important; }

/* ==============================================================================
   KOYU TEMA: HERO VE TÜM ALANLARIN KESİN ENTEGRASYONU (SIFIR BEYAZ BLOK)
   ============================================================================== */
[data-theme="dark"] .hero-section,
html[data-theme="dark"] .hero-section {
    background: #0A1118 !important;
    border-bottom: 1px solid #1E3345 !important;
}

[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-title span.accent-text,
[data-theme="dark"] .hero-title .accent-text,
html[data-theme="dark"] .hero-title span.accent-text,
html[data-theme="dark"] .hero-title .accent-text {
    color: #38BDF8 !important;
}

[data-theme="dark"] .hero-subtitle,
html[data-theme="dark"] .hero-subtitle {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .stat-item,
html[data-theme="dark"] .stat-item {
    background: #111D28 !important;
    border: 1px solid #1E3345 !important;
}
[data-theme="dark"] .stat-item-sage h3,
html[data-theme="dark"] .stat-item-sage h3 { color: #2DD4BF !important; }
[data-theme="dark"] .stat-item-amber h3,
html[data-theme="dark"] .stat-item-amber h3 { color: #FBBF24 !important; }
[data-theme="dark"] .stat-item-coral h3,
html[data-theme="dark"] .stat-item-coral h3 { color: #FB923C !important; }

[data-theme="dark"] .stat-item p,
html[data-theme="dark"] .stat-item p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .hero-image-frame,
html[data-theme="dark"] .hero-image-frame {
    background: #111D28 !important;
    border: 2px solid #1E3345 !important;
}

[data-theme="dark"] .hero-floating-badge,
html[data-theme="dark"] .hero-floating-badge {
    background: rgba(17, 29, 40, 0.95) !important;
    border: 1px solid #1E3345 !important;
    color: #F8FAFC !important;
}
[data-theme="dark"] .hero-floating-badge strong,
html[data-theme="dark"] .hero-floating-badge strong {
    color: #F8FAFC !important;
}
[data-theme="dark"] .hero-floating-badge span,
html[data-theme="dark"] .hero-floating-badge span {
    color: #94A3B8 !important;
}

[data-theme="dark"] .services-grid .service-card .service-icon-box,
html[data-theme="dark"] .services-grid .service-card .service-icon-box {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .editorial-point .editorial-point-num,
html[data-theme="dark"] .editorial-point .editorial-point-num {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38BDF8 !important;
}



/* ==============================================================================
   KUSURSUZ MOBİL UYUMLULUK VE YENİ GRİD DÜZENLERİ (SIFIR TAŞMA, %100 AKICI)
   ============================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* Sayfa İçi Gridler (Masaüstü) */
.about-hero-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 48px !important;
    align-items: center !important;
    width: 100% !important;
}
.about-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
}
.service-detail-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 0.6fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
}
.product-detail-grid {
    display: grid !important;
    grid-template-columns: 0.85fr 1.15fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
}
.contact-main-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 0.75fr !important;
    gap: 36px !important;
    margin-top: 45px !important;
    width: 100% !important;
}
.contact-form-2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Belirgin Renkli Hero Kartları */
.stat-item-sage {
    background: #C3DAC3 !important;
    border: 1.5px solid #A8C7A8 !important;
}
.stat-item-sage h3 { color: #0E4D60 !important; font-weight: 800 !important; }
.stat-item-sage p  { color: #122F3A !important; font-weight: 700 !important; font-size: 0.85rem !important; }

.stat-item-amber {
    background: #DFBE88 !important;
    border: 1.5px solid #CCA668 !important;
}
.stat-item-amber h3 { color: #122F3A !important; font-weight: 800 !important; }
.stat-item-amber p  { color: #122F3A !important; font-weight: 700 !important; font-size: 0.85rem !important; }

.stat-item-coral {
    background: #ECC0B3 !important;
    border: 1.5px solid #D9A595 !important;
}
.stat-item-coral h3 { color: #D5644C !important; font-weight: 800 !important; }
.stat-item-coral p  { color: #122F3A !important; font-weight: 700 !important; font-size: 0.85rem !important; }

/* Mobilde (Tablet & Telefon <= 991px) */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
    .about-hero-grid,
    .about-cards-grid,
    .service-detail-grid,
    .product-detail-grid,
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
    }
    .services-grid .service-card,
    .service-card {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 26px 20px !important;
        box-sizing: border-box !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    .hero-image-frame {
        max-width: 100% !important;
        overflow: hidden !important;
        border-radius: 14px !important;
    }
    .badge-top-right {
        top: 8px !important;
        right: 8px !important;
    }
    .badge-bottom-left {
        bottom: 8px !important;
        left: 8px !important;
    }
    .hero-floating-badge {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

/* Telefonlar (<= 640px) */
@media (max-width: 640px) {
    .container, .container-wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .section-padding {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }
    .hero-section {
        padding-top: 50px !important;
        padding-bottom: 45px !important;
    }
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.22 !important;
        margin-bottom: 14px !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }
    .hero-cta-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 28px !important;
    }
    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .contact-form-2col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .fixed-whatsapp-btn {
        bottom: 16px !important;
        left: 16px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }
    .fixed-whatsapp-btn span {
        display: none !important;
    }
    .back-to-top {
        bottom: 16px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
    }
}



/* ==============================================================================
   MODERN TACTILE PILL THEME TOGGLE SWITCH & SOCIAL ICONS ENHANCEMENT
   ============================================================================== */
/* Sosyal Medya İkonları Koyu Mod Uyumu - ASLA BEYAZ KALMAZ */
[data-theme="dark"] .top-bar-social a,
html[data-theme="dark"] .top-bar-social a {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #CBD5E1 !important;
}
[data-theme="dark"] .top-bar-social a:hover,
html[data-theme="dark"] .top-bar-social a:hover {
    background: #2DD4BF !important;
    color: #0A1118 !important;
    border-color: #2DD4BF !important;
    transform: translateY(-2px) !important;
}

/* Modern Kapsül Tema Değiştirici Buton */
.theme-toggle-switch {
    position: relative !important;
    width: 60px !important;
    height: 32px !important;
    border-radius: 999px !important;
    background: #EAE6DB !important;
    border: 1.5px solid var(--border-color, #DCD8CD) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    flex-shrink: 0 !important;
}
.theme-toggle-switch:hover {
    border-color: var(--teal, #25818C) !important;
    box-shadow: 0 2px 10px rgba(37, 129, 140, 0.2) !important;
}

.theme-toggle-switch .switch-slot {
    font-size: 0.75rem !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    transition: all 0.25s ease !important;
}
.theme-toggle-switch .switch-sun {
    color: #D5644C !important; /* Canlı Soft Coral güneşi */
}
.theme-toggle-switch .switch-moon {
    color: #0E4D60 !important; /* Tok Deep Teal hilali */
}

/* Kayar Dairesel Başlık (Slider Thumb) */
.theme-toggle-switch .switch-slider {
    position: absolute !important;
    top: 3px !important;
    left: 4px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease !important;
    z-index: 2 !important;
}

/* Koyu Modda Kapsül Switch */
[data-theme="dark"] .theme-toggle-switch,
html[data-theme="dark"] .theme-toggle-switch {
    background: #0B1622 !important;
    border-color: #223B52 !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 12px rgba(45, 212, 191, 0.25) !important;
}
[data-theme="dark"] .theme-toggle-switch .switch-slider,
html[data-theme="dark"] .theme-toggle-switch .switch-slider {
    transform: translateX(28px) !important;
    background: linear-gradient(135deg, #FBBF24, #F59E0B) !important; /* Altın Güneş Işıltısı */
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6) !important;
}
[data-theme="dark"] .theme-toggle-switch .switch-sun,
html[data-theme="dark"] .theme-toggle-switch .switch-sun {
    color: #64748B !important;
    opacity: 0.5 !important;
}
[data-theme="dark"] .theme-toggle-switch .switch-moon,
html[data-theme="dark"] .theme-toggle-switch .switch-moon {
    color: #38BDF8 !important;
    opacity: 1 !important;
}



/* =========================================================================
   NEURO-ECOSYSTEM HAVALI AÇILIR BUTONLAR (DROPDOWNS) & DİL SEÇİCİ
   ========================================================================= */
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neuro-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.neuro-nav-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 5px 13px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

.neuro-nav-pill-btn:hover,
.neuro-nav-dropdown:hover .neuro-nav-pill-btn,
.neuro-nav-dropdown.active .neuro-nav-pill-btn {
    background: rgba(79, 225, 211, 0.22);
    border-color: #4FE1D3;
    color: #4FE1D3;
    box-shadow: 0 4px 14px rgba(79, 225, 211, 0.3);
    transform: translateY(-1px);
}

.neuro-nav-pill-btn.logged-in {
    border-color: rgba(79, 225, 211, 0.4);
    background: rgba(79, 225, 211, 0.15);
}

.neuro-nav-pill-btn .pill-arrow {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.neuro-nav-dropdown:hover .pill-arrow,
.neuro-nav-dropdown.active .pill-arrow {
    transform: rotate(180deg);
}

.neuro-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: rgba(14, 28, 44, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 225, 211, 0.3);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(79, 225, 211, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999999;
    pointer-events: none;
}

.neuro-nav-dropdown:hover .neuro-dropdown-panel,
.neuro-nav-dropdown.active .neuro-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.neuro-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #E2EFF3;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.panel-item:hover {
    background: rgba(79, 225, 211, 0.15);
    color: #4FE1D3;
    transform: translateX(3px);
}

.panel-item.active {
    background: rgba(79, 225, 211, 0.22);
    color: #4FE1D3;
    font-weight: 700;
}

.panel-item .item-flag {
    font-size: 1.15rem;
}

.panel-item .item-check {
    margin-left: auto;
    color: #4FE1D3;
    font-size: 0.75rem;
}

/* Final responsive layer: keeps legacy page components usable on narrow screens. */
@media (max-width: 991px) {
    .container,
    .container-wide,
    .nav-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .section-title,
    .page-title {
        font-size: clamp(1.55rem, 5vw, 2.1rem) !important;
        line-height: 1.2 !important;
    }

    .hero-grid,
    .about-hero-grid,
    .about-cards-grid,
    .service-detail-grid,
    .product-detail-grid,
    .contact-main-grid,
    .editorial-intro-grid,
    .intro-grid,
    .dashboard-grid,
    .content-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .card,
    article.card,
    .product-box,
    .product-card,
    .service-card {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }

    .form-row,
    .form-grid,
    .contact-form-2col,
    .checkout-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .form-control,
    .form-input,
    select,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="datetime-local"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 44px;
    }

    .table-responsive,
    .admin-table-responsive,
    .data-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    table {
        max-width: none;
    }

    .nav-actions {
        min-width: 0 !important;
    }

    .btn,
    button,
    input[type="submit"],
    input[type="button"] {
        touch-action: manipulation;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .container,
    .container-wide {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .section-padding {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .section-header {
        margin-bottom: 28px !important;
    }

    .section-desc,
    .hero-subtitle {
        font-size: .95rem !important;
    }

    .card,
    article.card,
    .product-box,
    .product-card,
    .service-card {
        padding: 18px !important;
        border-radius: 14px !important;
    }

    .btn,
    .btn-sm,
    .btn-primary,
    .btn-secondary,
    .btn-coral {
        min-height: 44px;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hero-cta-group,
    .form-actions,
    .page-actions,
    .nav-actions {
        flex-wrap: wrap !important;
    }

    .hero-cta-group > .btn,
    .form-actions > .btn {
        width: 100% !important;
    }

    .modal-content,
    .modal-dialog,
    .search-modal-content {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .fixed-whatsapp-btn {
        z-index: 1200 !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }
}

.panel-header {
    padding: 8px 12px 6px;
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
}

.panel-header strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.88rem;
    text-transform: none;
}

.panel-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.panel-item.highlight {
    background: linear-gradient(135deg, rgba(79, 225, 211, 0.16) 0%, rgba(248, 180, 166, 0.14) 100%);
    border: 1px solid rgba(79, 225, 211, 0.25);
    margin-bottom: 4px;
}

.panel-item.item-logout {
    color: #F87171;
}
.panel-item.item-logout:hover {
    background: rgba(239, 68, 68, 0.18);
    color: #FCA5A5;
}
