/* ==============================================
   HABYO - NİHAİ PRODUCTION STİL DOSYASI (FULL)
   Sürüm: v15.0 (Eksiksiz Tam Sürüm)
   Renk: #003bb0 (Orijinal Habyo Mavisi)
   ============================================== */

/* === 1. KÖK DEĞİŞKENLER & AYARLAR === */
:root {
    --habyo-blue: #003bb0; 
    --habyo-blue-dark: #002a80;
    --habyo-blue-light: #43a3f7;
    --text-dark: #0a192f;        
    --text-medium: #4d5b7c;       
    --text-pure-white: #FFFFFF;   
    --bg-gradient-start: #FFFFFF; 
    --bg-gradient-end: #F0F4FF; 
    --bg-panel: #FFFFFF;
    --border-color: #E6EFFF;
    --header-height: 80px; 
    --font-family: 'Poppins', sans-serif;
}

/* === 2. SCROLLBAR GİZLEME (HAYALET MODU) === */
::-webkit-scrollbar { display: none; }
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
}

/* === 3. GENEL SIFIRLAMA & TİPOGRAFİ === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-family); 
    color: var(--text-dark); 
    font-size: 1.6rem; 
    line-height: 1.7; 
    overflow-x: hidden;
    overflow-x: clip;
    background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end)); 
    background-attachment: fixed; 
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    min-width: 0;
    width: 100%;
    overscroll-behavior-x: none;
}

/* Görsellerin ve videoların taşmasını engelle */
img, video { max-width: 100%; height: auto; }

/* Link tıklamalarında header payı */
section, article { scroll-margin-top: 100px; }

h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 700; color: var(--text-dark); }

/* Gradient Metin */
.text-gradient { 
    background: linear-gradient(135deg, var(--habyo-blue), var(--habyo-blue-light)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    display: inline-block; 
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
main, header, section, footer { max-width: 100%; }
.section { padding: 10rem 0; }
.section-title { font-size: 4rem; text-align: center; margin-bottom: 2rem; position: relative; display: block; }
.section-title::after { content: ''; display: block; width: 8rem; height: 4px; background: var(--habyo-blue); margin: 1rem auto; border-radius: 2px; }
.section-subtitle { text-align: center; max-width: 60rem; margin: 0 auto; color: var(--text-medium); }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); overflow: hidden; }

/* === 4. PRELOADER (HIZLI & GERÇEK LOGO) === */
#preloader { 
    background: #ffffff; 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 10000; display: flex; align-items: center; justify-content: center; 
    transition: opacity 0.5s ease, visibility 0.5s ease; 
}

/* Kapsayıcı: Resim ve SVG üst üste binsin diye */
.preloader-wrapper {
    position: relative;
    width: 150px; 
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. GERÇEK LOGO (Başta gizli) */
.real-preloader-logo {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* Başlangıçta görünmez */
    z-index: 2;
    /* Çizim biterken bu ortaya çıkacak (1.2s sonra) */
    animation: showRealLogo 0.5s ease forwards 1.2s;
}

/* 2. ÇİZİM SVG (Başta var) */
.habyo-anim-svg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.habyo-anim-svg path {
    stroke: var(--habyo-blue);
    stroke-width: 25px;
    fill: transparent;
    stroke-dasharray: 6000;
    stroke-dashoffset: 6000;
    /* 1.2 saniyede hızlıca çizilsin */
    animation: drawLogo 1.2s ease-in-out forwards, hideSvg 0.3s ease forwards 1.2s;
}
.habyo-anim-svg g path { stroke-width: 0.06px; }

/* ANİMASYONLAR */
@keyframes drawLogo { 
    to { stroke-dashoffset: 0; } 
}

@keyframes showRealLogo {
    to { opacity: 1; }
}

/* SVG kaybolsun */
@keyframes hideSvg {
    to { opacity: 0; }
}


/* === 5. HEADER === */
#main-header { 
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); 
    z-index: 1000; background: transparent; transition: all 0.4s ease; 
}
#main-header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.header-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

