@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;600&family=Space+Grotesk:wght@300;400;600&display=swap');

:root {
    --bg-color: #020203; 
    --surface-color: #0a0a0c;
    --surface-light: #15151a;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9e;
    --neon-blue: #00f0ff;
    --emerald-green: #67b897; 
    --glass-border: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .eyebrow { font-family: 'Space Grotesk', sans-serif; }

/* FENER EFEKTİ */
#spotlight {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999;
    background: radial-gradient(700px circle at var(--x, 50%) var(--y, 50%), rgba(0, 240, 255, 0.03), transparent 40%);
    mix-blend-mode: screen;
}

/* HERO */
.hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    position: relative; padding: 0 20px;
}
.brand-title {
    font-size: 5rem; font-weight: 300; letter-spacing: 15px;
    margin-bottom: 20px; text-transform: uppercase;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-subtitle { font-size: 1.2rem; color: var(--text-secondary); letter-spacing: 5px; font-weight: 300; }
.scroll-indicator {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    font-size: 0.8rem; letter-spacing: 2px; color: var(--text-secondary);
    animation: pulse 2s infinite; text-transform: uppercase;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* YENİ: HOLOGRAFİK SİBER MATRİS (Dönen resim yerine gelen yapı) */
.presentation-section { height: 400vh; position: relative; }
.sticky-container {
    position: sticky; top: 0; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    gap: 8%; padding: 0 10%; overflow: hidden;
}

.matrix-core { flex: 1; display: flex; justify-content: flex-end; perspective: 1000px; }
.glass-container {
    width: 380px; height: 500px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,240,255,0.01));
    border: 1px solid var(--glass-border);
    position: relative; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 40px rgba(0,240,255,0.03);
}
.abstract-grid {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background-image:
        linear-gradient(rgba(103,184,151,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103,184,151,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(60deg) translateY(0);
    transform-origin: center center;
    will-change: transform;
}
.core-avatar {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 160px; height: 160px; border-radius: 50%;
    animation: pulse-core 3s ease-in-out infinite alternate;
}
.core-avatar img {
    width: 100%; height: 100%; object-fit: contain; border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(0,240,255,0.6));
}
@keyframes pulse-core {
    0% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.2); }
}
.scanner-laser {
    position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--neon-blue); box-shadow: 0 0 15px 2px var(--neon-blue);
    top: 0%; z-index: 10; will-change: top;
}
.data-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%; border: 1px solid rgba(103,184,151,0.2);
}
.ring-1 { width: 240px; height: 240px; border-top-color: var(--emerald-green); animation: spin 8s linear infinite; }
.ring-2 { width: 320px; height: 320px; border-right-color: var(--neon-blue); animation: spin-reverse 12s linear infinite; }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

/* YAZILAR */
.text-container { flex: 1; position: relative; height: 200px; }
.step { position: absolute; top: 50%; transform: translateY(-30%); opacity: 0; transition: all 0.8s ease; }
.step h2 { font-size: 2.5rem; font-weight: 400; margin-bottom: 15px; }
.neon-text { color: var(--neon-blue); text-shadow: 0 0 20px rgba(0,240,255,0.3); }
.green-text { color: var(--emerald-green); text-shadow: 0 0 20px rgba(103,184,151,0.3); }
.step p { color: var(--text-secondary); font-size: 1.1rem; font-weight: 300; }
.step.active { opacity: 1; transform: translateY(-50%); }

/* ORTAK BÖLÜM STİLLERİ */
section:not(.hero):not(.presentation-section) { padding: 12vh 10vw; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.eyebrow { display: block; color: var(--emerald-green); letter-spacing: 3px; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 1rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 300; }

/* FELSEFE */
.philosophy { text-align: center; display: flex; justify-content: center; }
.philosophy-content { max-width: 800px; }
.philosophy-content h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.philosophy-content p { font-size: 1.2rem; color: var(--text-secondary); font-weight: 300; line-height: 1.8; }

/* BENTO GRID */
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.bento-card {
    background: var(--surface-color); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 3rem; position: relative; overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(103,184,151,0.5); }
.bento-content { position: relative; z-index: 1; }
.bento-content h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 400; }
.bento-content p { color: var(--text-secondary); font-weight: 300; }
.bento-card.feature-large { grid-column: span 2; background: linear-gradient(135deg, var(--surface-color), rgba(103,184,151,0.03)); }
.bento-image-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* PROJELER 3x1 GRID */
.portfolio { padding-bottom: 3vh !important; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project-card {
    background: var(--surface-color); border: 1px solid var(--glass-border);
    border-radius: 12px; padding: 3rem 2.5rem; display: flex; flex-direction: column; 
    justify-content: space-between; align-items: flex-start; transition: all 0.3s ease;
    height: 100%; min-height: 380px; position: relative; overflow: hidden; 
}
.card-silhouette {
    position: absolute; top: 50%; left: 50%; width: 150%; height: 150%;
    transform: translate(-50%, -50%); background-size: contain; background-repeat: no-repeat; background-position: center;
    opacity: 0.03; z-index: 0; pointer-events: none;
}
.project-card:hover { background: var(--surface-light); border-color: rgba(103,184,151,0.3); transform: translateY(-5px); }
.project-info { margin-bottom: 2rem; width: 100%; position: relative; z-index: 1;}
.project-info h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.project-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6;}
.project-actions { display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-top: auto; position: relative; z-index: 1;}
.btn-text { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; font-weight: 600;}
.btn-text:hover { color: var(--text-primary); }
.project-actions .btn-outline { width: 100%; text-align: center; }

