/* --- Değişkenler ve Temel Ayarlar --- */
:root {
    --background-color: #000;
    --text-color: #F1F3F4;
    --primary-font: 'Inter', sans-serif;
    --secondary-font: 'Caveat', cursive;
    --navbar-height: 3.5rem;
    --container-width: 1120px;
    --section-padding: 4rem 4rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--primary-font);
    line-height: 1.6;
}

/* --- GENEL STILLER --- */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-weight: 450;
    line-height: 43.68px;
    letter-spacing: -0.84px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #a0a0a0;
}

.handwritten {
    font-family: var(--secondary-font);
    font-size: 1.5em;
    color: #f0f0f0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 42px;
    font-weight: 450;
    letter-spacing: -0.84px;
    line-height: 43.68px;
    color: #F1F3F4;
}

/* HERO SECTION - MISTRAL STYLE */
.hero-mistral {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
    padding: var(--section-padding);
    border-bottom: 1px solid #303030;
}

/* Grid arka planı */
.hero-mistral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(50, 50, 50, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 50, 50, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hero-mistral-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width); /* 1120px */
    padding: 0 2rem; /* EKLENDİ: Standart container padding'i */
    margin: 0 auto;  /* EKLENDİ: Ortalamayı garanti altına alır */
    position: relative;
    z-index: 2;
    gap: 4rem;
}

/* Sol Taraf */
.hero-mistral-left {
    flex: 1;
    max-width: 600px;
}

.hero-introducing {
    font-family: var(--primary-font);
    font-size: 2rem;
    font-style: normal;
    letter-spacing: -0.89px;
    font-weight: 300;
    color: #e8e4dc;
    display: block;
}

.hero-title-zork {
    font-family: var(--primary-font);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 600;
    letter-spacing: -12px;
    color: #f5f3ef;
    line-height: 1;

}