#main-header.scrolled {
    background: rgba(0, 59, 176, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.header-logo { height: 7.2rem; transition: transform 0.3s ease; margin-top: 3px; display: block; }
.header-logo:hover { transform: scale(1.1); }
.logo-fallback { font-size: 2.8rem; font-weight: 900; color: var(--text-pure-white); }
.logo-fallback-blue { color: var(--habyo-blue-light); }

.desktop-nav { display: none; }
@media (min-width: 900px) { .desktop-nav { display: flex; align-items: center; gap: 1rem; } }

.nav-link { 
    color: var(--text-pure-white); text-decoration: none; font-weight: 600; 
    font-size: 1.5rem; padding: 0.8rem 1.5rem; border-radius: 20px; transition: all 0.3s ease; 
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); }

/* Dropdown */
.nav-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
.dropdown-menu { 
    position: absolute; top: 100%; left: 50%; 
    background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 12px; 
    padding: 1rem; min-width: 20rem; opacity: 0; visibility: hidden; 
    transform: translateX(-50%) translateY(15px); transition: all 0.3s ease; z-index: 1001; 
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); margin-top: 0; 
}
.nav-dropdown::after { content: ''; position: absolute; bottom: -20px; left: 0; width: 100%; height: 20px; background: transparent; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dropdown-menu a, .dropdown-menu button { 
    color: var(--text-dark); display: block; width: 100%; text-align: left; background: none; border: none; 
    text-decoration: none; font-size: 1.5rem; font-weight: 500; padding: 1.2rem 1.5rem; border-radius: 8px; 
    cursor: pointer; transition: 0.2s; 
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background-color: #F0F6FF; color: var(--habyo-blue); padding-left: 2rem; }

#language-dropdown .dropdown-menu { left: auto; right: 0; transform: translateX(0) translateY(15px); }
#language-dropdown:hover .dropdown-menu { transform: translateX(0) translateY(0); }

/* Mobil Buton */
.language-button { background: rgba(255,255,255,0.1); border: none; color: white; padding: 0.8rem 1.2rem; border-radius: 20px; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; transition: 0.3s; }
.language-button:hover { background: rgba(255,255,255,0.25); }
.icon-globe { width: 1.8rem; }

#mobile-menu-button { display: flex; flex-direction: column; justify-content: space-around; width: 2.8rem; height: 2.4rem; background: transparent; border: none; cursor: pointer; z-index: 1006; }
@media(min-width: 900px){ #mobile-menu-button { display: none; } }
@media (max-width: 899px) { #language-dropdown { display: none; } }
.hamburger-bar { width: 100%; height: 3px; background: white; border-radius: 2px; transition: 0.3s; }
#mobile-menu-button.open .hamburger-bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
#mobile-menu-button.open .hamburger-bar:nth-child(2) { opacity: 0; }
#mobile-menu-button.open .hamburger-bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

#mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; background: rgba(255,255,255,0.98); backdrop-filter: blur(15px); z-index: 1005; padding: 8rem 2rem; overflow-y: auto; transform: translateX(100%); transition: 0.3s; }
#mobile-menu.open { transform: translateX(0); }
.mobile-nav-link { color: var(--text-dark); display: block; font-size: 2rem; padding: 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; width: 100%; text-align: left; background: none; border: none; }
.mobile-nav-link:hover { background: #f0f4ff; }
.collapsible-content { max-height: 0; overflow: hidden; transition: 0.3s; padding-left: 2rem; }
.collapsible-content.open { max-height: 600px; }

/* === 6. HERO SECTION === */
.hero-section {
    min-height: calc(var(--app-vh, 1vh) * 100);
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000;
    padding: calc(var(--header-height) + 1.2rem) 1.6rem calc(7.2rem + env(safe-area-inset-bottom));
}
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; cursor: pointer; }
.video-background::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%); pointer-events: none; }
.video-background video { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: filter 0.8s ease; }
.hero-content {
    position: relative;
    z-index: 10;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hero-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; margin: 0 auto; color: var(--text-pure-white); letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; max-width: 16ch; }
.hero-title.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.95em;
    margin-left: 0.08em;
    vertical-align: -0.08em;
    background: rgba(255,255,255,0.95);
    animation: heroCaretBlink 0.85s steps(1, end) infinite;
}
.hero-title.is-fading {
    animation: heroTitleFadeOut 0.7s ease forwards;
}
.hero-title.is-hidden {
    opacity: 0;
    visibility: hidden;
}
@keyframes heroCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes heroTitleFadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
        filter: blur(2px);
    }
}
.hero-subtitle { font-size: clamp(1.45rem, 2.2vw, 1.75rem); margin: 0 auto 2rem; opacity: 0.94; max-width: 42ch; }
.hero-bottom-cta { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(2.2rem + env(safe-area-inset-bottom)); width: min(92vw, 760px); z-index: 15; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

.cta-button { 
    background: var(--habyo-blue); color: white; padding: 1.4rem 3.5rem; 
    border-radius: 50px; font-weight: 700; text-decoration: none; 
    box-shadow: 0 10px 30px rgba(0,59,176,0.4); transition: 0.3s; display: inline-block; 
    position: relative; overflow: hidden; border: none; cursor: pointer;
}
.cta-button::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.cta-button:hover::after { left: 100%; transition: 0.5s; }
.cta-button:hover { background: white; color: var(--habyo-blue); transform: translateY(-3px); }
.hero-button {
    padding: 1rem 2.4rem;
    font-size: 1.5rem;
    border: 1px solid rgba(255,255,255,0.38);
    background: rgba(0, 59, 176, 0.82);
    box-shadow: 0 12px 28px rgba(0, 24, 72, 0.36);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-button-secondary {
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.hero-button-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--habyo-blue);
}

/* Video Kontrolleri */
.hero-section.video-paused .video-background video { filter: brightness(0.55) blur(2px); }
.video-toggle-button { position: absolute; bottom: calc(1.4rem + env(safe-area-inset-bottom)); right: 1.4rem; z-index: 20; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.video-toggle-button:hover { background: var(--habyo-blue); border-color: var(--habyo-blue); transform: scale(1.1); }
.video-toggle-button svg { width: 24px; fill: white; }
.icon-play { display: none; margin-left: 4px; }
.hero-section.video-paused .icon-play { display: block; } .hero-section.video-paused .icon-pause { display: none; } .hero-section:not(.video-paused) .icon-pause { display: block; }
.scroll-down-arrow { position: absolute; bottom: calc(.8rem + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 5; border: 2px solid rgba(255,255,255,0.7); width: 30px; height: 50px; border-radius: 15px; }
.scroll-down-arrow span { display: block; width: 4px; height: 8px; background: white; margin: 10px auto; border-radius: 2px; animation: scrollAnim 1.5s infinite; }
@keyframes scrollAnim { 0% {transform:translateY(0); opacity:1;} 100%{transform:translateY(15px); opacity:0;} }

/* === 7. BENTO GRID (KEŞFET) === */
.habyo-bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; grid-auto-rows: minmax(350px, auto); }
.bento-card { position: relative; border-radius: 24px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; }
.span-1 { grid-column: span 1; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; }
.bento-bg { width: 100%; height: 100%; position: absolute; top:0; left:0; }
.bento-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.card-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); opacity: 0.6; transition: 0.4s; }
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,59,176,0.25); }
.bento-card:hover .bento-bg img { transform: scale(1.1); }
.bento-card:hover .card-overlay { opacity: 0.8; }
.glass-panel { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); padding: 2rem; border-radius: 16px; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.content-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.card-badges { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.bento-content h3 { font-size: 2.4rem; color: white; margin: 0; }
.badge { font-size: 1.2rem; background: var(--habyo-blue); padding: 0.4rem 1rem; border-radius: 20px; font-weight: 600; text-transform: uppercase; }
.badge-game { background: #7c3aed; }
.soon-badge {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.34rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.44);
    color: #fff;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.arrow-btn { position: absolute; bottom: 2rem; right: 2rem; width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; opacity: 0; transform: translateX(-10px); border: none; cursor: pointer; }
.arrow-btn svg { width: 20px; fill: var(--text-dark); }
.bento-card:hover .arrow-btn { opacity: 1; transform: translateX(0); }
.arrow-btn:hover { background: var(--habyo-blue); } .arrow-btn:hover svg { fill: white; }

/* === 8. BİZ KİMİZ (DÜZEN: SOL VİDEO, SAĞ YAZI) === */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }

/* Video Kutusu */
.about-video-wrapper {
    width: 100%; position: relative;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); 
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #000;
}
.about-video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Yazı Alanı */
.about-content { padding-left: 1rem; }
.about-content h2 { text-align: left; font-size: 3.5rem; margin-bottom: 2.5rem; }
.about-content h2::after { margin: 1rem 0 0 0; }
.about-text-block p { margin-bottom: 2rem; font-size: 1.6rem; line-height: 1.8; color: var(--text-medium); text-align: justify; }

