/* --- 1. GENEL AYARLAR & FONTLAR --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-deep: #030308;
    --bg-surface: #0a0a12;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --accent-primary: #6366f1;
    --accent-glow: #818cf8;
    --accent-pink: #ec4899;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden; /* Yatay taşmayı engeller */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. ARKAPLAN --- */
.stars {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none;
    background: transparent;
}
.stars::after {
    content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 2px; background: transparent;
    box-shadow: 100px 200px #fff, 400px 600px #fff, 800px 100px #fff, 1200px 400px #fff, 
                300px 300px rgba(255,255,255,0.5), 700px 500px rgba(255,255,255,0.5);
    animation: moveStars 100s linear infinite;
}
@keyframes moveStars { from { transform: translateY(0); } to { transform: translateY(-1000px); } }

.glow-spot {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(140px); z-index: -1; opacity: 0.15;
    animation: pulseGlow 10s infinite alternate;
}
.gs-1 { top: -20%; left: 20%; background: var(--accent-primary); }
.gs-2 { bottom: -20%; right: 20%; background: var(--accent-pink); animation-delay: 3s; }
@keyframes pulseGlow { 0% { opacity: 0.1; transform: scale(1); } 100% { opacity: 0.2; transform: scale(1.2); } }

/* --- 3. NAVBAR --- */
nav {
    position: fixed; top: 0; width: 100%; height: 80px; z-index: 100;
    background: rgba(3, 3, 8, 0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; padding: 0 5%;
}
.logo { font-family: 'Space Grotesk'; font-size: 1.6rem; font-weight: 700; color: white; letter-spacing: -1px; display: flex; align-items: center; gap: 8px;}
.logo-icon { width: 10px; height: 10px; background: var(--accent-primary); border-radius: 50%; box-shadow: 0 0 15px var(--accent-primary); }

.nav-links { display: flex; gap: 30px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.3s; position: relative; }
.nav-link:hover { color: white; }

/* Desktop CTA Button */
.desktop-cta { display: inline-block; }

.btn-shiny {
    position: relative; padding: 12px 28px; background: rgba(255,255,255,0.05); color: white;
    border-radius: 50px; font-weight: 600; text-decoration: none; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; font-size: 0.9rem; cursor: pointer; display: inline-block;
}
.btn-shiny:hover { border-color: rgba(255,255,255,0.4); box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }

/* --- 4. MOBİL MENÜ ELEMANLARI --- */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.bar { width: 30px; height: 3px; background-color: white; border-radius: 3px; transition: 0.3s; }

.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #030308; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: 0.4s ease-in-out;
}
.mobile-nav-overlay.active { transform: translateX(0); }
.mobile-link { font-size: 1.8rem; color: white; text-decoration: none; font-weight: 700; font-family: 'Space Grotesk'; }

.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- 5. ANA SAYFA & HERO --- */
.page-header { padding: 140px 5% 40px; text-align: center; max-width: 1000px; margin: 0 auto; }
.page-header h1 { font-family: 'Space Grotesk'; font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 700; color: white; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 5% 50px; position: relative; }
.hero-content { z-index: 2; max-width: 55%; }
.hero h1 { font-family: 'Space Grotesk'; font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: white; }
.text-gradient { background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-p { font-size: 1.2rem; color: var(--text-muted); max-width: 550px; margin-bottom: 40px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 0.8rem; color: #a5b4fc; margin-bottom: 25px; }

.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 45%; height: 500px; perspective: 1500px; z-index: 1; }
.glass-card { width: 100%; height: 100%; background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(0,0,0,0.4)); border: 1px solid var(--border); border-radius: 24px; backdrop-filter: blur(20px); transform: rotateY(-10deg) rotateX(5deg); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.1s ease-out; }
.browser-header { height: 50px; border-bottom: 1px solid var(--border); padding: 0 20px; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.3); }
.browser-content { flex: 1; position: relative; padding: 40px; }
.mock-hero { width: 100%; height: 200px; background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent); border-radius: 12px; border: 1px solid var(--border); margin-bottom: 20px;}
.mock-row { display: flex; gap: 15px; }
.mock-box { height: 100px; flex: 1; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px solid var(--border); }
.floating-element { position: absolute; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 10px; padding: 15px; background: rgba(30, 30, 40, 0.6); }
.fe-1 { top: 20%; right: -20px; } .fe-2 { bottom: 20%; left: -20px; }

