/* ================= YAGONA DARK PRO EXTREME REJIM ================= */
:root {
    --bg: #03060c; /* Eng to'q kiber-qora fon */
    --nav-bg: rgba(3, 6, 12, 0.65); /* Shaffof navbar */
    --card-bg: rgba(10, 15, 24, 0.75); /* Kartalar uchun chuqur tus */
    
    --neon-cyan: #00f3ff;
    --neon-red: #ff003c;
    --glass-border: rgba(0, 243, 255, 0.1); /* Neon hoshiyalar */
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 243, 255, 0.05);
}

body {
    margin: 0; padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    cursor: none;
}

/* ================= PRELOADER ================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.terminal-loader { font-family: 'Fira Code', monospace; color: var(--neon-cyan); font-size: 1.8rem; font-weight: 700; text-shadow: 0 0 10px var(--neon-cyan); }
.terminal-loader .cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

#vanta-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; background: var(--bg); }

/* ================= KURSOR SEHRGARLIGI ================= */
.cursor-dot { 
    width: 6px; height: 6px; background: var(--neon-cyan); border-radius: 50%; 
    position: fixed; pointer-events: none; z-index: 9999; 
    box-shadow: 0 0 15px var(--neon-cyan); transition: transform 0.2s;
}
.cursor-outline { 
    width: 40px; height: 40px; border: 1px solid rgba(0, 243, 255, 0.5); 
    border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; 
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s;
}
.cursor-hover .cursor-dot { transform: scale(3); background: var(--neon-red); box-shadow: 0 0 15px var(--neon-red); }
.cursor-hover .cursor-outline { width: 60px; height: 60px; border-color: var(--neon-red); }

.container { max-width: 1000px; margin: 0 auto; padding: 20px; }

/* ================= NAVBAR ================= */
.navbar { 
    padding: 20px 0; display: flex; justify-content: center; position: sticky; top: 0; z-index: 100; 
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    background: var(--nav-bg); border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1000px; padding: 0 20px;}
.logo { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
.logo .dot { color: var(--neon-red); text-shadow: 0 0 15px var(--neon-red); }

.glass-select { 
    background: rgba(0, 243, 255, 0.05); color: var(--neon-cyan); 
    border: 1px solid rgba(0, 243, 255, 0.2); padding: 10px 18px; 
    border-radius: 8px; outline: none; font-family: inherit; font-weight: 700; cursor: none; 
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.glass-select:hover { border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 243, 255, 0.2); }
.glass-select option { background: #03060c; color: #fff; }

/* ================= HERO ================= */
.hero-section { min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content h1 { 
    font-size: 5.5rem; font-weight: 800; margin: 0; line-height: 1.1; 
    letter-spacing: -2px; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.hero-content h2 { 
    color: var(--neon-cyan); font-size: 1.4rem; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 4px; margin: 25px 0 30px 0; 
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}
.hero-content p { 
    color: var(--text-muted); font-size: 1.2rem; max-width: 800px; 
    margin: 0 auto 50px auto; line-height: 1.8; font-weight: 500;
}

/* ================= MAGNETIC TUGMALAR ================= */
.contact-links { display: flex; gap: 20px; justify-content: center; }
.magnet-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 18px 40px; border-radius: 40px; font-weight: 800; font-size: 1.05rem;
    cursor: none; text-decoration: none; font-family: inherit;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.primary-btn { 
    background: linear-gradient(45deg, var(--neon-cyan), #0077ff); color: #000; border: none;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5); 
}
.primary-btn:hover { box-shadow: 0 0 40px rgba(0, 243, 255, 0.8); transform: translateY(-3px) scale(1.02); }

.outline-btn { 
    background: rgba(255, 255, 255, 0.02); color: #fff; 
    border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px);
}
.outline-btn:hover { border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0, 243, 255, 0.2); color: var(--neon-cyan); }

/* ================= KARTALAR VA PINNING ================= */
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 60px; margin-top: 100px; text-transform: uppercase; letter-spacing: 2px; text-align: center; }

.pin-container { position: relative; height: 100vh; }
.pin-card { position: absolute; top: 15%; left: 0; width: 100%; }

.glow-card {
    position: relative; background: var(--card-bg);
    border-radius: 20px; overflow: hidden;
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border); transform-style: preserve-3d;
    box-shadow: var(--card-shadow);
}
.glow-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--neon-cyan));
    animation: spin 4s linear infinite; opacity: 0; transition: opacity 0.5s;
}
.glow-card:hover::before { opacity: 0.6; }
.glow-card::after {
    content: ''; position: absolute; inset: 2px;
    background: var(--card-bg); border-radius: 18px; z-index: 1; backdrop-filter: blur(20px);
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.card-content { position: relative; z-index: 2; padding: 45px; transform: translateZ(40px); }
.card-content i { font-size: 3.5rem; color: var(--neon-cyan); margin-bottom: 25px; filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.6)); }
.card-content h3 { margin: 0 0 20px 0; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: 1px; }
.card-content p { margin: 0; color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; font-weight: 500;}

/* ================= LOYIHALAR QISMI ================= */
.projects-grid { display: flex; flex-direction: column; gap: 35px; }
.project-line-card {
    padding: 40px; background: rgba(10, 15, 24, 0.5);
    border-left: 5px solid var(--neon-red); border-radius: 0 25px 25px 0;
    transition: all 0.4s ease; backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.03); border-right: 1px solid rgba(255, 255, 255, 0.03); border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.project-line-card:hover { transform: translateX(15px); border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.05); }
.project-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.project-header i { font-size: 2rem; color: var(--neon-red); text-shadow: 0 0 15px rgba(255, 0, 60, 0.5); }
.project-line-card h3 { margin: 0; color: var(--neon-cyan); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; }
.project-line-card p { margin: 0; color: var(--text-muted); font-size: 1.15rem; line-height: 1.8; font-weight: 500;}

/* ================= KIBER KONTAKT (INPUTLAR) ================= */
.contact-box { max-width: 650px; margin: 0 auto; text-align: left; }
.input-group { margin-bottom: 25px; }
.cyber-input {
    width: 100%; padding: 20px; background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    color: #fff; font-family: 'Fira Code', monospace; font-size: 1.05rem;
    box-sizing: border-box; transition: all 0.3s; outline: none; cursor: none;
}
.cyber-input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 25px rgba(0, 243, 255, 0.2); background: #000; }
.submit-btn { width: 100%; border-radius: 12px; padding: 22px; font-size: 1.2rem; }