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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #111827 0%, #000000 50%, #111827 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Particles */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    animation: pulse 4s ease-in-out infinite;
}

.particles-container {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes particleFloat {
    0%, 100% { 
        opacity: 0.2;
        transform: translateY(0px);
    }
    50% { 
        opacity: 0.6;
        transform: translateY(-20px);
    }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 384px;
    height: 384px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.2;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    transition: all 0.1s ease-out;
    border-radius: 50%;
}

/* Header */
.header {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.3));
    transition: all 0.3s ease;
    object-fit: contain;
}

.header-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.5));
}

.logo-text {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff 0%, #f87171 25%, #22c55e 50%, #f87171 75%, #ffffff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.3), 0 0 20px rgba(239, 68, 68, 0.2);
}

@keyframes textShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 0 1rem;
}

.content-container {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4ade80;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Main Title */
.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: block;
}

.title-highlight {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.5rem;
}

/* Subtitle */
.subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Email Signup */
.email-signup {
    max-width: 28rem;
    margin: 0 auto;
}

.signup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.signup-subtitle {
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* Email Form */
.email-form {
    margin-bottom: 2rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #9ca3af;
}

.email-input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #ffffff 0%, #f87171 25%, #22c55e 50%, #f87171 75%, #ffffff 100%);
    border: none;
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    background-size: 300% 100%;
    animation: textShimmer 4s ease-in-out infinite;
}

.submit-button:hover {
    background: linear-gradient(90deg, #ffffff 0%, #f87171 25%, #22c55e 50%, #f87171 75%, #ffffff 100%);
    background-size: 300% 100%;
    animation: textShimmer 2s ease-in-out infinite;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

.submit-button:active {
    transform: scale(1.02);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(1);
}

/* Loading Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Message Styles */
.success-message,
.error-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(8px);
    margin-top: 1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.success-icon,
.error-icon {
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.success-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.success-text,
.error-text {
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 2rem 0;
    color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 640px) {
    .form-container {
        flex-direction: row;
    }
    
    .submit-button {
        min-width: 140px;
    }
    
    .header-logo {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 768px) {
    .header-logo {
        width: 64px;
        height: 64px;
    }
    
    .main-title {
        font-size: 4.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .signup-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .main-title {
        font-size: 5.5rem;
    }
}

/* Page Load Animation */
.content-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

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

/* Hover effects */
.coming-soon-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .email-input {
        border-width: 2px;
    }
    
    .submit-button {
        border: 2px solid #ffffff;
    }
}