/* Glitch Text */
.glitch-text { position: relative; color: white; }
.glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-deep); }
.glitch-text::before { left: 2px; text-shadow: -1px 0 #ff00c1; clip-path: inset(44% 0 61% 0); animation: glitch-anim 2s infinite linear alternate-reverse; }
.glitch-text::after { left: -2px; text-shadow: -1px 0 #00fff9; clip-path: inset(54% 0 11% 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { clip-path: inset(30% 0 10% 0); } 100% { clip-path: inset(70% 0 20% 0); } }

/* Marquee */
.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; background: rgba(0,0,0,0.3); overflow: hidden; }
.marquee-track { display: flex; gap: 80px; width: max-content; animation: scroll 25s linear infinite; }
.m-item { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sticky Scroll */
.sticky-section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; display: flex; gap: 60px; }
.sticky-text { flex: 1; padding-bottom: 100px; }
.sticky-visual { flex: 1.2; position: sticky; top: 100px; height: 600px; }
.s-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.15; transition: 0.6s; border-left: 2px solid var(--border); padding-left: 40px; }
.s-step.active { opacity: 1; border-left-color: var(--accent-primary); }
.s-step h3 { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.visual-card { width: 100%; height: 100%; background: #08080f; border-radius: 20px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.v-slide { position: absolute; inset: 0; opacity: 0; transition: 0.8s; transform: scale(1.1); background-size: cover; background-position: center; }
.v-slide.active { opacity: 1; transform: scale(1); }
.v-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(to top, #030308, transparent); }

/* --- 6. PROJELER GRID & MODAL --- */
.projects-section { padding: 0 5% 100px; max-width: 1400px; margin: 0 auto; }
.filter-menu { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: 0.3s; margin-bottom: 10px; }
.filter-btn:hover, .filter-btn.active { background: rgba(99, 102, 241, 0.2); border-color: var(--accent-primary); color: white; }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project-card { height: 500px; border-radius: 24px; position: relative; overflow: hidden; border: 1px solid var(--border); cursor: pointer; background: var(--bg-surface); }
.project-card:hover { border-color: var(--accent-primary); }
.prj-visual { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.5s; filter: grayscale(100%); }
.project-card:hover .prj-visual { transform: scale(1.1); filter: grayscale(0%); }
.project-info-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(to top, #000 30%, transparent); transform: translateY(20px); opacity: 0; transition: 0.4s; }
.project-card:hover .project-info-overlay { transform: translateY(0); opacity: 1; }
.p-tag { font-size: 0.75rem; color: var(--accent-glow); background: rgba(99, 102, 241, 0.15); padding: 4px 12px; border-radius: 20px; font-weight: 600; text-transform: uppercase; border: 1px solid rgba(99, 102, 241, 0.3); }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 3, 8, 0.95); z-index: 9999; opacity: 0; pointer-events: none; transition: 0.4s; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { width: 100%; max-width: 900px; background: #0a0a12; border: 1px solid var(--border); border-radius: 24px; position: relative; overflow-y: auto; max-height: 90vh; transform: translateY(50px) scale(0.95); transition: 0.4s; }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; color: white; display: grid; place-items: center; cursor: pointer; z-index: 10; }
.modal-header-img { width: 100%; height: 300px; background-size: cover; background-position: center; position: relative; }
.modal-body { padding: 30px; }
.modal-title { font-size: 2rem; color: white; margin-bottom: 15px; }
.modal-meta { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 20px; }

/* --- 7. HİZMETLER --- */
.features-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 100px; padding: 0 5%; }
.feat-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 35px; border-radius: 20px; }
.feat-icon { width: 60px; height: 60px; background: rgba(99, 102, 241, 0.1); color: var(--accent-primary); border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 25px; }
.feat-card h3 { color: white; margin-bottom: 15px; font-size: 1.4rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 50px 5% 100px; }
.price-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center; height: 100%; display: flex; flex-direction: column; }
.price-amount { font-family: 'Space Grotesk'; font-size: 3.5rem; font-weight: 700; color: white; margin: 20px 0 5px; letter-spacing: -2px; }
.price-list { list-style: none; padding: 0; margin: 30px 0 auto; text-align: left; }
.price-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; color: var(--text-muted); font-size: 1rem; line-height: 1.4; }
.price-list li i { margin-top: 4px; color: var(--accent-primary); font-size: 1rem; flex-shrink: 0; }
.neon-border { position: relative; background: #0a0a12; padding: 3px; border-radius: 24px; overflow: hidden; height: 100%; }
.neon-border::after, .neon-border::before { content: ''; position: absolute; height: 100%; width: 100%; top: 50%; left: 50%; translate: -50% -50%; background-image: conic-gradient(from var(--angle), transparent 70%, var(--accent-primary), var(--accent-pink)); z-index: -1; padding: 3px; border-radius: 24px; animation: spin 4s linear infinite; }
.neon-border::before { filter: blur(15px); opacity: 0.5; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { from{--angle: 0deg} to{--angle: 360deg} }

/* Process */
.process-wrap { position: relative; max-width: 1000px; margin: 100px auto; padding-left: 50px; }
.process-line { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--accent-primary), var(--accent-pink), transparent); box-shadow: 0 0 15px var(--accent-primary); border-radius: 4px; }
.process-step { position: relative; margin-bottom: 80px; }
.ps-dot { position: absolute; left: -58px; top: 0; width: 20px; height: 20px; background: #000; border: 4px solid var(--accent-primary); border-radius: 50%; box-shadow: 0 0 20px var(--accent-primary); }
.ps-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 30px; border-radius: 20px; }

