:root {
    --white: #ffffff;
    --off-white: #f8f8fa;
    --black: #0d0d0d;
    --accent: #ff2d2d;
    --gray: #888888;
    --border: rgba(0, 0, 0, 0.05);
    --font-main: 'Outfit', sans-serif;
    --radius-lg: 40px;
    --radius-md: 20px;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}


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

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

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative; /* Absolute çocuklar için */
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    flex-shrink: 0;
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: -2px;
}

/* Hamburger - her zaman DOM'da, desktop'ta gizli */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1210;
    padding: 10px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 32px;
    height: 2.5px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Desktop: nav-links göster, toggle gizle */
@media (min-width: 1061px) {
    .nav-toggle {
        display: none;
    }
    .nav-links {
        display: flex !important;
        position: static !important;
        visibility: visible !important;
        pointer-events: all !important;
        transform: none !important;
        background: none !important;
        height: auto !important;
        flex-direction: row !important;
    }
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links-inner {
    display: flex;
    align-items: center;
    gap: 25px;
}

.mobile-nav-info {
    display: none;
}

/* Mobile Nav State (Consolidated at the end of file for stability) */

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.btn-cta,
.btn-cta {
    background: var(--black);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s var(--ease);
}

.nav-links a.btn-cta:hover,
.btn-cta:hover {
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* HERO STATIC */
.hero-static {
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(255, 45, 45, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 45, 45, 0.02) 0%, transparent 40%);
}

/* CUSTOM CURSOR */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s, border 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    opacity: 0.5;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 45, 45, 0.1);
    border-color: transparent;
}



/* NEURAL BACKGROUND LAYER */
.neural-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 45, 45, 0.05) 0%, transparent 40%),
        var(--white);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--black);
    margin-bottom: 30px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-content h1 {
    font-size: clamp(50px, 6vw, 100px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -4px;
    margin-bottom: 30px;
    color: var(--black);
}

.hero-content h1 span {
    color: var(--accent);
    font-style: italic;
    position: relative;
}

.hero-content p {
    font-size: 20px;
    color: var(--gray);
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: 45px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-hero {
    padding: 20px 45px;
    font-size: 17px;
}

.btn-outline {
    padding: 20px 45px;
    border: 2px solid var(--border);
    border-radius: 100px;
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--black);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Dışa taşan auraları engeller */
}

.visual-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.15) 0%, transparent 70%);
    z-index: 1;
    filter: blur(60px);
    animation: pulse-glow 4s infinite ease-in-out;
}

.logo-aura {
    position: absolute;
    width: 120%;
    height: 120%;
    z-index: 1;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.25) 0%, transparent 70%);
    mix-blend-mode: screen;
    animation: aura-pulse 5s infinite ease-in-out;
    filter: blur(40px);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes aura-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.1); }
}

.hero-img-animated {
    width: 100%;
    height: auto;
    max-width: 550px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: premium-3d-float 6s infinite ease-in-out;
}

/* 3D Wrapper & Reflection */
.logo-3d-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.logo-3d-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    z-index: 3;
    animation: shine-sweep 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

@keyframes premium-3d-float {
    0%, 100% { 
        transform: translateY(0) rotateX(8deg) rotateY(-8deg) scale(1); 
        filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3)) drop-shadow(0 20px 50px rgba(255,45,45,0.1));
    }
    50% { 
        transform: translateY(-30px) rotateX(-8deg) rotateY(12deg) scale(1.04); 
        filter: drop-shadow(0 40px 70px rgba(0,0,0,0.2)) drop-shadow(0 50px 80px rgba(255,45,45,0.2));
    }
}


/* ABOUT MODERN - REDESIGNED */
.about-modern {
    padding: 80px 0 120px; /* Rozetin taşmasını engellemek için alt boşluk artırıldı */
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(200px, 25vw, 400px);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    -webkit-text-stroke: 1px rgba(0,0,0,0.05);
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Asymmetrical */
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-visual {
    position: relative;
    padding: 40px;
}

/* Floating Glass Spheres */
.glass-sphere {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: sphere-float 8s infinite ease-in-out;
}

.sphere-1 { width: 120px; height: 120px; top: -20px; right: -20px; animation-delay: 0s; }
.sphere-2 { width: 80px; height: 80px; bottom: 40px; left: -30px; animation-delay: 2s; }
.sphere-3 { width: 60px; height: 60px; top: 40%; left: -60px; animation-delay: 4s; }

@keyframes sphere-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -25px) scale(1.05); }
}

