/* ==========================================================================
   ÜLKÜTECH GLOBAL CORE CSS
   ========================================================================== */

/* --- 1. CORE PALETTE --- */
:root {
    --bg-deep: #050a10; 
    --glass-panel: rgba(20, 30, 45, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00f0ff; 
    --accent-gold: #d4af37; 
    --accent-blue: #3b82f6; 
    --accent-green: #22c55e;
    --accent-purple: #a855f7;
    --accent-red: #ff3333;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

/* --- 2. ZIRHLI GÖVDE (BEYAZ EKRAN ÇÖZÜMÜ) --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    background-color: #050a10 !important;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* --- 3. BACKGROUNDS (KATMAN SIRALAMASI ÇÖZÜLDÜ) --- */
#globe-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 1; transition: filter 0.8s ease, opacity 0.8s ease; }
.tactical-grid { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px); background-size: 60px 60px; z-index: 2; pointer-events: none; }
.vignette { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 30%, #000000 100%); z-index: 3; pointer-events: none; }

/* --- HEADER --- */
header { position: fixed; top: 0; width: 100%; padding: 15px 0; background: rgba(5, 10, 16, 0.8); backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); z-index: 100; transition: transform 0.5s; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 20px; width: 100%; }
.brand-logo img { height: 35px; width: auto; opacity: 0.9; cursor: pointer; transition: 0.3s; }
.brand-logo img:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(0,240,255,0.5)); }

.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Rajdhani', sans-serif; position: relative; cursor: pointer; transition: 0.3s;}
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--accent-cyan); transition: 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-icon { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 200; }
.bar { width: 25px; height: 2px; background-color: var(--accent-gold); transition: 0.3s; }

.mobile-nav-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(5, 10, 16, 0.98); backdrop-filter: blur(20px); z-index: 150; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); border-left: 1px solid var(--glass-border); }
.mobile-nav-overlay.active { right: 0; }
.mobile-nav-overlay a { font-family: 'Oswald', sans-serif; font-size: 2rem; color: #fff; text-transform: uppercase; letter-spacing: 2px; opacity: 0; transform: translateY(20px); transition: 0.4s; cursor: pointer; }
.mobile-nav-overlay.active a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.mobile-nav-overlay.active a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.mobile-nav-overlay.active a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.mobile-nav-overlay.active a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.mobile-nav-overlay.active a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.mobile-nav-overlay.active a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.mobile-nav-overlay.active a:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; } /* Added for TRUSTED BY link */
.mobile-nav-overlay.active a:nth-child(8)  { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.mobile-nav-overlay.active a:nth-child(9)  { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.mobile-nav-overlay.active a:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 1.0s; }

.mobile-menu-icon.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-icon.open .bar:nth-child(2) { opacity: 0; }
.mobile-menu-icon.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- PAGE OVERLAY --- */
body.page-open #globe-canvas, body.page-open .hero, body.page-open footer { filter: blur(15px); opacity: 0.1; }
body.page-open header { transform: translateY(-100%); }

.page-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(2, 4, 8, 0.4); z-index: 250; overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.8s ease; padding: 100px 20px; }
.page-overlay.open { opacity: 1; pointer-events: all; }

#quantum-core-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.70; background: radial-gradient(circle at center, #060a14 0%, #010204 100%); }

.tech-panel { position: relative; width: 100%; max-width: 900px; background: linear-gradient(145deg, rgba(10, 15, 25, 0.4) 0%, rgba(3, 5, 10, 0.7) 100%); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.08); border-top: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9); padding: 60px 70px; z-index: 10; border-radius: 6px; transform: translateY(40px); transition: 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.page-overlay.open .tech-panel { transform: translateY(0); }