/* FAQ */
.faq-section { max-width: 800px; margin: 0 auto 100px; padding: 0 5%; }
details { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 15px; }
summary { padding: 20px; cursor: pointer; color: white; font-weight: 600; display: flex; justify-content: space-between; }
.faq-content { padding: 20px; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); }

/* --- 8. HAKKIMIZDA & İLETİŞİM --- */
.story-wrap { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto 100px; padding: 0 5%; }
.story-text {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 60px; /* Biraz daha geniş padding */
    border-radius: 24px;
}
.story-visual { flex: 1; position: relative; height: 500px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.story-img { width: 100%; height: 100%; object-fit: cover; }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 100px; padding: 0 5%; }
.stat-box { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 30px; border-radius: 16px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: white; display: block; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 100px; padding: 0 5%; }
.value-card { border: 1px solid var(--border); padding: 40px; border-radius: 20px; }

.contact-container { display: flex; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 50px 5% 100px; }
.map-bg { position: absolute; top: 0; right: 0; width: 50%; height: 100%; opacity: 0.4; background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg'); background-size: cover; pointer-events: none; }
convert assets/photo-32.png assets/photo-16.png assets/favicon.ico.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-bottom: 60px; }
.c-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 25px; border-radius: 16px; text-align: center; }
.input-group { position: relative; margin-bottom: 30px; }
.cyber-input { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1.1rem; }
.input-label { position: absolute; top: 15px; left: 0; color: var(--text-muted); pointer-events: none; transition: 0.3s; }
.cyber-input:focus ~ .input-label, .cyber-input:valid ~ .input-label { top: -10px; font-size: 0.8rem; color: var(--accent-primary); }

    /* İletişim Layout */
    .contact-layout-wrapper { display: flex; gap: 80px; align-items: flex-start; position: relative; flex-wrap: wrap; }
    .contact-info-side { flex: 1; min-width: 300px; }
    .contact-form-side { 
        flex: 1; min-width: 300px; 
        background: rgba(10, 10, 18, 0.8); 
        backdrop-filter: blur(20px); 
        padding: 40px; 
        border-radius: 24px; 
        border: 1px solid var(--border); 
        box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    }

