/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Figma-style gradient background: slate-900 via purple-900 to slate-900 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #0f172a 0%, #581c87 50%, #0f172a 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.main-content {
    text-align: center;
    max-width: 42rem; /* max-w-2xl */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* space-y-8 */
}

/* Brand section with heading and underline */
.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* space-y-4 */
}

/* Main heading - text-6xl md:text-7xl with tight tracking */
.main-heading {
    font-size: 3.75rem; /* text-6xl */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em; /* tracking-tight */
    margin: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 4.5rem; /* text-7xl */
    }
}

/* Underline divider - h-1 w-24 bg-purple-400 rounded-full */
.underline-divider {
    height: 0.25rem; /* h-1 */
    width: 6rem; /* w-24 */
    background: #a78bfa; /* bg-purple-400 */
    border-radius: 9999px; /* rounded-full */
    margin: 0 auto;
}

/* Sub-heading - text-xl md:text-2xl text-purple-200 */
.sub-heading {
    font-size: 1.25rem; /* text-xl */
    font-weight: 400;
    color: #e9d5ff; /* text-purple-200 */
    margin: 0;
    line-height: 1.5;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .sub-heading {
        font-size: 1.5rem; /* text-2xl */
    }
}

/* Body text - text-slate-300 max-w-md */
.body-text {
    font-size: 1rem;
    font-weight: 400;
    color: #cbd5e1; /* text-slate-300 */
    line-height: 1.5;
    margin: 0;
    max-width: 28rem; /* max-w-md */
    text-wrap: balance;
}

/* Email form */
.email-form {
    width: 100%;
    max-width: 550px;
    margin: 0;
}

.form-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.envelope-icon {
    position: absolute;
    left: 1.25rem;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.email-input {
    width: 100%;
    padding: 1.125rem 1.25rem 1.125rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.email-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(136, 84, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(136, 84, 255, 0.1);
}

.notify-button {
    padding: 1.125rem 2.5rem;
    background: #8854ff;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(136, 84, 255, 0.3);
}

.notify-button:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 84, 255, 0.4);
}

.notify-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(136, 84, 255, 0.3);
}

/* Privacy notice */
.privacy-notice {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-weight: 300;
    text-wrap: balance;
}

/* Badge container - pt-8 */
.badge-container {
    padding-top: 2rem; /* pt-8 */
}

/* Launching Soon badge - px-4 py-2 bg-purple-500/20 text-purple-300 rounded-full border border-purple-400/30 */
.launching-soon-badge {
    display: inline-block;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    background: rgba(168, 85, 247, 0.2); /* bg-purple-500/20 */
    color: #d8b4fe; /* text-purple-300 */
    border: 1px solid rgba(192, 132, 252, 0.3); /* border-purple-400/30 */
    border-radius: 9999px; /* rounded-full */
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/* Help icon with information symbol */
.help-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.8); /* slate-900 with opacity */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.help-icon:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(136, 84, 255, 0.3);
}

.help-icon svg {
    width: 16px;
    height: 16px;
}

/* Hidden form field for Netlify honeypot */
.hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-content {
        gap: 1.5rem;
    }
    
    .main-heading {
        font-size: 3rem;
    }
    
    .sub-heading {
        font-size: 1.125rem;
    }
    
    .body-text {
        font-size: 0.95rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .notify-button {
        width: 100%;
    }
    
    .help-icon {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .help-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2.5rem;
    }
    
    .sub-heading {
        font-size: 1rem;
    }
    
    .body-text {
        font-size: 0.9rem;
    }
    
    .email-input {
        padding: 1rem 1.125rem 1rem 3rem;
        font-size: 0.95rem;
    }
    
    .envelope-icon {
        left: 1.125rem;
        width: 18px;
        height: 18px;
    }
    
    .notify-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .launching-soon-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }
    
    .privacy-notice {
        font-size: 0.8rem;
    }
    
    .help-icon {
        width: 36px;
        height: 36px;
    }
    
    .help-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