.hero-tagline {
    font-family: var(--primary-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: #a8a8a8;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.tagline-highlight {
    color: #f5f3ef;
    font-style: italic;
}

/* Chat Input Güncelleme - Mistral hero için */


/* Sağ Taraf - Pixel Q */
.hero-mistral-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-q-container {
    position: relative;
}

.pixel-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pixel-row {
    display: flex;
    gap: 4px;
}

.pixel {
    width: clamp(30px, 5vw, 40px);
    height: clamp(30px, 5vw, 40px);
    transition: transform 0.2s ease;
}

.pixel.empty {
    background: transparent;
}

.pixel.white {
    background: #ffffff;
}

.pixel.light-gray {
    background: #c0c0c0;
}

.pixel.gray {
    background: #808080;
}

.pixel.dark-gray {
    background: #505050;
}

/* Responsive - Mistral Hero */
@media (max-width: 1024px) {
    .hero-mistral-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-mistral-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-mistral-right {
        order: -1;
    }
    
    .pixel {
        width: clamp(25px, 4vw, 40px);
        height: clamp(25px, 4vw, 40px);
    }
}

@media (max-width: 768px) {
    .pixel {
        width: 28px;
        height: 28px;
    }
    
    .pixel-grid {
        gap: 4px;
    }
    
    .pixel-row {
        gap: 4px;
    }
    
    .hero-title-zork {
        font-size: 6rem;
        letter-spacing: -6px;
    }
    
    .hero-tagline {
        margin-top: 0.5rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* --- Header & Navbar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.15s ease;
}

.main-header.scrolled {
    background-color: #000000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
    width: 100%;
}

.navbar-brand a { font-weight: 700; font-size: 1.25rem; }
.navbar-nav { list-style: none; display: flex; gap: 1.5rem; }
.navbar-nav a { font-size: 0.875rem; font-weight: 600; font-family: var(--primary-font); color: #D3D3D3; }
.navbar-nav a:hover { color: #F1F3F4; }

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-text-wrapper:hover .logo-text--briq {
    color: #F1F3F4;
}

.logo-text-wrapper:hover .logo-text--mind {
    color: #F1F3F4;
}

.logo-text {
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    color: #D3D3D3;
}

.logo-text--briq {
    opacity: 1;
    transition: opacity 0.05s ease 0.05s;
}

.logo-text--mind {
    margin-left: 0.4rem;
}

.main-header.scrolled .logo-text-wrapper {
    transform: translateX(calc(-1 * var(--logo-shift-amount, 50px)));
}

.main-header.scrolled .logo-text--briq {
    opacity: 0;
    transition: opacity 0.05s ease;
}

/* --- HAMBURGER & MOBİL MENÜ --- */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.nav__toggle-line {
    width: 100%;
    height: 3px;
    background-color: #D3D3D3;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* --- Hero Section --- */
.chat-input-container {
    position: relative;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    padding-left: 1.25rem;
    padding-right: 0.75rem;
    background-color: #272727;
    border: 1px solid transparent;
    border-radius: 2rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eski starfield stillerini koruyoruz ama hero-mistral için gerekli değil */

.chat-input {
    width: 100%;
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 1rem;
    line-height: 1.5; /* Satır aralığı */
    resize: none;     /* Elle çekip uzatmayı kapat */
    
    /* 4 SATIR SABİT YÜKSEKLİK AYARI */
    height: 6em;      /* 1.5 (line-height) x 4 (satır) = 6em */
    overflow-y: auto; /* 4 satırı geçerse scroll çıksın */
    padding-right: 0.5rem;
}

.chat-input-container:focus-within {
    outline: none;
    border-color: #F1F3F4;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.chat-input:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.chat-input::placeholder {
    color: #888;
}

/* --- Chat-Input - Modern Scrollbar Stilleri --- */
.chat-input::-webkit-scrollbar {
    width: 8px;
}

.chat-input::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.chat-input::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.chat-input::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.send-button {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #F1F3F4;
    border: 1px solid #444;
    border-radius: 50%;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.send-button:hover {
    transform: scale(1.05);
    border-color: #666;
}

.send-button svg {
    width: 18px;
    height: 18px;
}

/* --- Hero Section Keşfetme Alanı --- */
.discover-prompt {
    margin-top: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.discover-prompt:hover {
    color: #D3D3D3;
}

.discover-text {
    font-size: 0.875rem;
    font-weight: 450;
}

.discover-arrow {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.discover-arrow svg {
    width: 21px;
    height: 21px;
    color: #888;
}

/* --- Canvas Yıldız Alanı --- */
#starfield-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-mistral .hero-mistral-content,
.hero-mistral::after {
    z-index: 2;
}

/* --- HİZMETLER BÖLÜMÜ (STICKY NAV + KARTLAR) --- */
.services-section {
    padding: var(--section-padding);
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.services-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.sticky-nav {
    position: sticky;
    top: 60px;
    flex: 1;
}

.sticky-nav-content h2 {
    font-size: 42px;
    font-weight: 450;
    letter-spacing: -0.84px;
    line-height: 43.68px;
    color: #F1F3F4;
}

.sticky-nav-content p {
    color: #B3B3B3;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.sticky-nav-content .cta-button {
    margin-bottom: 2rem;
    display: inline-block;
}

.sticky-nav-content .nav-button {
    display: flex;
    align-items: baseline;
    width: 100%;
    margin-bottom: 1.5rem;
    background-color: transparent;
    border: none;
    padding: 0;
    font-weight: 450;
    color: #ccc;
    transition: color 0.15s ease;
}

.sticky-nav-content .nav-button:hover {
    color: var(--text-color);
}

.nav-button .date-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
    color: #666;
    font-size: 0.875rem;
}

.nav-button .button-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
    margin-left: 1rem;
    font-size: 0.875rem;
}

.nav-button .arrow-icon {
    position: relative;
    top: 0;
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1)
}


.sticky-nav-content .nav-button:hover .arrow-icon {
    transform: translateX(4px);
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: transparent;
}

.sticky-video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out;
    border-radius: 1rem;
}

.video-1 { opacity: 1; }
.video-2 { opacity: 0; }

.sticky-nav-content.content-swapped .video-1 { opacity: 0; }
.sticky-nav-content.content-swapped .video-2 { opacity: 1; }

.sticky-nav-content h2,
.sticky-nav-content p {
    display: grid;
    align-items: center; 
}

.text-original,
.text-swapped {
    grid-area: 1 / 1;
    transition: opacity 0.4s ease-in-out;
}

.text-original {
    opacity: 1;
}

.text-swapped {
    opacity: 0;
}

.sticky-nav-content.content-swapped .text-original {
    opacity: 0;
}

.sticky-nav-content.content-swapped .text-swapped {
    opacity: 1;
}

.content-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-separator {
    border: none;
    height: 1px;
    background-color: #222;
    margin-top: 4rem;
    margin-bottom: 4.5rem;
}

.content-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-out;
}

.image-zoom-container {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.content-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.content-card p { font-size: 1rem; color: #b3b3b3; max-width: 90%; }

/* --- MODELLER SECTION --- */
.models-section {
    padding: var(--section-padding);
    padding-bottom: 3rem;
    border-bottom: 1px solid #303030;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.model-card {
    background-color: transparent;
    border-radius: 12px;
    border: 1px solid #303030;
    transition: transform 0.15s ease, border-color 0.15s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: default;
}

.model-card:hover {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.model-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.model-card-content {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    flex-grow: 1;
}

.model-card h3 { 
    font-size: 1.75rem; 
    margin-bottom: 1.5rem; 
}

.model-card p { 
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
}

.model-card-features {
    list-style: none;
    padding: 0;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-card-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #b3b3b3;
    line-height: 1.4;
}

.model-card-features i {
    font-size: 1.25rem;
    color: #ccc;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.card-button {
    display: block;
    margin: 0;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    background-color: transparent;
    text-align: left;
    border-radius: 8px;
    font-weight: 450;
    transition: background-color 0.15s ease;
    color: #D3D3D3;
}

.marquee-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.marquee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee {
    margin: 2.5rem 0;
    margin-bottom: 0;
}


.marquee:hover .marquee__inner {
    animation-play-state: paused;
}

.marquee__inner {
    width: fit-content; 
    display: flex;
    gap: 1.5rem;
    white-space: nowrap; 
    animation: marquee-animation 80s linear infinite;
}

.marquee__inner--top {
    margin-bottom: 1.5rem; 
}

.marquee__inner--top:last-child {
    margin-bottom: 0; 
}

.marquee__inner--reverse {
    animation: marquee-animation-reverse 80s linear infinite;
}

.marquee__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.marquee__item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.marquee__icon-box {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.marquee__icon-box i {
    font-size: 2.5rem;
}

.marquee__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--title-color);
}

@keyframes marquee-animation {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--marquee-width)));
    }
}

@keyframes marquee-animation-reverse {
    from {
        transform: translateX(calc(-1 * var(--marquee-width)));
    }
    to {
        transform: translateX(0);
    }
}

.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 4rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #303030;
}

.section-divider h4 {
    padding: 0 1.5rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- ARASTIRMALAR SECTION --- */
.research-section {
    padding: var(--section-padding);
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.research-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #222;
    transition: background-color 0.15s;
}

.research-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  .research-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #222;
    padding-bottom: 3rem;
  }
  .research-item:last-child {
    border-bottom: none;
    padding-bottom: 1rem;
  }
}

.research-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.15s ease;
    line-height: 1.5;
}