/* Mobil Menü Butonu (Hamburger) */
.nav-toggle {
    display: none; /* Desktopta gizli */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

/* Mobil Menü Overlay (Tam Ekran) */
.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(3, 3, 8, 0.98); /* Neredeyse opak */
    backdrop-filter: blur(20px);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
}
.mobile-nav-overlay.active { transform: translateX(0); }

.mobile-link {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.mobile-nav-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; /* Animasyon sırası */
}

/* --- 7b. BENTO SECTION (MAGIC GRID) --- */
.bento-section { padding: 100px 5%; max-width: 1300px; margin: 0 auto; }
.section-title { font-size: 3rem; margin-bottom: 50px; text-align: center; color: white; font-family: 'Space Grotesk', sans-serif;}

.magic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.magic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: flex; flex-direction: column; justify-content: center;
}
.magic-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.magic-card.span-2 { grid-column: span 2; }
.mc-icon { font-size: 2.5rem; margin-bottom: 20px; }

/* Magic Gradient Border Effect */
.magic-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.15), transparent 40%);
    opacity: 0; transition: 0.5s; z-index: 1; pointer-events: none;
}
.magic-grid:hover .magic-card::before { opacity: 1; }
.magic-card h3, .magic-card p, .magic-card .mc-icon { position: relative; z-index: 2; }


/* --- 8b. FOOTER --- */
footer { padding: 50px 5%; text-align: center; border-top: 1px solid var(--border); margin-top: 100px; background: rgba(0,0,0,0.2); }
.footer-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem; 
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}
.footer-cta:hover { letter-spacing: 5px; opacity: 0.8; }
.footer-copy { color: var(--text-muted); font-size: 0.9rem; }