.visual-card {
    background: var(--white);
    border-radius: 60px;
    padding: 25px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    z-index: 2;
    pointer-events: none;
}

.visual-card img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    transition: transform 1.2s var(--ease);
}

.about-visual:hover .visual-card img {
    transform: scale(1.08) rotate(-1deg);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 10%;
    background: var(--black);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    transform: translateY(30%);
    transition: transform 0.4s var(--ease);
}

.about-visual:hover .experience-badge {
    transform: translateY(20%) scale(1.05);
}

.exp-num {
    font-size: 42px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.exp-text {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    opacity: 0.8;
}

.about-text {
    padding-left: 40px;
}

.about-text h2 {
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 35px;
    letter-spacing: -4px;
}

.about-text h2 span {
    color: var(--accent);
}

.text-content p {
    font-size: 19px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
}

.feat-item i {
    color: var(--accent);
    font-size: 18px;
}

/* SERVICES GRID (ENRICHED) */
.services-header {
    text-align: center;
    margin-bottom: 100px;
}

.services-header h2 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -3px;
}




/* TICKER STRIP - ULTRA READABLE & PREMIUM */
.ticker-strip {
    padding: 40px 0;
    background: var(--black);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker-premium 45s linear infinite;
    gap: 60px;
    align-items: center;
}

