:root {
    --primary-bg: #050a15; /* Extremely dark navy */
    --card-bg: rgba(255, 255, 255, 0.03); /* subtle white for glass */
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-glow: #20B8B0; /* Teal */
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden; /* Hide glow overflow */
    position: relative;
}

/* Glowing Background Accents */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #0d2754; /* Deep blue glow */
    bottom: -150px;
    right: -100px;
}

.container {
    position: relative;
    z-index: 1; /* Above glows */
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 60px 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

header {
    margin-bottom: 40px;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.headline {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.subtext {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    margin-bottom: 32px;
}

#notify-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

input[type="email"]:focus {
    border-color: var(--accent-glow);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(32, 184, 176, 0.3);
}

input[type="email"]::placeholder {
    color: #64748B;
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0f2c56 0%, #0B1F3A 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #13386e 0%, #0d2647 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.small-line {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    width: 100%;
}

footer p {
    font-size: 14px;
    color: #475569;
}

/* Responsive Styles */
@media (min-width: 640px) {
    #notify-form {
        flex-direction: row;
        gap: 8px;
    }

    input[type="email"] {
        flex: 1;
    }

    button {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .logo {
        max-width: 160px;
    }

    .headline {
        font-size: 32px;
    }

    .subtext {
        font-size: 16px;
        margin-bottom: 32px;
    }
}