.research-item p {
    color: #888;
    line-height: 1.5;
}

.research-item:hover h4 {
    color: #ddd;
}

.research-text {
    flex-grow: 1;
}

.research-image-container {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.research-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-out;
}

.research-item:hover .research-icon {
    transform: scale(1.05);
}

.cta-button {
    border: 1px solid #303030;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease;
    font-weight: 600;
    font-size: 14px;
    color: #F1F3F4;
}

.cta-button:hover {
    background: white;
    color: #000000;
}

/* --- ALTYAPI BÖLÜMÜ --- */
.infrastructure-section {
    padding: var(--section-padding);
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.infra-main-card {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    gap: 1rem;
    min-width: 0;
}

.infra-main-card__text,
.infra-main-card__video {
    flex: 1;
    min-width: 0;
}

.infra-main-card__text {
    cursor: default;
}

.infra-main-card__video {
    align-self: stretch;
    background-color: #000;
}

.infra-main-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-layout--text-left .infra-main-card__text {
    position: relative;
    border-bottom: 4px solid rgba(51, 51, 51, 0.5);
    border-radius: 4px;
    overflow: visible;
    padding-bottom: 2.5rem;
}

.card-layout--text-left .infra-main-card__text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 40px;
    background: radial-gradient(
        ellipse at bottom,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0) 73%
    );
    pointer-events: none;
    transform: translateZ(0);
}

.card-layout--text-left .infra-main-card__video {
    border-radius: 12px;
}

