/* 
   Theme: Ethereal Void
   Font: Space Grotesk
*/

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-glow: #bfff00; /* Neon Lime */
    --accent-secondary: #00ffff; /* Cyan */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden; /* Main scroll lock */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Container to trap animations */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden; /* Crucial for clipping animated shapes */
    pointer-events: none;
}

/* Custom Cursor */
.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s;
}

/* Background & Atmosphere */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* z-index removed as container handles it */
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #c026d3 0%, transparent 70%);
}

.shape-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0891b2 0%, transparent 70%);
    opacity: 0.4;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(10deg); }
}

/* Layout */
.content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    justify-content: space-between;
}

/* Header */
header {
    display: flex;
    justify-content: flex-start;
}

.brand-pill {
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
}

/* Hero Section */
.hero-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(3rem, 15vw, 11rem);
    line-height: 0.85;
    font-weight: 700;
    letter-spacing: -0.04em;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    text-transform: uppercase; /* specific request to make it bold/impactful? sticking to case for now but uppercase looks modern */
}

.reveal-text {
    opacity: 0;
    transform: translateY(100px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.15s;
}

.highlight {
    background: linear-gradient(to right, #4f46e5, #06b6d4, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal; /* Remove italic */
    padding-right: 0.1em;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Footer */
.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-secondary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        padding: 2.5rem;
    }
    
    .hero-title {
        font-size: clamp(3rem, 18vw, 9rem);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem; /* reduced padding */
        justify-content: space-between; /* distribute space better */
        text-align: center;
        gap: 1rem;
        height: 100%;
        max-height: 100dvh;
    }

    header {
        position: relative; /* Put back in flow or keep absolute but manage space */
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 1rem;
        flex-shrink: 0;
    }
    
    .hero-section {
        flex-grow: 1; /* Take available space */
        margin-top: 0; /* Remove fixed margin */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-title {
        align-items: center; /* Center the flex column items */
        width: 100%;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        br {
            display: none; /* Let text flow naturally on mobile */
        }
    }
    
    .footer-bar {
        flex-direction: column-reverse;
        gap: 1.5rem;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top: none;
        flex-shrink: 0;
    }
    
    .social-links {
        justify-content: center;
        width: 100%;
    }

    .status-indicator {
        font-size: 0.8rem;
    }

    /* Adjust shapes for mobile so they don't distract */
    .shape-1 {
        width: 300px;
        height: 300px;
        opacity: 0.4;
    }
    
    .shape-2 {
        width: 250px;
        height: 250px;
        opacity: 0.4;
    }
    
    .cursor-dot, .cursor-outline {
        display: none; /* Hide custom cursor on touch devices */
    }
    
    * {
        cursor: auto;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 15vw; /* Ensure it fits on very small screens */
    }
}