/* === 9. EKİP KARTLARI === */
.team-grid-modern { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 4rem; }
.team-member-card { position: relative; width: 280px; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; border: 1px solid rgba(0,0,0,0.03); }
.team-member-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0, 59, 176, 0.2); }
.member-image-box { width: 100%; height: 320px; position: relative; overflow: hidden; }
.member-image-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.team-member-card:hover .member-image-box img { transform: scale(1.1); }
.member-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(0,59,176,0.8), transparent); opacity: 0; transition: 0.3s; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2rem; }
.team-member-card:hover .member-overlay { opacity: 1; }
.social-glass { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 1rem 2rem; border-radius: 30px; display: flex; gap: 1.5rem; transform: translateY(20px); transition: 0.4s; border: 1px solid rgba(255,255,255,0.3); }
.team-member-card:hover .social-glass { transform: translateY(0); }
.social-glass a svg { width: 22px; height: 22px; fill: white; transition: 0.2s; }
.social-glass a:hover svg { transform: scale(1.2); }
.member-info { padding: 2rem; text-align: center; }
.member-info h4 { font-size: 2rem; margin-bottom: 0.5rem; }
.member-role { font-size: 1.4rem; color: var(--habyo-blue); font-weight: 600; text-transform: uppercase; }
.member-line { width: 40px; height: 3px; background: var(--habyo-blue); margin: 1.5rem auto 0; transition: 0.3s; }
.team-member-card:hover .member-line { width: 100px; }