.card-layout--text-right .infra-main-card__text {
    position: relative;
    border-top: 4px solid rgba(51, 51, 51, 0.5);
    border-radius: 4px;
    overflow: visible;
    padding-top: 2.5rem;
}

.card-layout--text-right .infra-main-card__text::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 40px;
    background: radial-gradient(
        ellipse at top,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0) 73%
    );
    pointer-events: none;
    transform: translateZ(0);
}

.card-layout--text-right .infra-main-card__video {
    border-radius: 12px;
}

.infra-main-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #fff;
}
.infra-main-card p {
    font-size: 1rem;
    color: #a0a0a0;
}
.infra-main-card__text.text-right {
    text-align: right;
}

.infra-card {
    background: linear-gradient(160deg, #050505, rgb(0, 0, 0), #171717, #000000);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: default;
    min-width: 0;
}

.infra-card:hover {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.infra-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #a0a0a0;
    transition: color 0.2s ease;
}
.infra-card:hover .infra-card__icon { color: #fff; }
.infra-card h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.infra-card p { color: #b3b3b3; font-size: 1rem; line-height: 1.6; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .infra-main-card {
        flex-direction: column;
        border-radius: 12px;
        border: 1px solid #333;
    }

    .infra-main-card__text {
        border: none;
        width: 100%;
        text-align: left !important;
        padding: 1.5rem;
        border-radius: 0;
    }
    
    .infra-main-card__video {
        width: 100%;

        border-radius: 0 !important;
    }
    
    .card-layout--text-right .infra-main-card__video {
        order: -1;
    }
     
    .infra-card {
        text-align: left;
    }
}


/* --- Footer --- */
.footer {
    background-color: #000000;
    color: #ccc;
    padding: 4rem 0 9rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-column .footer-brand {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: bold;
    color: #F1F3F4;
    margin-bottom: 1rem;
    display: block;
}

.footer-column .footer-text {
    color: #a0a0a0;
    line-height: 1.25;
    max-width: 350px;
}

.footer-column .footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F1F3F4;
    margin-bottom: 1rem;

}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #ccc;
    transition: color 0.15s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;

    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    text-decoration: underline;
    cursor: pointer;
    color: #ccc;
    transition: color 0.15s ease;
}
.footer-bottom a:hover {
    color: white;
}

/* Mobil Uyumluluk */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 3rem 2rem;
        padding-bottom: 9rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-column .footer-text {
        margin: 0 auto;
    }
    .footer-socials {
        justify-content: center;
    }
}

.footer .lang-switcher {
    position: relative;
    display: inline-block;
    margin-top: 1.6rem;
}

.lang-switcher__dropdown {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.lang-switcher__dropdown li {
  list-style: none;
}


.footer .lang-switcher__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid #303030;
    border-radius: 1rem;
    color: #ccc;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    font-family: var(--body-font);
}

.footer .lang-switcher__button:focus {
    outline: none;
}

.footer .lang-switcher__button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer .lang-switcher__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.footer .lang-switcher__item {
    display: flex;
    align-items: center;
    text-decoration: none;
    text-align: center;
    gap: 0.5rem;
    color: #ccc;
}

.footer .lang-switcher__dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px) scale(0.95);
    position: absolute;
    top: calc(100%);
    left: 0;
    min-width: 100%;
    background-color: transparent;
    border-radius: 1rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid #303030;
    border-top: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    z-index: 2;
    font-size: 0.875rem;
    cursor: pointer;
}

.footer .lang-switcher__dropdown:hover {
    background: #303030;
}

.footer .lang-switcher.is-open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.footer .lang-switcher.is-open .lang-switcher__arrow {
    transform: rotate(180deg);
}

.lang-switcher--open .lang-switcher__button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}



/* ======================== ÇEREZ AYARLARI MODALI ======================== */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.cookie-modal {
    position: fixed;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    z-index: 1101;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 80px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

.cookie-modal {
    outline: none;
    box-shadow: none;
}

.cookie-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-overlay.active,
.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #333;
}

.cookie-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
    border: 2px solid #333;
}

.cookie-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: normal;
}

.cookie-modal-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.cookie-modal-content p a {
    color: white;
    text-decoration: underline;
}

.cookie-category {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-header label {
    font-size: 1rem;
    color: white;
    cursor: pointer;
}

.cookie-header input[type="checkbox"]{
    cursor: pointer;
}

.cookie-description {
    font-size: 0.85rem !important;
    color: #999 !important;
    margin-top: 0.5rem;
    margin-bottom: 0 !important;
    padding-left: 1.5rem;
}

.cookie-modal-content button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background-color: white;
    color: black;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    margin-top: 1rem;
}