.ticker-inner span {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.ticker-inner span i {
    color: var(--accent);
    font-size: 14px;
    filter: drop-shadow(0 0 10px var(--accent));
}

.ticker-inner span:hover {
    opacity: 1;
}

@keyframes ticker-premium {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.q-visual {
    height: 220px; /* Görsel alanı genişletildi */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.q-clay-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q-clay-container img {
    width: 100%; /* Kart genişliğini doldur */
    height: 100%;
    object-fit: contain;
    /* filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); Kutu şeklinde gölge yaptığı için kaldırıldı */
    animation: q-float 6s infinite ease-in-out;
}

.q-3d-asset-social, .q-3d-asset-web, .q-3d-asset-media, .q-3d-asset-video, .q-3d-asset-mobile, .q-3d-asset-branding {
    max-width: 280px !important;
    max-height: 220px !important;
    mix-blend-mode: darken !important; /* Arka plandaki beyazlıkları yok eder */
    filter: brightness(1.06) contrast(1.06); /* Yapay zeka görsellerindeki hafif gri/kirli beyaz arka planı saf beyaza (#FFF) zorlar ve şeffaflığı kusursuzlaştırır */
    object-fit: contain;
}

@keyframes q-float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

/* BRAND TICKER - PREMIUM PNG SLOTS */
.brand-ticker {
    padding: 70px 0;
    background: #0f172a; /* Premium Koyu Arduvaz (Orta Yol) */
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.brand-ticker-inner {
    display: flex;
    gap: 45px;
    animation: brand-scroll-premium 55s linear infinite;
    width: max-content;
    align-items: center;
}

/* STICKER BORDER & CONTRAST SİSTEMİ (Okunaklılık odaklı) */
.brand-card {
    background: #111111;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.12); /* Belirgin kart kenarlığı */
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* BEYAZ LOGOLARDA ARKAPLAN IŞIĞI OLMASIN */
.brand-card:has(img[src*="bonavias"])::before,
.brand-card:has(img[src*="dursunlar"])::before,
.brand-card:has(img[src*="kmlinsaat"])::before,
.brand-card:has(img[src*="kulturas"])::before,
.brand-card:has(img[src*="fatihgolcuk"])::before,
.brand-card:has(img[src*="beltas"])::before {
    display: none;
}

/* Kare Logolar */
.brand-card.brand-sq {
    width: 150px;
    height: 150px;
}

/* Dikdörtgen Logolar */
.brand-card.brand-rect {
    width: 280px;
    height: 140px;
    padding: 20px 40px;
}

.brand-card img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    /* Varsayılan: Keskin sticker konturu (Renkli logolar için) */
    filter: 
        drop-shadow(1px 1px 0 rgba(255,255,255,0.8)) 
        drop-shadow(-1px -1px 0 rgba(255,255,255,0.8))
        drop-shadow(1px -1px 0 rgba(255,255,255,0.8))
        drop-shadow(-1px 1px 0 rgba(255,255,255,0.8));
}

/* BEYAZ LOGOLARDA BORDER (KONTUR) OLMASIN */
.brand-card:has(img[src*="bonavias"]) img,
.brand-card:has(img[src*="dursunlar"]) img,
.brand-card:has(img[src*="kmlinsaat"]) img,
.brand-card:has(img[src*="kulturas"]) img,
.brand-card:has(img[src*="fatihgolcuk"]) img,
.brand-card:has(img[src*="beltas"]) img {
    filter: none;
}

/* Premium Shine Katmanı */
.brand-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.08) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.brand-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.3);
    background: #181818;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Hover'da Shine Hareketi */
.brand-card:hover::after {
    left: 150%;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes brand-scroll-premium {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* CONTACT CTA */
.contact-cta {
    text-align: center;
    padding: 180px 0;
}

.contact-cta h2 {
    font-size: clamp(40px, 7vw, 110px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 50px;
}

.btn-large {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 25px 70px;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s var(--ease);
}

.btn-large:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(255, 45, 45, 0.2);
}



/* FOOTER */
footer {
    padding: 100px 0 60px;
    background: #000;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 60px;
}

.f-col h4 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
}

.f-col ul {
    list-style: none;
}

.f-col li {
    margin-bottom: 12px;
}

.f-col a {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    transition: color 0.3s;
}

.f-col a:hover {
    color: var(--accent);
}

footer .logo {
    color: #fff;
}

footer p {
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.6;
    margin-top: 20px;
}

footer p strong {
    color: #fff !important;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.f-col h4 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff !important;
}

.f-col i {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
    margin-top: 20px;
    display: inline-block;
}

.f-col a:hover i {
    color: var(--accent);
}

/* RESPONSIVE OPTIMIZATIONS */




/* QUANTUM GLOBAL ENHANCEMENTS */


/* NEURAL WIDGET */
.neural-widget { position: fixed; bottom: 40px; right: 40px; z-index: 9999; width: 70px; height: 70px; background: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; cursor: pointer; box-shadow: 0 15px 35px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); transition: all 0.4s var(--ease), opacity 0.3s; }
.neural-widget.hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.neural-widget:hover { transform: scale(1.1) rotate(15deg); border-color: var(--accent); box-shadow: 0 20px 50px rgba(255,45,45,0.3); }
.neural-widget i { font-size: 24px; animation: widget-pulse 2s infinite; }
@keyframes widget-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* QUANTUM GRID & CARDS */
.quantum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.q-card { position: relative; background: #ffffff; border-radius: 40px; padding: 50px 40px; transition: all 0.6s var(--ease); overflow: hidden; display: flex; flex-direction: column; text-align: center; border: 1.5px solid rgba(0, 0, 0, 0.18); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.12); cursor: pointer; }
.q-card-border { position: absolute; inset: 0; border-radius: 40px; padding: 1.5px; background: linear-gradient(135deg, rgba(255,45,45,0.3) 0%, transparent 50%, rgba(255,45,45,0.05) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.25; transition: opacity 0.4s; }
.q-card:hover .q-card-border { opacity: 1; background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent) 100%); }
.q-glow { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,45,45,0.08) 0%, transparent 70%); top: var(--y, 0); left: var(--x, 0); transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.q-card:hover .q-glow { opacity: 1; }
.q-visual { 
    margin-bottom: 50px; 
    height: 220px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    perspective: 2500px;
}

.q-ultra-realistic-3d {
    width: 260px;
    height: 180px;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.q-card:hover .q-ultra-realistic-3d {
    transform: rotateX(5deg) rotateY(15deg) scale(1.05);
}

/* --- DIRECT 3D MODEL ENTEGRATION STYLES --- */
.q-3d-model-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --background-color: transparent;
    outline: none;
}

#social-3d-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#social-3d-canvas:active {
    cursor: grabbing;
}

/* Depth shadow placeholder for 3D objects */
.q-3d-model-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 70%);
    filter: blur(5px);
    z-index: -1;
}

