/* --- Global Variables --- */
:root {
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f8fafc;
    --text-dim: #94a3b8;
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Animated Star Background --- */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at bottom, #111827 0%, #020617 100%);
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    animation: moveStars linear infinite;
}

@keyframes moveStars {
    from { transform: translateY(0); }
    to { transform: translateY(-100vh); }
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { font-weight: 800; font-size: 1.4rem; color: var(--primary); letter-spacing: 1px; }

nav ul { display: flex; list-style: none; align-items: center; }

nav ul li { margin-left: 25px; }

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: 0.3s;
}

nav ul li a:hover, .nav-linkedin:hover { color: var(--primary); }

.nav-linkedin { color: #0077b5 !important; font-weight: bold; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 { font-size: 4rem; font-weight: 900; }

.hero h1 span { color: var(--primary); }

.hero p { color: var(--text-dim); font-size: 1.3rem; margin-top: 10px; }

.btn-group { margin-top: 40px; }

.btn {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin: 0 10px;
    display: inline-block;
    transition: 0.3s;
}

.btn-main { background: var(--primary); color: var(--bg); }
.btn-main:hover { background: var(--primary-hover); transform: translateY(-3px); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(56, 189, 248, 0.1); transform: translateY(-3px); }

/* --- Sections Styling --- */
section { padding: 120px 10% 60px; }

.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 60px; }

.section-title span { color: var(--primary); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); border-color: var(--primary);}

.card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

/* --- Status Box --- */
.status-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border-left: 5px solid var(--primary);
}

.badge {
    background: #22c55e;
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* --- Footer --- */
footer { text-align: center; padding: 40px; color: var(--text-dim); border-top: 1px solid rgba(255,255,255,0.05); }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; }
}