/* Tablet ve Mobil Ekranlar (1024px altı) */
@media (max-width: 1024px) {
    /* Genel */
    body { overflow-x: hidden; }
    
    /* Navigasyon */
    nav { padding: 10px 5%; height: 70px; }
    .nav-links, nav .btn-shiny { display: none !important; } /* Desktop menü elemanlarını gizle */
    .hamburger { display: flex; } /* Hamburgeri göster - FLEX olarak */

    /* Typography - Daha da küçültüldü */
    .hero h1, .page-header h1 { font-size: 2.5rem; line-height: 1.1; }
    .hero-p, .page-header p { font-size: 1rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    /* Layout Reset (Tek Sütun) */
    .hero { flex-direction: column; text-align: center; padding-top: 100px; padding-bottom: 50px; height: auto; min-height: auto; }
    .hero-content { max-width: 100%; margin-bottom: 40px; }
    
    .projects-grid, 
    .pricing-grid, 
    .values-grid, 
    .stats-container, 
    .contact-cards,
    .contact-container,
    .story-wrap { 
        display: flex; 
        flex-direction: column; 
        gap: 20px; 
    }

    .story-text { padding: 30px; } /* Mobilde paddingi azalt */
    .story-visual { height: 300px; width: 100%;} /* Mobilde görsel boyutunu sabitle */

    /* Hizmetler ve Ana Sayfa Bento Grid - Mobilde 2 Kolon */
    .features-wrapper,
    .magic-grid {
        display: grid; 
        grid-template-columns: repeat(2, 1fr); /* İki sütun yap */
        gap: 15px; 
    }
    
    /* Sticky Section - Mobil için Yan Yana Görünüm (Müşteri İsteği) */
    .sticky-section { 
        display: flex; 
        flex-direction: row; /* Yan yana tut */
        gap: 10px; 
        padding: 50px 3%; /* Boşlukları azalt */
    }
    .sticky-text { 
        flex: 1; 
        padding-bottom: 50px; 
    }
    .sticky-visual { 
        flex: 1; 
        position: sticky; 
        top: 100px; 
        height: 300px; /* Mobilde yüksekliği düşür */
        align-self: flex-start;
    }
    .s-step h3 { font-size: 1.2rem; margin-bottom: 10px; } /* Başlıkları küçült */
    .s-step p { font-size: 0.8rem; line-height: 1.4; } /* Yazıları küçült */
    .s-step { min-height: 40vh; padding-left: 15px; } /* Adım yüksekliğini ve paddingi düşür */
    .visual-card { border-radius: 12px; }

    /* İletişim sayfasında formu mobilde yukarı al */
    .contact-layout-wrapper {
        flex-direction: column-reverse; /* Form (2. eleman) yukarı gelir */
        gap: 40px;
        align-items: stretch; /* Mobilde tam genişlik */
    }
    .contact-form-side, .contact-info-side {
        width: 100%;
        min-width: 0; /* Küçük ekranlarda taşmayı önle */
    }
    .contact-form-side { padding: 25px; } /* Paddingi biraz azalt */

    /* Görseller ve Kartlar - Küçültülmüş */
    .hero-visual { position: relative; width: 100%; height: 300px; transform: none; right: auto; top: auto; margin: 0; }
    .glass-card { transform: none; box-shadow: none; border: 1px solid rgba(255,255,255,0.1); }
    .project-card { height: 300px; }
    .map-bg { display: none; } /* Haritayı mobilde gizle, karışıklığı önle */
    
    /* Hizmetler Process */
    .process-wrap { padding-left: 20px; padding-right: 20px; }
    .process-line { left: 10px; }
    .ps-dot { left: -6px; width: 12px; height: 12px; top: 10px; } /* Çizgi üstüne oturt */
    .ps-card { margin-left: 20px; padding: 20px; }

    /* Kartların Mobilde Küçültülmesi (Space optimization) */
    .feat-card, .magic-card, .price-card, .c-card, .value-card, .stat-box { 
        padding: 20px !important; 
    }
    .feat-icon, .mc-icon {
        width: 50px; height: 50px; font-size: 1.4rem; margin-bottom: 15px;
    }
    /* Magic card styling if missing */
    .magic-card {
        background: rgba(255,255,255,0.02);
        border: 1px solid var(--border);
        border-radius: 20px;
    }

    /* İletişim Form */
    .contact-container > div { width: 100%; padding: 20px !important; }

    /* İletişim Form */
    .contact-container > div { width: 100%; padding: 20px !important; }
    
    /* Modal */
    .modal-content { width: 95%; max-height: 85vh; margin: 20px auto; }
}

@media (max-width: 480px) {
    .hero h1, .page-header h1 { font-size: 1.8rem; }
    .hero-p, .page-header p { font-size: 0.95rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .project-card { height: 250px; }
    .stat-number { font-size: 2rem; }
    .footer-cta { font-size: 1.5rem; }
    
    /* Ensure cards are not too wide/big padding on very small screens */
    .feat-card, .magic-card, .price-card, .c-card, .value-card, .stat-box { 
        padding: 15px !important; 
    }

    /* Çok küçük ekranlarda hizmetleri tek sütuna düşür veya sıkıştır */
    .features-wrapper, .magic-grid {
        gap: 10px;
        /* İsterseniz burada tekrar 1 sütuna düşürebilirsiniz, 
           fakat "daha düzgün" dendiği için 2 sütun sıkışık da olsa daha düzenli durabilir.
           Şimdilik 2 sütunda bırakıyoruz ama grid yapısını koruyoruz. */
    }
}
/* --- MARKET / YAZILIM ÜRÜNLERİ SAYFASI --- */

.market-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    max-width: 1400px; margin: 0 auto 100px; padding: 0 5%;
}

.market-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative;
    display: flex; flex-direction: column;
}

