:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --primary-neon: #a855f7;
    --secondary-neon: #3b82f6;
    --glass: rgba(255, 255, 255, 0.05);
    --font-main: 'Rajdhani', sans-serif;
    --font-header: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

.animate-enter {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.4s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes slideInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.star {
    position: absolute; background: white; border-radius: 50%;
    opacity: 0.8; animation: twinkle linear infinite;
}
@keyframes twinkle {
    0% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0.2; transform: translateY(-20px); }
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px; position: fixed; width: 100%; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}
.logo { font-family: var(--font-header); font-weight: 700; font-size: 1.5rem; color: var(--primary-neon); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a {
    text-decoration: none; color: #ccc; font-weight: 500; transition: 0.3s; font-size: 1.1rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--secondary-neon); text-shadow: 0 0 10px var(--secondary-neon); }

.hero-section {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 100vh; padding: 0 10%; position: relative; z-index: 2;
}

h1 {
    font-family: var(--font-header); font-size: 5rem;
    background: linear-gradient(90deg, #fff, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}
.subtitle { font-size: 1.5rem; color: #aaa; margin-bottom: 40px; letter-spacing: 2px; }

.cta-buttons { display: flex; gap: 20px; margin-bottom: 40px; }
.btn {
    padding: 12px 30px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold;
    font-family: var(--font-header); 
    letter-spacing: 1px; 
    transition: 0.3s;
    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
}
.primary-btn {
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    color: white; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
.primary-btn:hover { box-shadow: 0 0 40px rgba(168, 85, 247, 0.7); transform: translateY(-3px); }
.secondary-btn { background: transparent; border: 2px solid var(--secondary-neon); color: var(--secondary-neon); }
.secondary-btn:hover { background: rgba(59, 130, 246, 0.1); box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }

.social-icons { display: flex; gap: 20px; font-size: 1.5rem; }
.social-icons a { color: #fff; transition: 0.3s; }
.social-icons a:hover { color: var(--primary-neon); transform: translateY(-3px); }

.hero-visuals { position: relative; width: 500px; height: 500px; display: flex; justify-content: center; align-items: center; }
.orbit-system { position: relative; width: 400px; height: 400px; display: flex; justify-content: center; align-items: center; }
.sun {
    width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 2rem; box-shadow: 0 0 50px var(--primary-neon); z-index: 10;
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.orbit-1 { width: 160px; height: 160px; animation: spin 10s linear infinite; }
.orbit-2 { width: 260px; height: 260px; animation: spin 15s linear infinite reverse; }
.orbit-3 { width: 360px; height: 360px; animation: spin 20s linear infinite; }
.planet { position: absolute; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; box-shadow: 0 0 15px currentColor; }
.planet-1 { width: 30px; height: 30px; background: #3ddc84; top: -15px; }
.planet-2 { width: 40px; height: 40px; background: #61dbfb; bottom: 20px; right: 20px; }
.planet-3 { width: 25px; height: 25px; background: #f43f5e; left: -12px; }
.planet i { animation: counter-spin 10s linear infinite; }
.orbit-2 .planet i { animation: counter-spin-reverse 15s linear infinite; }
.orbit-3 .planet i { animation: counter-spin 20s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }
@keyframes counter-spin-reverse { 100% { transform: rotate(360deg); } }

.terminal-window {
    position: absolute; bottom: -50px; right: -50px; width: 350px;
    background: rgba(10, 10, 20, 0.95); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); padding: 15px;
    font-family: 'Courier New', monospace; z-index: 20;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg); transition: 0.3s;
}
.terminal-window:hover { transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.05); }
.terminal-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.title { margin-left: auto; font-size: 0.8rem; color: #888; }
.terminal-body { font-size: 0.9rem; color: #cfcfcf; line-height: 1.4; }
.line1 { color: #50fa7b; margin-bottom: 5px; }
.line2 { color: #f1fa8c; margin-bottom: 5px; }
.line3 { color: #8be9fd; margin-bottom: 5px; }
.blink { animation: blink 1s infinite; }

.about-section {
    padding: 80px 10%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.about-section h2 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.about-section p {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.6;
}

footer {
    text-align: center; padding: 20px; color: #666; font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2;
}
footer i { color: var(--primary-neon); }

@media (max-width: 900px) {
    .hero-section { flex-direction: column; justify-content: center; text-align: center; padding-top: 100px; }
    .hero-visuals { transform: scale(0.7); margin-top: 20px; width: auto; height: 400px; }
    .cta-buttons { justify-content: center; }
    .social-icons { justify-content: center; }
    h1 { font-size: 3rem; }
    .terminal-window { right: 0; left: 0; margin: auto; bottom: -60px; }
    nav { padding: 20px; justify-content: center; }
    .nav-links { display: none; }
    .logo { margin-bottom: 0; }
}