.page-close-btn { position: absolute; top: 20px; right: 20px; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: #fff; cursor: pointer; padding: 8px 25px; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s; letter-spacing: 2px; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); z-index: 300; border-radius: 30px; text-transform: uppercase; }
.page-close-btn:hover { background: #fff; color: #000; box-shadow: 0 0 20px rgba(255,255,255,0.6); }

.page-header { position: relative; z-index: 1; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 25px; margin-bottom: 35px; }
.sys-label { font-family: monospace; font-size: 0.75rem; color: var(--accent-gold); letter-spacing: 3px; display: block; margin-bottom: 10px; text-transform: uppercase; }
.page-title { font-family: 'Oswald', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; text-transform: uppercase; letter-spacing: 3px; line-height: 1.1; }

.page-content { position: relative; z-index: 1; font-size: 1.1rem; color: #a8b2c1; line-height: 1.8; font-weight: 300; font-family: 'Inter', sans-serif; }
.page-content h3 { font-family: 'Rajdhani', sans-serif; color: #fff; font-size: 1.6rem; margin: 40px 0 15px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;}
.page-content p { margin-bottom: 20px; }
.page-content ul { padding-left: 20px; margin-bottom: 20px; }
.page-content li { margin-bottom: 10px; }
.page-content strong { color: #fff; font-weight: 500; }
.highlight-text { color: var(--accent-cyan); font-family: monospace; font-size: 0.9rem; }

.founder-box { display: flex; align-items: center; gap: 30px; background: rgba(255,255,255,0.02); padding: 30px; border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; margin-bottom: 40px; }
.founder-img-wrapper { flex-shrink: 0; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.founder-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%) contrast(1.05); }
.founder-info h4 { font-family: 'Oswald', sans-serif; font-size: 1.6rem; color: #fff; margin-bottom: 5px; letter-spacing: 1px; }
.founder-info .f-title { font-family: 'Rajdhani', sans-serif; color: var(--accent-gold); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 15px; font-weight: 600;}
.founder-info p { font-size: 0.95rem; margin: 0; line-height: 1.6; color: #a8b2c1; }

/* --- CLIENT CARD STYLES --- */
.client-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
}
.client-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.client-logo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #fff; 
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.client-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.client-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.client-info p {
    font-size: 0.95rem;
    color: #a8b2c1;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- HERO SECTION --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px; flex-wrap: wrap; z-index: 10; } 
.hero-content { max-width: 700px; z-index: 10; position: relative; width: 100%; }

.status-indicator { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.05); margin-bottom: 30px; }
.blink-dot { width: 6px; height: 6px; border-radius: 50%; animation: pulse 2s infinite; background-color: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }
.tagline { color: var(--text-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; font-family: 'Rajdhani', sans-serif; }

.text-slider { position: relative; transition: opacity 0.5s ease-in-out; }
.text-slider.fade-out { opacity: 0; transform: translateY(10px); }

h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; line-height: 0.95; margin-bottom: 25px; color: #fff; text-transform: uppercase; }
h1 span { display: block; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 400; color: var(--text-muted); margin-top: 10px; letter-spacing: 5px; transition: color 0.5s; }

p.hero-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; max-width: 600px; margin-bottom: 40px; border-left: 2px solid var(--accent-gold); padding-left: 25px; transition: border-color 0.5s; }
.slide-progress { width: 100px; height: 2px; background: rgba(255,255,255,0.1); margin-bottom: 30px; position: relative; overflow: hidden; }
.slide-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--accent-gold); animation: loadProgress 5s linear infinite; }
@keyframes loadProgress { from { width: 0%; } to { width: 100%; } }

.cta-btn { display: inline-block; padding: 15px 40px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; cursor: pointer; }
.cta-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-gold); color: var(--accent-gold); }

/* DOMAIN PANELS */
.domains-wrapper { position: absolute; right: 20px; top: 50%; transform: translateY(-40%); display: flex; flex-direction: column; gap: 15px; z-index: 10; }
.data-panel { background: var(--glass-panel); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-left: 3px solid transparent; padding: 20px 25px; width: 320px; transition: all 0.4s ease; display: flex; align-items: center; justify-content: space-between; cursor: pointer; opacity: 0.6; }
.data-panel.active-panel { opacity: 1; transform: translateX(-15px); background: rgba(30, 40, 60, 0.9); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
#panel-land.active-panel { border-left-color: var(--accent-green); }
#panel-sea.active-panel { border-left-color: var(--accent-blue); }
#panel-air.active-panel { border-left-color: var(--accent-cyan); }
#panel-space.active-panel { border-left-color: var(--accent-purple); }
.panel-info h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; color: #fff; }
.panel-info p { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.5px; }
.sys-code { font-family: monospace; font-size: 0.65rem; color: var(--accent-cyan); }
.led { width: 8px; height: 8px; background: #333; border-radius: 50%; display: inline-block; }
.active-panel .led { background: #00ff00; box-shadow: 0 0 5px #00ff00; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.8rem; animation: bounce 2s infinite; font-family: 'Rajdhani', sans-serif; letter-spacing: 2px; }

/* --- COSMOS SECTION --- */
#cosmos-section { position: relative; width: 100%; height: 100vh; background: #000; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.1); z-index: 10;}
#cosmos-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
#cosmos-canvas { width: 100%; height: 100%; cursor: crosshair; }

.cosmos-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; text-align: center; pointer-events: none; width: 90%; }
.cosmos-sub { font-size: 1rem; color: var(--accent-cyan); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 10px;}
.cosmos-title { font-family: 'Oswald', sans-serif; font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; letter-spacing: 10px; color: #fff; text-shadow: 0 0 30px rgba(255,255,255,0.5); margin-bottom: 20px; }
.cosmos-instruction { color: #666; font-family: monospace; font-size: 0.8rem; letter-spacing: 2px; }

#product-slide { position: absolute; top: 0; left: 100%; width: 100%; height: 100%; background: linear-gradient(135deg, #020406 0%, #0a1018 100%); display: flex; align-items: center; justify-content: center; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); z-index: 20; overflow-y: auto; }
.product-container { display: grid; grid-template-columns: 1fr 1fr; width: 85%; max-width: 1400px; gap: 60px; align-items: center; padding: 40px 0; }

.prod-image-box { position: relative; height: 500px; width: 100%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 20px 20px; }
.prod-image-box::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-top: 3px solid; border-left: 3px solid; border-color: inherit; }
.prod-image-box::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 40px; border-bottom: 3px solid; border-right: 3px solid; border-color: inherit; }

#particle-canvas { width: 100%; height: 100%; }

.prod-details h2 { font-family: 'Oswald', sans-serif; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: #fff; margin-bottom: 10px; text-transform: uppercase; }
.prod-details h3 { font-family: monospace; font-size: 1.5rem; color: var(--accent-cyan); letter-spacing: 5px; margin-bottom: 30px; }
.prod-details p { font-size: 1.1rem; color: #cbd5e1; line-height: 1.8; margin-bottom: 40px; max-width: 600px; }

.slide-close-btn { position: absolute; top: 40px; right: 40px; font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; color: #fff; cursor: pointer; border: 1px solid rgba(0, 240, 255, 0.3); padding: 10px 30px; transition: 0.3s; letter-spacing: 2px; z-index: 30; }
.slide-close-btn:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 20px rgba(0,240,255,0.4); }

.slide-active #cosmos-wrapper { transform: translateX(-100%); opacity: 0.2; }
.slide-active #product-slide { transform: translateX(-100%); }

/* FOOTER */
footer { background: #010101; border-top: 1px solid var(--glass-border); padding: 60px 0 20px; z-index: 10; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-col h4 { color: #fff; font-family: 'Rajdhani', sans-serif; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; font-size: 0.9rem; border-left: 2px solid var(--accent-blue); padding-left: 10px; }
.f-col p, .f-col li { color: #94a3b8; font-size: 0.8rem; line-height: 1.6; list-style: none; margin-bottom: 10px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; color: #475569; font-size: 0.75rem; display: flex; justify-content: space-between; }

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);} 40% {transform: translateY(-10px) translateX(-50%);} 60% {transform: translateY(-5px) translateX(-50%);} }

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 1024px) {
    .domains-wrapper { position: relative; right: auto; top: auto; transform: none; flex-direction: row; flex-wrap: wrap; margin-top: 50px; width: 100%; justify-content: space-between; }
    .data-panel { width: 48%; }
    .hero { padding-bottom: 50px; align-content: center; }
    .hero-content { margin-bottom: 0; }
    .product-container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .prod-details { order: 1; } 
    .prod-image-box { order: 0; height: 400px; }
    .prod-details p { margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .tech-panel { padding: 40px 30px; }
    .founder-box { flex-direction: column; text-align: center; padding: 20px; }
    .founder-img-wrapper { width: 120px; height: 120px; }
    .client-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) { 
    .nav-links { display: none; }
    .mobile-menu-icon { display: flex; } 
    .data-panel { width: 100%; } 
    .footer-grid { grid-template-columns: 1fr; } 
    .f-bottom { flex-direction: column; gap: 10px; } 
    .prod-image-box { height: 350px; }
    .page-close-btn { top: 20px; right: 20px; padding: 8px 15px; font-size: 0.7rem;}
    .slide-close-btn { top: 20px; right: 20px; padding: 8px 15px; font-size: 0.8rem;}
}