:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #7e8c9f;
    --accent-color: #00ff87; /* Sexy neon green */
    --accent-glow: rgba(0, 255, 135, 0.2);
    --highlight-color: #00ff87; /* Light cyan/green highlight */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Lora', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Futuristic background grid */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

/* Ambient glow effects (sexy blurred circles) */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.glow-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 15%;
    animation: float 14s ease-in-out infinite alternate;
}

.glow-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    animation: float 18s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(50px, 50px);
    }
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 24px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Centered minimalist container */
.waitlist-content {
    width: 100%;
    max-width: 640px;
    text-align: center;
    transform: translateY(-20px); /* Slightly offset upward to balance footer space */
}

/* Top Navigation Bar */
.site-nav {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.logo {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 2px;
}

.logo-bold {
    font-weight: 800;
    color: var(--accent-color);
}

.logo-light {
    font-weight: 300;
    color: #ffffff;
    opacity: 0.9;
    margin-left: 2px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.status-text {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Typography from image */
h1 {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.highlight-text {
    font-family: var(--font-serif);
    font-style: italic;
    background: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 44px;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles - Centered and Inline row */
.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.input-group {
    position: relative;
    flex: 1;
}

input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.03);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 0 0 0px var(--accent-glow);
    transition: box-shadow 0.3s ease;
}

/* Button style matching green button in image */
.submit-btn {
    padding: 0 28px;
    height: 50px;
    border-radius: 8px;
    border: none;
    background: var(--accent-color);
    color: #011409;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(0, 255, 135, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
    background: #2aff99;
    box-shadow: 0 8px 25px -4px rgba(0, 255, 135, 0.6);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.5s;
}

.submit-btn:hover .btn-shine {
    left: 100%;
    transition: all 0.5s ease-in-out;
}

/* Helper text & Subtext below */
.subtext {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 14px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.error-msg {
    font-size: 13px;
    color: #ff4a4a;
    min-height: 18px;
    text-align: center;
    width: 100%;
    opacity: 0;
    margin-top: 4px;
    transition: opacity 0.3s ease;
}

.error-msg.show {
    opacity: 1;
}

/* Success state */
.success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    padding: 20px 0;
}

.success-state.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.success-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 255, 135, 0.08);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.15);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-state h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-state p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 440px;
}

/* Absolute Positioned Footer to keep content perfectly centered */
.footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Mobile responsive fixes */
@media (max-width: 540px) {
    .site-nav {
        top: 20px;
        left: 20px;
        right: 20px;
    }

    .waitlist-content {
        transform: translateY(0);
    }
    
    h1 {
        font-size: 38px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .footer {
        position: relative;
        bottom: auto;
        margin-top: 50px;
        padding-bottom: 20px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