.cookie-modal-content button:hover {
    background-color: #e0e0e0;
}

.cta-content-about {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;

    border-left: 0.5rem solid #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}

.cta-content-about h2 {
    font-size: 42px;
    font-weight: 450;
    letter-spacing: -0.84px;
    line-height: 43.68px;
    color: #F1F3F4;
    margin-bottom: 1.5rem;
}

.cta-content-about p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    border: 1px solid #303030;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease;
    font-weight: 600;
    font-size: 14px;
    color: #F1F3F4;
}

.cta-button-large:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    color: #000;
    background-color: #fff;
}

.cta-button-large i {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.cta-button-large:hover i {
    transform: translateX(5px);
}

/* --- STICKY CHAT BAR --- */
.sticky-chat-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    align-items: flex-end; 
    background: transparent;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.sticky-chat-bar-container.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: none; /* DÜZELTME: Tıklamalar boşluklardan footer'a geçsin */
}

/* EKLE: Sadece input kutusu ve buton tıklanabilir kalsın */
.sticky-chat-bar-container .chat-input-container {
    pointer-events: auto;
}

.sticky-chat-bar-container .chat-input-container {
    width: 20rem; /* 40rem'in yarısı */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem;
    padding-left: 1rem;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 2rem;
    backdrop-filter: blur(20px);
}

.sticky-chat-bar-container.is-expanded .chat-input-container {
    width: 40rem;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    border: 1px solid #F1F3F4;
    align-items: center;
}

.sticky-chat-bar-container .chat-input {
    flex-grow: 1;
    width: 100%;
    resize: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 1rem;
    box-sizing: border-box; 
    height: 2.5rem; 
    line-height: 1.5rem; 
    padding: 0.5rem 0;
    transition: height 0.1s ease-out;
    overflow-y: hidden;
}

.sticky-chat-bar-container.is-expanded .chat-input {
    max-height: 7rem;
    overflow-y: auto;
}

.sticky-chat-bar-container .send-button {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #F1F3F4;
    border: 1px solid #444;
    border-radius: 50%;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Prompt Suggestion Chips --- */
.prompt-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 40rem;
    position: relative;
    z-index: 2;
}

.suggestion-chip {
    flex: 0 1 calc(25% - 0.75rem);
    background-color: transparent;
    border: 1px solid #777777;
    border-radius: 2rem;
    padding: 0.6rem 0.2rem;
    color: #b0b0b0;
    font-family: var(--primary-font);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    backdrop-filter: blur(5px);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-chip:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 768px) {
    .prompt-suggestions {
        grid-template-columns: repeat(2, 1fr); 
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .suggestion-chip {
        flex: 0 1 calc(50% - 0.75rem);
    }
}

/* ======================== SCROLL KİLİTLEME ======================== */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
}

/* --- Responsive Tasarım --- */
@media (max-width: 768px) {
    /* --- Genel Ayarlar --- */
    html { font-size: 14px; }
    :root { --section-padding: 3rem 2rem; }
    .container { padding: 0; }
    .navbar { padding: 1rem; width: 100%; justify-content: space-between; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .nav__toggle { display: flex; z-index: 1000; }

    /* --- Sidebar (Menü Kutusu) --- */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: #000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0.25rem;
        padding-left: 0.75rem;
        border-bottom: 1px solid #333;
        background: #000;
        width: 100%;
    }

    .mobile-menu-header .nav-logo-link {
        display: flex;
        align-items: center;
        transform: none !important;
    }
    
    .mobile-menu-header .logo-text--briq {
        opacity: 1 !important;
        color: #D3D3D3 !important;
        transition: none !important;
    }

    .mobile-menu-header .logo-text-wrapper {
        transform: none !important;
    }

    .nav__close-btn {
        background: transparent;
        border: none;
        color: #D3D3D3;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav__close-btn svg { width: 28px; height: 28px; }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding-top: 0;
        width: 100%;
    }

    .navbar-nav a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid #222;
        color: #ccc;
    }

    body.nav-active .nav__menu { right: 0; }
    body.nav-active .nav__overlay { opacity: 1; visibility: visible; }
    body.nav-active { overflow: hidden; }
    
    body.nav-active .nav__toggle { opacity: 0; pointer-events: none; }

    .hero-title { font-size: 2.5rem; }
    .sticky-nav { display: none; }
    .content-cards { flex: 1; }
    .models-grid, .research-grid { grid-template-columns: 1fr; }
    .cta-content-about { margin-left: 0; padding: 1rem; }
}