.market-card:hover {
    transform: translateY(-10px); border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

.m-img-box {
    height: 220px; width: 100%; position: relative; overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.m-img {
    width: 100%; height: 100%; object-fit: cover; transition: 0.5s;
}
.market-card:hover .m-img { transform: scale(1.1); }

/* Fiyat Etiketi */
.m-price-tag {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    border: 1px solid var(--accent-primary); color: white;
    padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.m-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }

.m-title { font-size: 1.5rem; color: white; margin-bottom: 10px; font-weight: 700; }
.m-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; flex: 1; }

/* Özellik Listesi */
.m-features { list-style: none; margin-bottom: 25px; border-top: 1px solid var(--border); padding-top: 20px; }
.m-features li {
    color: var(--text-main); font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.m-features li i { color: var(--accent-pink); font-size: 0.8rem; }

/* Tech Stack (Küçük) */
.m-tech { display: flex; gap: 8px; margin-bottom: 25px; flex-wrap: wrap; }
.mt-badge {
    font-size: 0.75rem; background: rgba(255,255,255,0.05); color: #a5b4fc;
    padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border);
}

.m-actions { display: flex; gap: 15px; margin-top: auto; }

.btn-demo {
    flex: 1; padding: 12px; border: 1px solid var(--border); background: transparent; color: white;
    border-radius: 12px; cursor: pointer; font-weight: 600; transition: 0.3s; text-align: center; text-decoration: none;
}
.btn-demo:hover { background: rgba(255,255,255,0.05); }

.btn-buy {
    flex: 1; padding: 12px; background: var(--accent-primary); color: white; border: none;
    border-radius: 12px; cursor: pointer; font-weight: 600; transition: 0.3s; text-align: center; text-decoration: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-buy:hover { background: #4f46e5; transform: scale(1.05); }

/* Mobil Uyum */
@media (max-width: 1024px) {
    .market-grid { grid-template-columns: 1fr; }
}
/* --- MARKET SAYFASI GELİŞMİŞ DETAYLAR --- */

/* 1. Market Hero & Search */
.market-header-wrap {
    text-align: center; margin-bottom: 60px;
}
.search-box {
    position: relative; max-width: 600px; margin: 30px auto 0;
}
.search-input {
    width: 100%; padding: 18px 25px; border-radius: 50px; border: 1px solid var(--border);
    background: rgba(255,255,255,0.05); color: white; font-family: 'Outfit'; font-size: 1.1rem;
    padding-right: 60px; transition: 0.3s;
}
.search-input:focus { outline: none; border-color: var(--accent-primary); background: rgba(255,255,255,0.1); }
.search-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 45px; height: 45px; border-radius: 50%; background: var(--accent-primary);
    border: none; color: white; cursor: pointer; display: grid; place-items: center;
}

/* 2. Categories (Filtreler) */
.market-filters {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap;
}
.m-filter-btn {
    padding: 10px 20px; border-radius: 30px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-weight: 500; cursor: pointer; transition: 0.3s;
    font-size: 0.95rem; display: flex; align-items: center; gap: 8px;
}
.m-filter-btn:hover, .m-filter-btn.active {
    background: rgba(99, 102, 241, 0.15); border-color: var(--accent-primary); color: white;
}
.m-filter-btn i { color: var(--accent-glow); }

/* 3. Product Meta Data (Kart İçi Detaylar) */
.m-meta-row {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
    font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px;
}
.m-rating { color: #fbbf24; display: flex; align-items: center; gap: 4px; }
.m-version { background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }

/* 4. "Why Buy?" Benefits Section */
.market-benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1400px; margin: 0 auto 100px; padding: 0 5%;
}
.benefit-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border: 1px solid var(--border); padding: 25px; border-radius: 16px; text-align: center;
}
.benefit-icon {
    font-size: 2rem; color: var(--accent-primary); margin-bottom: 15px;
}
.benefit-card h4 { color: white; margin-bottom: 5px; font-size: 1.1rem; }
.benefit-card p { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) {
    .market-benefits { grid-template-columns: 1fr 1fr; }
}