/* -------------------------------------------------------
   1. CORE & RESET
------------------------------------------------------- */
:root {
    --bg-color: #050505;
    --bg-darker: #020202;
    --text-main: #E6E6E6;
    --text-muted: #888888;
    --gold: #c5a059;
    --gold-dim: rgba(197, 160, 89, 0.2);
    --border: rgba(255, 255, 255, 0.1);

    --font-head: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Mobil dokunma vurgusunu kaldır */
}

/* MOUSE VISIBILITY RESTORED */
html,
body {
    cursor: default;
    width: 100%;
}

a,
button,
.hover-mag {
    cursor: pointer;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    font-size: 16px; /* Base font size fix */
}

/* IMPORTANT: Preloader aktifken scroll'u kesinlikle kilitle */
body.loading-state,
body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.bg-darker {
    background-color: var(--bg-darker);
}

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

/* FOUC PREVENTION */
.line,
.hero-top-tag,
.hero-footer,
.grid-card,
.stack-card,
.project-card {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* -------------------------------------------------------
   2. GRID CANVAS
------------------------------------------------------- */
#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: screen;
}

/* -------------------------------------------------------
   3. PRELOADER
------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#code-rain {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.loader-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.brand-name {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(20px);
    color: #fff;
}

.loading-line {
    display: block;
    width: 0%;
    height: 2px;
    background: var(--gold);
    margin-top: 10px;
}


/* -------------------------------------------------------
   4. CUSTOM CURSOR
------------------------------------------------------- */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    display: block;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    opacity: 0.8;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body.hovering .cursor-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
}

/* -------------------------------------------------------
   5. NAVBAR
------------------------------------------------------- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    z-index: 2000;
    
    background-color: transparent;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.4s ease, padding 0.4s ease;
}

.main-nav.nav-solid {
    background-color: #000;
    padding: 15px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
    z-index: 1002;
    position: relative;
}

.logo .dot {
    color: var(--gold);
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    transition: 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1002;
    position: relative;
}

.contact-btn {
    position: relative;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-btn span {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(100%);
    transition: 0.4s var(--ease-out);
    z-index: 1;
}

.contact-btn:hover .btn-bg {
    transform: translateY(0);
}

.contact-btn:hover span {
    color: #000;
}

.mobile-toggle {
    display: none; 
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    padding: 10px;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.mobile-toggle .top { top: 14px; }
.mobile-toggle .bot { bottom: 14px; }

body.menu-open .mobile-toggle .top {
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
}
body.menu-open .mobile-toggle .bot {
    bottom: 50%;
    transform: rotate(-45deg) translateY(50%);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.m-link {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.m-link.contact {
    color: var(--gold);
    font-size: 1.5rem;
    font-family: var(--font-mono);
    margin-top: 20px;
}

.mobile-nav-footer {
    position: absolute;
    bottom: 40px;
    font-size: 0.8rem;
    color: #555;
}

@media screen and (max-width: 991px) {
    .main-nav { padding: 20px 25px; }
    .main-nav.nav-solid { padding: 15px 25px; }
}

/* -------------------------------------------------------
   6. HERO SECTION
------------------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 600px; 
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-mask {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 40px;
}

.hero-top-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 90px); 
    line-height: 1.2; 
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;

    
    width: 100%;
    max-width: 100%; 
    overflow-wrap: break-word; 

    
    transform: scaleY(1.1); 
    transform-origin: left top; 
}

.line-wrap {
    overflow: visible;
}

.line {
    display: block;
    transform: translateY(100%);
}

.gold-text {
    color: var(--gold);
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    margin-top: auto;
}

.hero-desc {
    max-width: 500px;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.5;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* -------------------------------------------------------
   7. MARQUEE
------------------------------------------------------- */
.marquee-section {
    padding: 30px 0;
    background: #000;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-weight: 700;
    color: #444;
    font-size: 1.5rem;
    font-family: var(--font-head);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -------------------------------------------------------
   8. VISION
------------------------------------------------------- */
.grid-vision {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

/* DESKTOP FLASHLIGHT EFFECT */
.spotlight-text {
    font-family: var(--font-head);
    font-size: 2.5rem;
    line-height: 1.3;
    color: #444; /* Default dark */
    background: radial-gradient(circle 200px at var(--x) var(--y), #fff, #444);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; 
    transition: 0.1s;
}

.body-text {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 40px;
}

.stat-row {
    display: flex;
    gap: 50px;
}

.stat-item .num {
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 1;
    color: var(--gold);
}

.stat-item .lbl {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 5px;
}
/* -------------------------------------------------------
   8. VISION - GRID SYSTEM (Sağa ve Alta Yapışık)
------------------------------------------------------- */

/* 1. BÖLÜM AYARI */
#hakkimizda {
    width: 100%;
    padding-bottom: 0 !important; /* Alt tarafa yapışması için boşluğu sildik */
    overflow: hidden;
}

/* 2. GRID YAPISI (Container'ı Genişletme Hilesi) */
.grid-vision {
    /* Container sınıfının getirdiği sınırlamaları eziyoruz */
    width: 100% !important; 
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ekranı tam ortadan ikiye böl */
    min-height: 600px;
}

/* 3. SOL SÜTUN (Yazı Kısmı) */
/* Burası önemli: Container olmadığı için yazıyı elle hizalıyoruz */
.col-left {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Dikeyde ortala */
    
    /* HESAPLAMA: (Ekran Genişliği - Container Genişliği) / 2 + Kenar Payı 
       Bu kod, yazının logoyla aynı hizada başlamasını sağlar.
    */
    padding-left: max(5vw, calc((100vw - 1400px) / 2 + 50px));
    padding-right: 50px;
    padding-bottom: 50px;
}

/* 4. SAĞ SÜTUN (Resim Kısmı) */
.col-right {
    width: 100%;
    height: 100%;
    /* Grid hücresinin en altına hizala */
    display: flex;
    align-items: flex-end; 
    justify-content: flex-end;
}

/* MASAÜSTÜ GÖRÜNÜMÜ (992px üstü) */
@media screen and (min-width: 992px) {
    .image-container {
        width: 100%;
        /* YÜKSEKLİK AYARI: Buradan resmin boyunu ayarlayabilirsin */
        height: 550px; 
        
        display: block;
        position: relative;
    }

    .pentagon-box {
        width: 100%;
        height: 100%;
        
        /* SOLA OK UCU, SAĞ VE ALT DÜZ */
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 20% 100%, 0% 40%);
    }

    .vision-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 5. MOBİL GÖRÜNÜM (Standart Ayarlar) */
@media screen and (max-width: 991px) {
    #hakkimizda { padding-bottom: 80px !important; }
    
    .grid-vision {
        display: flex !important;
        flex-direction: column;
        width: 90% !important; /* Mobilde tekrar standart container gibi davran */
        margin: 0 auto !important;
    }
    
    .col-left {
        padding: 0;
    }

    .col-right {
        width: 100%;
        display: block;
    }

    .image-container {
        position: relative;
        left: 50%;
        margin-left: -50vw !important;
        width: 100vw !important;
        height: 300px !important;
    }
    
    .pentagon-box {
        clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 30%) !important;
    }
}

/* -------------------------------------------------------
   9. EKOSİSTEM (SWIPER)
------------------------------------------------------- */
.ecosystem-wrapper {
    width: 100%;
    overflow: visible;
    margin-top: 60px;
}

.creative-swiper {
    width: 100%;
    padding: 50px 0;
    overflow: visible !important;
}

.swiper-slide {
    width: 320px;
    height: 450px;
    opacity: 0.4;
    transition: 0.4s;
    filter: blur(2px);
}

.swiper-slide-active {
    opacity: 1;
    filter: blur(0);
    z-index: 10;
    transform: scale(1.1) !important;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.swiper-slide-active .slide-inner {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, #000, transparent);
}

.slide-content h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.slide-content p {
    font-size: 0.9rem;
    color: #ccc;
}

@media screen and (max-width: 991px) {
    
    #ekosistem {
        width: 100%;
        overflow-x: hidden !important;
        position: relative;
    }

    .ecosystem-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        margin: 40px 0 0 0;
        padding: 0;
    }

    .creative-swiper {
        width: 100% !important;
        overflow: hidden !important; 
        padding: 30px 0 50px 0 !important;
    }

    .swiper-slide {
        width: 75vw !important; 
        height: 400px !important;
        opacity: 1 !important; 
        filter: blur(0) !important;
    }

    .swiper-slide-active {
        transform: scale(1.05) !important;
    }
}

