* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0b2c6f;
    --dark-blue: #10305c;
    --light-blue: #7fd7f7;
    --green: #7edc9a;
    --text-primary: #ffffff;
    --text-secondary: #cbd5f5;
    --text-muted: #7a8fb8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Background Elements */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(127, 215, 247, 0.1), rgba(126, 220, 154, 0.1));
    border: 1px solid rgba(127, 215, 247, 0.2);
    backdrop-filter: blur(10px);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Content */
.content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    margin-bottom: 40px;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--light-blue), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* Heading */
.heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--light-blue), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheading {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
}

/* Waitlist Card */
.waitlist-card {
    background: rgba(16, 47, 92, 0.6);
    border: 1px solid rgba(127, 215, 247, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.waitlist-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(11, 44, 111, 0.6);
    border: 2px solid rgba(127, 215, 247, 0.2);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: rgba(127, 215, 247, 0.5);
    background: rgba(11, 44, 111, 0.8);
}

.input-icon {
    padding: 0 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 16px;
    padding: 12px 0;
    font-family: inherit;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(90deg, var(--light-blue), var(--green));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.submit-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    transition: transform 0.2s;
}

.submit-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(4px);
}

/* Messages */
.message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: rgba(126, 220, 154, 0.1);
    border: 1px solid rgba(126, 220, 154, 0.3);
    color: var(--green);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Loading State */
.loading-state {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(127, 215, 247, 0.3);
    border-top-color: var(--light-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--light-blue), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.feature-item svg {
    color: var(--light-blue);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .heading {
        font-size: 36px;
    }

    .subheading {
        font-size: 16px;
    }

    .waitlist-card {
        padding: 24px;
    }

    .input-wrapper {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .input-icon {
        padding: 0;
    }

    .email-input {
        width: 100%;
        text-align: center;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 28px;
    }

    .logo-text {
        font-size: 24px;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
    }
}