.mobile-menu-header {
    display: none;
}

/* ======================== HERO FLOATING CARDS ======================== */

.hero-floating-nav {
    display: none;
}

@media screen and (min-width: 1024px) {
    
    .discover-prompt {
        display: none !important;
    }

    .hero-floating-nav {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        pointer-events: none;
    }

    /* --- Ortak Kart Stili --- */
    .hero-nav-card {
        pointer-events: auto;
        display: none;
        flex-direction: column;
        width: 120px;
        text-decoration: none;
        border: 1px solid transparent;
        background: #030303;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 1);
        border-radius: 1rem;
        position: absolute;
        transform-origin: center center;
        transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                    border-color 0.15s ease, 
                    box-shadow 0.15s ease,
                    background-color 0.15s ease;
    }

    .nav-card-img {
        width: 100%;
        height: 100px;
        border-radius: 1rem;
        overflow: hidden;
        margin-bottom: 8px;
        background: #000;
        position: relative;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .nav-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
        transition: opacity 0.15s ease;
    }

    .nav-card-title {
        color: #b0b0b0;
        font-size: 0.75rem;
        font-weight: 700;
        text-align: center;
        text-transform: none;
        letter-spacing: -0.5px;
        transition: color 0.15s ease;
        padding: 8px;
        padding-top: 0;
    }

    .hero-nav-card:hover {
        background: rgba(30, 30, 30, 0.9);
        border-color: rgba(255, 255, 255, 0.8);
        box-shadow: 
            0 15px 50px rgba(0,0,0,1),
            0 0 20px rgba(255, 255, 255, 0.3);
        z-index: 50 !important;
    }

    .hero-nav-card:hover .nav-card-img img {
        opacity: 1;
    }
    
    .hero-nav-card:hover .nav-card-title {
        color: #fff;
    }

    .card-fan-1 {
        right: 1.35rem; 
        bottom: 1rem; 
        transform: rotate(0);
    }
    .card-fan-1:hover {
        transform: rotate(0) scale(1.05);
    }

    .card-fan-2 {
        right: 1.35rem;
        bottom: 7rem;
        transform: rotate(0);
        z-index: 2;
    }
    .card-fan-2:hover {
        transform: rotate(0) scale(1.05);
    }

    .card-fan-3 {
        right: 1.35rem; 
        bottom: 13rem;
        transform: rotate(0);
        z-index: 3;
    }
    .card-fan-3:hover {
        transform: rotate(0) scale(1.05);
    }

    .card-discover {
        left: 1.5rem;
        bottom: 15px;
        transform: rotate(0);
        background: transparent;
    }
    .card-discover:hover {
        transform: rotate(0) scale(1.05);
    }

    .nav-card-icon-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.4);
    }
    .nav-card-icon-overlay i {
        font-size: 2rem;
        color: #fff;
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
    }
}

@media (max-width: 768px) {
    body.nav-active .navbar-brand {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }
}