/* -------------------------------------------------------
   10. ÇÖZÜMLER (GRID)
------------------------------------------------------- */
.heading {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.fluid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.grid-card {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    padding: 40px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
}

.grid-card.large { grid-column: span 2; }
.grid-card.wide { grid-column: span 3; min-height: 200px; }

.grid-card:hover {
    border-color: var(--gold);
    background: #161616;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.grid-card h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    line-height: 1.2;
}

.grid-card p {
    color: #888;
    font-size: 1rem;
    margin-top: auto;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* -------------------------------------------------------
/* 11. ROADMAP (STACK)
------------------------------------------------------- */
.stack-section {
    padding-bottom: 150px;
    position: relative;
    z-index: 2;
}

.stack-intro {
    margin-bottom: 80px;
    max-width: 600px;
    margin: 0 auto 80px auto;
}

.card-stack-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.stack-card {
    position: sticky;
    top: 150px;
    background: #111;
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.card-1 { top: 120px; }
.card-2 { top: 160px; background: #141414; }
.card-3 { top: 200px; background: #181818; }
.card-4 { top: 240px; background: #1c1c1c; }

.stack-card.active {
    z-index: 5;
    border-color: var(--gold);
    box-shadow: 0 0 45px rgba(197, 160, 89, 0.45);
}

.stack-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.phase {
    font-family: var(--font-mono);
    color: var(--gold);
}

.stack-head h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
}

.stack-content p {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 20px;
}

.stack-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #888;
}

.stack-content ul li::before {
    content: '› ';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* -------------------------------------------------------
   12. PROJELER
------------------------------------------------------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.project-card {
    background: #0a0a0a;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
}

.project-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.p-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.p-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 2px 8px;
}

.project-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
}

.p-desc {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
}

.p-meta span {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    font-size: 0.75rem;
    margin-right: 5px;
    border-radius: 4px;
}

/* -------------------------------------------------------
   13. FOOTER
------------------------------------------------------- */
footer {
    width: 100%;
    background: #020202;
    border-top: 1px solid var(--border);
    padding: 100px 0;
    z-index: 5;
    position: relative;
}

.cta-title {
    font-family: var(--font-head);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-desc {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 40px;
}

.magnetic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px;
}

.footer-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.mag-box {
    background: var(--bg-color);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.mag-box:hover {
    background: #111;
    z-index: 2;
}

.mag-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
    display: block;
}

.mag-val {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}

.mag-box:hover .icon {
    opacity: 1;
    transform: translateY(0);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
}

.f-right a {
    margin-left: 20px;
    color: #555;
}

/* -------------------------------------------------------
   14. RESPONSIVE DESIGN 
------------------------------------------------------- */

/* --- TABLET VE MOBİL ORTAK AYARLAR (Max 991px) --- */
@media screen and (max-width: 991px) {
    
    /* 1. GENEL SIFIRLAMALAR */
    .section-padding { padding: 80px 0; }
    .desktop-only { display: none !important; }
    .mobile-toggle { display: block; }
    .cursor-dot, .cursor-circle { display: none !important; } 
    
    /* Navigasyon */
    .main-nav { padding: 20px 25px;}

    /* 2. HERO BÖLÜMÜ (CRITICAL FIX) */
    .hero-section {
        padding: 0 25px !important; 
        width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        min-height: 80vh; 
    }

    .hero-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-content {
        width: 100% !important;
        margin-top: 15vh; 
    }

    /* 3. HERO BAŞLIK MATEMATİĞİ (KELİME BÖLMEDEN SIĞDIRMA) */
    .hero-title {
        width: 100%;
        display: block;
        text-align: center; 
        
        font-size: calc(100vw / 13) !important; 
        
        line-height: 1.15 !important;
        letter-spacing: -1.5px !important; 
        
        word-break: keep-all !important;
        white-space: normal !important;
    }

    .hero-title .line-wrap {
        width: 100%;
        display: block;
        overflow: visible !important; 
        margin-bottom: 5px;
    }

    .hero-title .line {
        display: inline-block !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .hero-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-top: 40px;
    }
    .hero-desc { font-size: 1rem; max-width: 100%; }

    /* SECTION BAŞLIKLARI (TABLET) */
    .heading {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    /* 4. DİĞER BÖLÜMLER (GRIDLERİ TEK KOLONA DÜŞÜR) */
    .fluid-grid,
    .magnetic-grid,
    .grid-vision,
    .project-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .grid-card.large, 
    .grid-card.wide { grid-column: span 1 !important; }

    .grid-vision { display: flex; flex-direction: column; gap: 40px; }
    
    .spotlight-text {
        font-size: 2rem;
        background: none;
        -webkit-text-fill-color: initial;
        color: #e6e6e6;
    }

    .swiper-slide { width: 260px; height: 380px; }
    
    .stack-card { 
        padding: 30px; 
        position: sticky !important; 
        top: 150px; 
        margin-bottom: 20px;
    }
    
    .card-1 { top: 100px !important; }
    .card-2 { top: 130px !important; } 
    .card-3 { top: 160px !important; }
    .card-4 { top: 190px !important; }

    .cta-title { font-size: 2.5rem; line-height: 1.2; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .f-right a { margin: 0 10px; display: inline-block; margin-top: 10px; }

    /* --- YENİ EKLENEN: FOOTER İKONLARI GÖRÜNÜR OLSUN --- */
    .mag-box .icon {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* -------------------------------------------------------
   MOBİL İÇİN KESİN AYAR (0px - 480px)
------------------------------------------------------- */
@media screen and (max-width: 480px) {
    
    .hero-section {
        padding: 0 10px !important; 
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-section .container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-title {
        width: 100% !important;
        display: block !important;
        
        font-size: calc(100vw / 12.5) !important; 
        
        line-height: 1.15 !important;
        letter-spacing: -1.5px !important; 
        text-align: center !important; 
        
        word-break: keep-all !important;
        white-space: normal !important;
    }

    /* 3. İNCE AYARLAR */
    .hero-content {
        margin-top: 15vh !important; 
    }

    .hero-title .line-wrap {
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
    }
    
    .hero-title .line {
        display: inline-block !important;
        width: auto !important;
    }

    /* SECTION BAŞLIKLARI (MOBİL - HERO MANTIĞI) */
    .heading {
        font-size: calc(100vw / 14) !important; 
        line-height: 1.2;
        word-wrap: break-word;
    }
}

/* ÇOK DAR TELEFONLAR (iPhone SE, Fold vb - 360px altı) */
@media screen and (max-width: 360px) {
    .hero-section { padding: 0 5px !important; } 
    
    .hero-title {
        font-size: calc(100vw / 13) !important; 
    }
}