/* 3. MASTERPIECE CINE LENS (Media) */
.q-hyper-cine-lens { animation: clay-float 7s ease-in-out infinite; transform-origin: center; }

/* 3. MASTERPIECE CINE LENS (Media) */
.q-hyper-cine-lens { animation: lens-focus-v2 12s ease-in-out infinite; transform-origin: center; }
@keyframes lens-focus-v2 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.05) rotate(1deg); }
    66% { transform: scale(0.98) rotate(-1deg); }
}

/* 4. MASTERPIECE CLAPPER (Video - ORIGINAL RESTORED) */
.q-clapper-top-master { 
    transform-origin: 42px 70px; 
    animation: clapper-action-master 5s ease-in-out infinite;
}

@keyframes clapper-action-master {
    0%, 85%, 100% { transform: rotate(0); }
    40% { transform: rotate(-35deg); }
    45% { transform: rotate(0); } 
}

.q-clapper-master { animation: clapper-float-master 6s ease-in-out infinite; }
@keyframes clapper-float-master {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 5. MASTERPIECE SMARTPHONE (Mobile) */
.q-hyper-smartphone { transform-style: preserve-3d; animation: phone-float-v2 8s ease-in-out infinite; }
@keyframes phone-float-v2 {
    0%, 100% { transform: rotateY(-10deg) translateY(0); }
    50% { transform: rotateY(15deg) translateY(-12px); }
}

/* 6. MASTERPIECE RUBY (Branding) */
.q-hyper-ruby { animation: ruby-shine-v2 6s ease-in-out infinite; transform-origin: center; }
@keyframes ruby-shine-v2 {
    0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
    50% { transform: scale(1.05) rotate(3deg); filter: brightness(1.3); }
}

/* Common UI Elements Floating */
.q-ui-float1 { animation: hyper-ui-float-v2 5s ease-in-out infinite; }
@keyframes hyper-ui-float-v2 {
    0%, 100% { transform: translateZ(10px) translateY(0); }
    50% { transform: translateZ(50px) translateY(-15px); }
}

@keyframes hyper-float-v2 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes phone-hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes phone-widget-1 {
    0%, 100% { transform: translateZ(15px) translateY(0); }
    50% { transform: translateZ(40px) translateY(-5px); }
}

@keyframes phone-widget-2 {
    0%, 100% { transform: translateZ(20px) translateY(0); }
    50% { transform: translateZ(35px) translateY(-8px); }
}


/* 6. RUBY JEWEL (BRANDING) */
.q-ruby-jewel { transform-origin: 100px 100px; animation: ruby-spin 20s linear infinite; transform-style: preserve-3d; }
.q-pulse-aura { animation: aura-pulse 4s ease-in-out infinite; }
.q-twinkle { animation: twinkle-star 3s ease-in-out infinite; transform-origin: center; }
.q-twinkle-delay { animation: twinkle-star 4s ease-in-out infinite 1.5s; transform-origin: center; }

@keyframes ruby-spin {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateY(360deg) rotateZ(10deg); }
}

@keyframes aura-pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.3); opacity: 0.35; }
}

@keyframes twinkle-star {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(45deg); opacity: 1; }
    100% { transform: scale(0) rotate(90deg); opacity: 0; }
}

/* Global Polish */
.q-ultra-3d svg { overflow: visible; }

.q-tag { font-size: 10px; font-weight: 900; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 15px; display: block; opacity: 0.8; }
.q-content h3 { font-size: 28px; font-weight: 900; letter-spacing: -1px; margin-bottom: 15px; color: #000; }
.q-content p { font-size: 15px; line-height: 1.6; color: #222; margin-bottom: 30px; font-weight: 500; }
.q-features { display: flex; justify-content: center; gap: 15px; margin-bottom: 35px; opacity: 0.6; transition: opacity 0.4s; }
.q-card:hover .q-features { opacity: 1; }
.q-features span { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.q-features i { color: var(--accent); font-size: 10px; }
.q-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 25px; background: rgba(0,0,0,0.03); border-radius: 100px; font-weight: 800; font-size: 14px; transition: all 0.4s; border: 1px solid transparent; }
.q-card:hover .q-cta { background: var(--black); color: var(--white); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.q-card:hover { transform: translateY(-15px); background: rgba(255, 255, 255, 0.8); box-shadow: 0 40px 100px rgba(0,0,0,0.08); }




/* PORTFOLIO & TECH MATRIX */

.tech-matrix { 
    padding: 160px 0; 
    background: #080808; 
    color: var(--white); 
    overflow: hidden; 
    position: relative; 
}

.matrix-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    margin-top: 80px; 
    z-index: 2; 
    position: relative; 
}

.vision-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px;
    transition: all 0.6s var(--ease);
    position: relative;
    overflow: hidden;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 45, 45, 0.2);
    transform: translateY(-10px);
}

