/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    /*background-color: #050814;*/
    color: #e2e8f0;
    overflow: hidden;
}

/* --- Active Nocturnal Background --- */
.sky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #050814 0%, #0b1329 50%, #121a38 100%);
    z-index: -1;
    overflow: hidden;
}

/* Twinkling Stars */
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px #60a5fa;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Glowing Moon */
.moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #fef08a, #eab308);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.4), 0 0 80px rgba(234, 179, 8, 0.2);
}

/* Floating Code Particles */
.code-particle {
    position: absolute;
    bottom: -10%;
    font-family: 'Fira Code', monospace;
    color: rgba(96, 165, 250, 0.15);
    font-size: 1.1rem;
    user-select: none;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) rotate(15deg);
        opacity: 0;
    }
}

/* --- Foreground Layout --- */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.badge {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: #f8fafc;
}

.hero-content h1 .accent {
    color: #38bdf8;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn.primary {
    background: #38bdf8;
    color: #050814;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.btn.primary:hover {
    background: #7dd3fc;
    transform: translateY(-2px);
}

.btn.secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}