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

:root {
    --primary-purple: #8e2de2;
    --primary-pink: #ff00a0;
    --primary-blue: #00d2ff;
    --text-light: #ffffff;
    --text-muted: #dcdcdc;
    --dark-bg: #0b0b1a;
}

body, html {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

/* Visually Hidden Class for Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================================
   Hero Section & Background
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Full width background image with a dark gradient overlay for text readability */
    background: linear-gradient(
            rgba(11, 11, 26, 0.7), 
            rgba(20, 5, 30, 0.8)
        ), 
        url("hero.png") no-repeat center center;
    background-size: cover;
}

/* =========================================================================
   Navigation Bar
   ========================================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================================================
   Main Content Layout
   ========================================================================= */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.main-headline {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--primary-pink), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.sub-headline {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.supporting-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* =========================================================================
   Email Signup Form
   ========================================================================= */
.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 3rem;
    gap: 1rem;
}

.form-row {
    display: flex;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.signup-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    outline: none;
    font-family: inherit;
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.notify-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-blue));
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
}

.notify-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.form-message {
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* =========================================================================
   Social Media Icons
   ========================================================================= */
.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary-pink);
    box-shadow: 0 10px 20px rgba(255, 0, 160, 0.4);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

/* =========================================================================
   Responsive Design (Mobile)
   ========================================================================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .main-headline {
        font-size: 3rem;
    }

    .sub-headline {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }

    .supporting-text {
        font-size: 1rem;
    }

    .signup-form {
        gap: 1rem;
    }

    .form-row {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 1rem;
    }

    .signup-form input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50px;
        text-align: center;
    }

    .notify-btn {
        width: 100%;
    }
}