/* === 10. CTA & FORM === */
.cta-container { background: var(--habyo-blue); color: white; padding: 8rem 2rem; border-radius: 24px; position: relative; overflow: hidden; text-align: center; box-shadow: 0 20px 60px rgba(0, 59, 176, 0.3); }
#tsparticles-cta { position: absolute; top:0; left:0; width:100%; height:100%; }
.cta-container h2, .cta-container p, .cta-container .cta-button { position: relative; z-index: 2; }
.cta-container .cta-button { margin-top: 2rem; background: white; color: var(--habyo-blue); }

#contact-form { max-width: 80rem; margin: 0 auto; background: #ffffff; border: 1px solid #eef2f6; border-radius: 24px; padding: 5rem; box-shadow: 0 20px 60px rgba(0, 59, 176, 0.08); }
.form-group { margin-bottom: 2.5rem; }
#contact-form input, #contact-form textarea { width: 100%; background: #f8fbff; border: 2px solid #eef2f6; border-radius: 12px; padding: 1.8rem; font-family: var(--font-family); font-size: 1.6rem; color: var(--text-dark); transition: 0.3s; }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--habyo-blue); background: #ffffff; box-shadow: 0 0 0 4px rgba(0, 59, 176, 0.15); transform: translateY(-2px); }
#contact-form .cta-button { width: 100%; background: var(--habyo-blue); color: white; }