.vision-card i {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 30px;
    display: block;
}

.vision-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.vision-card p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.vision-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: 0.6s;
}

.vision-card:hover::after {
    transform: scale(2);
    background: radial-gradient(circle, rgba(255, 45, 45, 0.2) 0%, transparent 70%);
}



/* ELITE STATS */
.elite-stats { padding: 100px 0; background: #fdfdfd; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; padding: 40px; }
.stat-num { font-size: 72px; font-weight: 900; line-height: 1; margin-bottom: 10px; background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0.5) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-text { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); }



/* CLIENT VOICE (TESTIMONIALS) */
.client-voice { padding: 120px 0; background: #f8f8fa; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.voice-card { background: var(--white); padding: 50px 40px; border-radius: 50px; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.03); transition: all 0.5s var(--ease); position: relative; }
.voice-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px rgba(0,0,0,0.08); border-color: var(--accent); }
.v-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.v-avatar { width: 60px; height: 60px; border-radius: 50%; background: #eee; overflow: hidden; }
.v-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v-info h5 { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.v-info span { font-size: 12px; color: var(--gray); font-weight: 600; }
.v-quote { font-size: 16px; line-height: 1.7; color: #444; font-style: italic; }

/* TRUSTED PARTNERS */
.trusted-partners { padding: 80px 0; background: #0a0a0a; border-radius: 0 0 80px 80px; }

.partner-logo { font-size: 24px; font-weight: 900; color: white; opacity: 0.4; }




@media (min-width: 1061px) {
    .mobile-nav-info { display: none !important; }
    .nav-links { display: flex !important; }
    .nav-toggle { display: none !important; }
    .nav-links-inner a {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: all !important;
    }
}


@media (max-width: 1100px) {
    .quantum-grid { grid-template-columns: 1fr 1fr; }
    .q-flow-container { grid-template-columns: 1fr 1fr !important; gap: 60px 20px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-step::after { display: none; }
}

@media (max-width: 1060px) {
    .container { 
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important; 
    }

    .cursor-dot, .cursor-outline { display: none; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; max-width: 500px; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .about-text { padding-left: 0; }
    .about-text h2 { font-size: 32px !important; line-height: 1.2 !important; }
    .about-modern { padding: 60px 0 40px !important; }
    .about-bg-text { font-size: 100px; opacity: 0.02; }
    .glass-sphere { display: none; }
    .about-visual { padding: 10px 10px 60px; } /* Alt boşluk rozet için artırıldı, yanlar daraltıldı */
    .visual-card { border-radius: 40px; padding: 15px; }
    .experience-badge { 
        right: 50%; 
        transform: translate(50%, 40%); 
        width: 180px !important; 
        height: 70px !important;
        padding: 10px 20px !important;
    }
    .exp-num { font-size: 36px !important; }
    .exp-text { font-size: 12px !important; }
    .text-content p { font-size: 15px !important; line-height: 1.6 !important; margin-bottom: 10px !important; }
    .about-features { justify-content: center; gap: 20px; margin-top: 0 !important; display: flex; width: 100%; }
    .bento-layout { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
    .bento-big, .bento-wide { grid-column: span 2; flex-direction: column !important; padding: 40px !important; }
    .bento-big h3 { font-size: 32px; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .tech-matrix { padding: 80px 0; }
    .matrix-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .vision-card { padding: 30px; }
    .vision-card h3 { font-size: 24px; }
    .elite-stats { padding: 60px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item { padding: 20px 10px; }
    .stat-num { font-size: 42px; }
    .stat-text { font-size: 11px; letter-spacing: 1px; }
    .partner-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .quantum-grid { grid-template-columns: 1fr !important; }
    .logo { font-size: 28px; }
    .logo img { height: 44px; }
    /* Specifity fix: .container class'ını ezmek için ikili class kullanıldı */
    .contact-cta.container { padding: 100px 20px 200px !important; } 
    #iletisim.contact-cta { padding-bottom: 200px !important; }

    /* Footer taşma engeli */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .f-col { margin-bottom: 20px; }

    /* Hamburger → X animasyonu */
    .nav-inner.active .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-inner.active .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-inner.active .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* Mobil NAV LINKS - tam ekran overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: #ffffff;
        z-index: 1050;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 30px 40px;
        /* Kapalı durum */
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.5s;
    }

    .nav-links.active {
        visibility: visible !important;
        pointer-events: all !important;
        transform: translateY(0) !important;
    }

    nav { z-index: 1100 !important; padding: 24px 0 !important; }
    .logo { z-index: 1210 !important; position: relative; }

    .nav-links-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center !important;
        width: 100% !important;
        align-items: center !important;
    }

    .nav-links a {
        font-size: clamp(28px, 8vw, 42px) !important;
        font-weight: 800 !important;
        color: #000 !important;
        text-decoration: none !important;
        letter-spacing: -1px !important;
        line-height: 1.2 !important;
        display: block !important;
        text-transform: uppercase !important;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.3s ease !important;
    }

    .nav-links a:hover {
        color: var(--accent) !important;
    }

    .nav-links a.btn-cta {
        padding: 20px 0 !important;
        font-size: 18px !important;
        background: #000 !important;
        color: #fff !important;
        border-radius: 100px !important;
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        margin-top: 30px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .mobile-nav-info {
        position: absolute !important;
        bottom: 30px !important;
        left: 20px !important;
        width: calc(100% - 40px) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-top: 1px solid rgba(0,0,0,0.05) !important;
        padding-top: 20px !important;
    }

    .mobile-socials {
        display: flex !important;
        gap: 20px !important;
    }

    .mobile-socials a {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #000 !important;
        text-transform: uppercase !important;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px !important; }
    .bento-layout { grid-template-columns: 1fr; }
    .bento-big, .bento-wide { grid-column: span 1; }
    .hero-content h1 { font-size: clamp(36px, 10vw, 54px); letter-spacing: -1.5px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-hero, .btn-outline { width: 100%; text-align: center; padding: 16px 30px; font-size: 16px; }
    .about-text h2 { font-size: clamp(28px, 8vw, 42px); letter-spacing: -1.5px; }
    .services-grid, .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .footer-grid > .f-col:first-child { grid-column: span 2; }

    .pricing-grid { grid-template-columns: 1fr; }
    .ticker-inner span { font-size: 20px; }
    .quantum-box { padding: 60px 20px; }
    .q-flow-container { padding-left: 30px; gap: 40px; }
    .flow-step { grid-template-columns: 1fr; gap: 10px; }
    .flow-step::before { left: -31px; }
    .f-num { font-size: 50px; }
}

/* --- REWINDED CODES FOR STABILITY --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--off-white);
    padding: 60px 40px;
    border-radius: var(--radius-md);
    transition: all 0.5s var(--ease);
    text-align: center;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--border);
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.s-icon-box {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    background: var(--white);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.6s var(--ease);
}

.service-card:hover .s-icon-box {
    transform: rotateY(180deg) scale(1.1);
}

.s-icon-box img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.service-card p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
}

/* PROCESS STEPS */
.process-section {
    background: var(--black);
    color: var(--white);
    border-radius: 60px;
    padding: 120px 0;
    margin-top: 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.step-item {
    position: relative;
}

.step-num {
    font-size: 80px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 10px;
}

.step-item h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step-item p {
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.6;
}

/* FAQ ACCORDION */
.faq-section {
    background: var(--off-white);
    border-radius: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-header {
    padding: 25px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
}

.faq-content {
    padding: 0 35px 25px;
    color: var(--gray);
    font-size: 16px;
    display: none;
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-content {
    display: block;
}

.investment-section {
    padding: 140px 0;
    background: #080808;
    color: white;
    position: relative;
    overflow: hidden;
}

.investment-section::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%;
    width: 40%; height: 40%;
    background: radial-gradient(circle, rgba(255,45,45,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
}

.price-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    padding: 70px 45px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-20px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,45,45,0.3);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.price-card.popular {
    border-color: rgba(255,45,45,0.4);
    background: linear-gradient(135deg, rgba(255,45,45,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.popular-badge {
    position: absolute;
    top: 30px; right: 30px;
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-header h3 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.price-val { font-size: 48px; font-weight: 900; margin: 25px 0; }
.price-val span { font-size: 18px; opacity: 0.5; }
.price-list { list-style: none; margin-bottom: 40px; }
.price-list li { margin-bottom: 15px; opacity: 0.7; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.price-list li i { color: var(--accent); }
.btn-price { display: block; width: 100%; padding: 20px; background: white; color: black; text-align: center; border-radius: 100px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.price-card.popular .btn-price { background: var(--accent); color: white; }

/* QUANTUM LAB (BLOG) */
.lab-section { padding: 120px 0; background: var(--white); }
.lab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 60px; }
.lab-card { height: 450px; border-radius: 40px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.6s var(--ease); }
.lab-card:hover { transform: scale(0.98); }
.lab-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 1; }
.lab-content { position: absolute; bottom: 40px; left: 40px; right: 40px; z-index: 2; color: white; }
.lab-content span { font-size: 12px; font-weight: 800; background: var(--accent); padding: 5px 12px; border-radius: 50px; margin-bottom: 15px; display: inline-block; }
.lab-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.lab-content a { color: white; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 10px; }

/* THE HIGHWAY (VERTICAL PROCESS) */
.quantum-box { 
    background: #000; 
    border-radius: 60px; 
    padding: 120px 80px; 
    color: var(--white); 
    position: relative; 
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.05); 
}

.q-box-header { 
    text-align: left; 
    margin-bottom: 80px; 
    position: relative; 
    z-index: 5; 
}

.q-box-title { 
    font-size: clamp(40px, 6vw, 84px); 
    font-weight: 900; 
    letter-spacing: -4px; 
    line-height: 0.9;
}

/* The Vertical Path */
.q-flow-container { 
    display: flex;
    flex-direction: column;
    gap: 100px;
    position: relative; 
    z-index: 5;
    padding-left: 60px;
}

/* Continuous Vertical Line */
.q-flow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.3;
}

.flow-step { 
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    transition: all 0.5s var(--ease);
}

/* Step Indicator Dot */
.flow-step::before {
    content: '';
    position: absolute;
    left: -53px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #000;
    border: 3px solid #333;
    border-radius: 50%;
    z-index: 10;
    transform: translateY(-50%);
    transition: all 0.4s;
}

.flow-step:hover::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent);
    transform: translateY(-50%) scale(1.3);
}

/* Huge Background Numbers */
.f-num { 
    font-size: 100px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    line-height: 1;
    transition: all 0.5s;
}

.flow-step:hover .f-num {
    color: rgba(255, 45, 45, 0.05);
    -webkit-text-stroke: 1px var(--accent);
    transform: translateX(10px);
}

.f-content h3 { 
    font-size: clamp(24px, 3vw, 36px); 
    font-weight: 900; 
    margin-bottom: 10px; 
    color: #fff; 
    letter-spacing: -1px;
}

.f-content p { 
    font-size: 18px; 
    line-height: 1.6; 
    color: #666; 
    max-width: 600px;
    font-weight: 500;
}

.flow-step:hover .f-content p {
    color: #ccc;
}

.q-portfolio { padding: 120px 0; background: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.p-card { position: relative; border-radius: 60px; overflow: hidden; aspect-ratio: 4/5; background: #f0f0f0; cursor: pointer; box-shadow: 0 30px 60px rgba(0,0,0,0.05); transition: transform 0.8s var(--ease); }
.p-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-card:hover img { transform: scale(1.1); }
.p-info { position: absolute; bottom: 30px; left: 30px; right: 30px; padding: 30px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 35px; transform: translateY(20px); opacity: 0; transition: all 0.6s var(--ease); }
.p-card:hover .p-info { transform: translateY(0); opacity: 1; }
.p-info h4 { font-size: 24px; font-weight: 800; margin-bottom: 5px; color: var(--black); }
.p-info span { font-size: 14px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