/* EKOSİSTEM (RESERVE) */
.ecosystem { padding-top: 3vh !important; }
.product-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    background: var(--surface-color); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 4rem; position: relative; overflow: hidden;
}
.coming-soon::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.2) 10px, rgba(0,0,0,0.2) 20px);
    pointer-events: none; z-index: 0;
}
.product-info, .product-visual { position: relative; z-index: 1; }
.product-info h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.product-info p { color: var(--text-secondary); margin-bottom: 2.5rem; font-weight: 300; }
.coming-soon-badge {
    display: inline-block; padding: 10px 25px; border: 1px solid var(--emerald-green);
    color: var(--emerald-green); font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 4px; font-weight: 600; border-radius: 4px;
    background: rgba(103,184,151,0.05); animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.product-visual { display: flex; justify-content: center; align-items: center; }
.product-visual img { max-width: 100%; height: auto; }

/* İŞ SÜRECİ */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.step-number { font-size: 3rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2); margin-bottom: 1rem; }
.step-item h4 { font-size: 1.2rem; color: var(--emerald-green); margin-bottom: 0.5rem; }
.step-item p { color: var(--text-secondary); font-weight: 300; font-size: 0.95rem; }

/* BUTONLAR & CTA */
.btn-outline, .btn-solid {
    display: inline-block; padding: 12px 28px; border-radius: 30px;
    text-decoration: none; font-size: 0.85rem; letter-spacing: 1px;
    text-transform: uppercase; transition: all 0.3s ease; font-weight: 600; cursor: pointer;
}
.btn-outline { border: 1px solid var(--emerald-green); color: var(--emerald-green); background: transparent; }
.btn-outline:hover { background: var(--emerald-green); color: var(--bg-color); }
.btn-solid { background: var(--text-primary); color: var(--bg-color); border: none; }
.btn-solid:hover { background: var(--emerald-green); color: var(--bg-color); }

.cta { display: flex; justify-content: center; }
.cta-box {
    text-align: center; border: 1px solid var(--glass-border);
    background: radial-gradient(circle at top, rgba(103,184,151,0.05), transparent 70%);
    padding: 5rem 2rem; border-radius: 20px; width: 100%; max-width: 800px;
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-box p { color: var(--text-secondary); margin-bottom: 2.5rem; }

/* FOOTER */
.main-footer { padding: 4rem 10vw 2rem; border-top: 1px solid var(--glass-border); background: var(--surface-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.footer-brand h3 { font-size: 1.2rem; letter-spacing: 3px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.8rem; }
.footer-links a { color: var(--text-primary); text-decoration: none; margin-left: 2rem; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--emerald-green); }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 2rem; color: var(--text-secondary); font-size: 0.8rem; }

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    z-index: 99999; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    width: 90vw; height: 85vh; background: var(--bg-color);
    border: 1px solid var(--glass-border); border-radius: 12px;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 25px; background: var(--surface-color); border-bottom: 1px solid var(--glass-border);
}
.modal-title { font-size: 0.9rem; letter-spacing: 1px; color: var(--text-secondary); font-family: 'Space Grotesk', sans-serif; }
.close-modal { background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.close-modal:hover { color: #ff4444; }
.modal-body { flex: 1; width: 100%; height: 100%; background: #fff; }
.modal-body iframe { width: 100%; height: 100%; border: none; }

/* MOBİL UYUM */
@media (max-width: 992px) {
    .brand-title { font-size: 3.5rem; letter-spacing: 8px; }
    .product-wrapper { grid-template-columns: 1fr; text-align: center; }
    .product-info h2 { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    section:not(.hero):not(.presentation-section) { padding: 10vh 5vw; }
    .brand-title { font-size: 2.5rem; letter-spacing: 5px; }
    .sticky-container { position: relative; height: auto; flex-direction: column; padding: 10vh 5vw; gap: 3rem; }
    .matrix-core { width: 100%; justify-content: center; }
    .glass-container { width: 280px; height: 350px; }
    .core-avatar { width: 120px; height: 120px; }
    .text-container { width: 100%; height: auto; display: flex; flex-direction: column; gap: 2.5rem; }
    .step { position: relative; opacity: 1; transform: none !important; top: 0; }
    .bento-grid, .projects-grid, .process-steps { grid-template-columns: 1fr; }
    .bento-card.feature-large { grid-column: span 1; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-links a { margin: 0 1rem; }
    .modal-content { width: 100vw; height: 100vh; border-radius: 0; }
}