/* --- STICKY NAV (Sadece Desktop - 1024px Üzeri) --- */
@media screen and (min-width: 768px) {
    .hero-floating-nav.right-fan.is-sticky {
        position: fixed;
        top: 50%;
        right: 1.35rem;
        left: auto;
        bottom: auto;
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-50%);
        z-index: 999;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hero-floating-nav.is-sticky .hero-nav-card {
        position: relative;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        top: auto !important;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        transform: rotate(0) !important;
        margin: 0;
        border-radius: 12px;
        background: rgba(10, 10, 10, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        transition: all 0.3s ease;
    }

    .hero-floating-nav.is-sticky .nav-card-img {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        opacity: 0.3;
        z-index: 1;
        margin: 0;
    }
    
    .hero-floating-nav.is-sticky .nav-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-floating-nav.is-sticky .nav-card-title {
        position: absolute;
        right: 60px;
        left: auto;
        top: 50%;
        transform: translateY(-50%) translateX(10px);
        width: max-content;
        background: rgba(0,0,0,0.9);
        padding: 6px 12px;
        border-radius: 6px;
        border: 1px solid #333;
        opacity: 0;
        pointer-events: none;
        color: #fff;
        font-size: 0.8rem;
        font-weight: 500;
        z-index: 10;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hero-floating-nav.is-sticky .nav-card-title::before {
        content: '';
        position: absolute;
        right: -4px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
        background: #000;
        border-top: 1px solid #333;
        border-right: 1px solid #333;
    }

    .hero-floating-nav.is-sticky .hero-nav-card:hover {
        transform: scale(1) !important;
        background: #000;
        border-color: #fff;
        z-index: 100;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

    .hero-floating-nav.is-sticky .hero-nav-card:hover .nav-card-title {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    .hero-floating-nav.is-sticky .hero-nav-card::after {
        font-family: 'BoxIcons';
        font-size: 1.4rem;
        color: #fff;
        z-index: 5;
        text-shadow: 0 2px 10px rgba(0,0,0,1);
        position: relative;
    }

    /* Her kart için özel ikon */
    .hero-floating-nav.is-sticky .card-discover::after { 
        content: '\ea0c';
    } 

    .hero-floating-nav.is-sticky .card-fan-1::after { 
        content: '\ee02';
    }

    .hero-floating-nav.is-sticky .card-fan-2::after { 
        content: '\eb5e';
    }

    .hero-floating-nav.is-sticky .card-fan-3::after { 
        content: '\ea95';
    }

    .hero-floating-nav.is-sticky .hero-nav-card.active {
        border: 2px solid #F1F3F4 !important;
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 15px rgba(241, 243, 244, 0.4);
        transform: scale(1.1);
    }
}

/* --- MOBİL İÇİN GÜVENLİK --- */
@media screen and (max-width: 768px) {
    .hero-floating-nav.is-sticky {
        display: none !important;
    }
}

/* --- TABLET / KÜÇÜK LAPTOP DÜZELTMELERİ (1024px ve altı) --- */
@media screen and (max-width: 1024px) {
    
    /* 1. ARAŞTIRMALAR: */
    .research-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .research-item {
        align-items: center;
    }

    /* 2. ALTYAPIMIZ */
    .infrastructure-grid {
        grid-template-columns: 1fr 1fr;
    }

    .infra-card:last-child {
        grid-column: 1 / -1;
    }
    
    .infra-card {
        padding: 2rem 1.5rem;
    }
}

/* --- EKSTRA GÜVENLİK (Araştırmalar için) --- */
.research-image-container {
    flex-shrink: 0; 
}

/* --- MOBİL STICKY CHAT DÜZELTMESİ --- */
@media (max-width: 768px) {
    /* Başlangıç genişliğini ekrana göre ayarla */
    .sticky-chat-bar-container .chat-input-container {
        width: 85%; 
        transition: none !important;
    }

    /* Tıklandığında (expanded olduğunda) genişliğin değişmesini engelle */
    .sticky-chat-bar-container.is-expanded .chat-input-container {
        width: 85%; /* Yukarıdaki ile aynı değer olmalı */
    }
}




/* --- Hero Mini Navigasyon (Input Altı) --- */
.hero-nav-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; /* Aralarındaki boşluk */
    margin-top: 2rem; /* Input ile mesafe */
    width: 100%;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(20, 20, 20, 0.6);
    border: 1px solid #333;
    padding: 0.4rem 1rem 0.4rem 0.4rem; /* Resim solda, yazı sağda, dengeli padding */
    border-radius: 2rem; /* Hap şeklinde yuvarlak kenar */
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.mini-card img {
    width: 28px; /* Resim boyutu küçüldü */
    height: 28px;
    border-radius: 50%; /* Resim tam yuvarlak */
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.mini-card span {
    color: #a0a0a0;
    font-size: 0.8rem; /* Yazı boyutu küçüldü */
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* Hover (Üzerine Gelince) */
.mini-card:hover {
    background-color: rgba(50, 50, 50, 0.8);
    border-color: #F1F3F4;
    transform: translateY(-2px);
}

.mini-card:hover img {
    opacity: 1;
}

.mini-card:hover span {
    color: #fff;
}

/* Mobil Uyumluluk */
@media (max-width: 1024px) {
    .hero-nav-mini {
        justify-content: center; /* Mobilde ortala */
    }
}