/* === 11. FOOTER (FİNAL MAVİ) === */
#modern-footer { 
    background-color: var(--habyo-blue); 
    color: white; 
    position: relative; 
    padding-top: 6rem; padding-bottom: 4rem; margin-top: 5rem;
}

.footer-wrapper { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-brand-section { flex: 1 1 300px; min-width: 0; }
.brand-logo-img { height: 150px; width: auto; display: block; margin-bottom: 1.5rem; filter: none; }
.brand-desc { font-size: 1.6rem; line-height: 1.6; max-width: 350px; margin-bottom: 3rem; color: rgba(255,255,255,0.9); }

.footer-socials { display: flex; gap: 1.5rem; }
.social-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: white; overflow: hidden; }
.social-btn:hover { background: white; border-color: white; transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 20px rgba(0,0,0,0.2); color: var(--habyo-blue); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; transition: transform 0.3s; }
.social-btn img { width: 20px; height: auto; filter: brightness(0) invert(1); transition: all 0.3s; }
.social-btn:hover svg, .social-btn:hover img { transform: scale(1.1); }
.social-btn:hover img { filter: invert(18%) sepia(99%) saturate(4649%) hue-rotate(222deg) brightness(91%) contrast(101%); }

.footer-links-section { display: flex; gap: 6rem; }
.link-column h5 { color: white; font-size: 1.8rem; margin-bottom: 2rem; font-weight: 700; }
.link-column a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1.5rem; margin-bottom: 1.2rem; transition: 0.3s; }
.link-column a:hover { color: white; transform: translateX(5px); text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.6); font-size: 1.4rem; padding-top: 1rem; }

/* === 12. MODAL (POPUP) === */
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 2rem; }
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal-content { background: white; width: 100%; max-width: 600px; max-height: calc(100vh - 4rem); max-height: calc(100svh - 4rem); border-radius: 24px; overflow: auto; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-backdrop.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(0,0,0,0.5); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 2.4rem; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.modal-close:hover { background: var(--habyo-blue); }
.modal-header-image { position: relative; height: 250px; width: 100%; }
.modal-header-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-gradient-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.modal-title-wrap { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; color: white; }
.modal-title-wrap h2 { color: white; font-size: 3rem; margin: 0.5rem 0 0 0; }
.modal-body { padding: 2.5rem; }
.modal-lead { font-size: 1.6rem; color: var(--text-dark); margin-bottom: 2rem; line-height: 1.6; }
.modal-features h4 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--habyo-blue); }
.modal-features ul { list-style: none; padding: 0; }
.modal-features li { position: relative; padding-left: 2rem; margin-bottom: 0.8rem; color: var(--text-medium); font-size: 1.5rem; }
.modal-features li::before { content: '•'; color: var(--habyo-blue); font-weight: bold; position: absolute; left: 0; top: 0; }
.modal-footer { margin-top: 3rem; display: flex; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(67, 163, 247, 0.75);
    outline-offset: 2px;
}

/* === 13. ANİMASYONLAR === */
.reveal-up { opacity: 0; transform: translateY(3rem); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); } .reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-3rem); transition: all 0.8s; } .reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(3rem); transition: all 0.8s; } .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* === 14. MOBİL UYUM (RESPONSIVE) === */
@media (max-width: 1200px) {
    .container { max-width: 1100px; }
    .hero-title { font-size: 4.8rem; }
}

@media (max-width: 1024px) {
    .section { padding: 8rem 0; }
    .hero-section { padding: calc(var(--header-height) + 1rem) 1.4rem calc(6.6rem + env(safe-area-inset-bottom)); }
    .hero-content { max-width: 86rem; }
    .hero-title { font-size: 4.2rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .hero-bottom-cta { width: min(94vw, 680px); }
    .about-container { gap: 4rem; }
}

@media (max-width: 900px) {
    #main-header.scrolled .container { background: rgba(0, 59, 176, 0.95); }
    .header-logo { height: 5.8rem; margin-top: 0; }
    #main-header .container { padding-left: 1.4rem; padding-right: 1.4rem; }
    #mobile-menu { height: 100vh; height: 100dvh; padding: calc(var(--header-height) + 1.8rem) 1.6rem calc(2.2rem + env(safe-area-inset-bottom)); }

    .hero-section { padding: calc(var(--header-height) + .8rem) 1.2rem calc(6.2rem + env(safe-area-inset-bottom)); }
    .hero-content { max-width: 62rem; padding: 0; margin-top: clamp(0.6rem, 3vh, 2rem); }
    .hero-title { font-size: clamp(2.9rem, 7vw, 3.6rem); }
    .hero-subtitle { font-size: 1.6rem; }
    .hero-bottom-cta { width: min(94vw, 600px); bottom: calc(1.8rem + env(safe-area-inset-bottom)); }
    .video-toggle-button { width: 48px; height: 48px; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom)); }

    .habyo-bento-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .span-1, .span-2, .span-3 { grid-column: span 1; }
    .glass-panel { bottom: 1.5rem; left: 1.5rem; right: 1.5rem; padding: 1.5rem; }
    .arrow-btn { opacity: 1; transform: translateX(0); width: 35px; height: 35px; }

    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-video-wrapper { order: -1; margin-bottom: 1rem; }
    .about-content { padding-left: 0; text-align: center; }
    .about-content h2 { text-align: center; }
    .about-content h2::after { margin: 1rem auto; }
    .about-text-block p { text-align: left; }

    #modern-footer { padding-top: 5rem; }
    .footer-wrapper { flex-direction: column; align-items: center; text-align: center; gap: 3rem; }
    .brand-logo-img { margin: 0 auto 2rem auto; }
    .brand-desc { margin: 0 auto 2.5rem auto; }
    .footer-socials { justify-content: center; }
    .footer-links-section { width: 100%; justify-content: space-around; gap: 2rem; flex-wrap: wrap; }

    #contact-form { padding: 3rem 2rem; }
}

@media (max-width: 680px) {
    :root { --header-height: 72px; }
    .container { padding: 0 1.6rem; }
    .section-title { font-size: 3rem; }
    .section-subtitle { font-size: 1.5rem; }
    .hero-section { padding: calc(var(--header-height) + .6rem) .9rem calc(5.8rem + env(safe-area-inset-bottom)); }
    .hero-content { padding: 0; margin-top: clamp(0.2rem, 2vh, 1.2rem); }
    .hero-title { font-size: clamp(2.3rem, 8vw, 2.9rem); line-height: 1.12; max-width: 13ch; }
    .hero-subtitle { font-size: 1.45rem; margin-bottom: 1.8rem; }
    .hero-bottom-cta { width: calc(100% - 1.8rem); bottom: calc(1.55rem + env(safe-area-inset-bottom)); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-button { width: 100%; max-width: none; font-size: 1.3rem; padding: 0.95rem 1.1rem; }
    .video-toggle-button { width: 44px; height: 44px; right: .8rem; bottom: calc(.8rem + env(safe-area-inset-bottom)); }
    .scroll-down-arrow { display: none; }
    .glass-panel { left: 1.2rem; right: 1.2rem; bottom: 1.2rem; }
    .bento-content h3 { font-size: 2.1rem; }
    .content-top { align-items: flex-start; gap: 0.5rem; }
    .soon-badge { font-size: 0.9rem; padding: 0.28rem 0.7rem; }
    .modal-header-image { height: 200px; }
    .modal-title-wrap h2 { font-size: 2.4rem; }
    .modal-body { padding: 2rem 1.6rem; }
    .modal-footer { justify-content: stretch; }
    .modal-footer .cta-button { width: 100%; text-align: center; }
    .footer-links-section { justify-content: center; }
}

@media (max-width: 1024px) {
    body > * { max-width: 100%; }
    .habyo-bento-grid,
    .about-container,
    .footer-wrapper,
    .footer-links-section,
    #contact-form { max-width: 100%; }
}
