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

:root {
    --primary-blue: #60A5FA;
    --primary-purple: #A78BFA;
    --dark-bg: #0A0A0F;
    --card-bg: rgba(20, 20, 30, 0.7);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --input-bg: rgba(30, 30, 45, 0.8);
    --success-color: #10B981;
    --error-color: #EF4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-image: url('background-image.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.gradient-orb {
    display: none;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    padding: 2rem;
    margin: 0;
}

.card {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(96, 165, 250, 0.2),
                inset 0 0 60px rgba(96, 165, 250, 0.05);
    animation: fadeInUp 0.8s ease-out, cardGlow 4s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                    0 0 40px rgba(96, 165, 250, 0.2),
                    inset 0 0 60px rgba(96, 165, 250, 0.05);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                    0 0 50px rgba(167, 139, 250, 0.3),
                    inset 0 0 60px rgba(167, 139, 250, 0.08);
    }
}

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

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.title-light {
    font-weight: 400;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, #60A5FA, #A78BFA, #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
    text-shadow: none;
    display: inline-block;
    text-transform: capitalize;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.form {
    margin-bottom: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4);
}

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

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease-out;
}

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

.message.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
    display: block;
}

.message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
    display: block;
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.avatars {
    display: flex;
    margin-right: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 3px solid var(--card-bg);
    margin-left: -12px;
    animation: popIn 0.5s ease-out backwards;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:nth-child(1) { animation-delay: 0.1s; }
.avatar:nth-child(2) { animation-delay: 0.2s; }
.avatar:nth-child(3) { animation-delay: 0.3s; }
.avatar:nth-child(4) { animation-delay: 0.4s; }
.avatar:nth-child(5) { animation-delay: 0.5s; }

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

.social-proof-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.social-proof-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 80px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.launch-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        justify-content: center;
        padding-right: 0;
    }

    .background {
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .background {
        background-size: cover;
        background-position: center center;
    }

    .background::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .card {
        background: rgba(10, 15, 30, 0.92);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
        background: rgba(10, 15, 30, 0.95);
    }

    .title {
        font-size: 2.5rem;
    }

    .title-light {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .countdown {
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        padding: 0.75rem 0.75rem;
        min-width: 60px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.625rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }

    .social-proof {
        flex-direction: column;
        gap: 0.75rem;
    }

    .input-group {
        gap: 0.75rem;
    }

    .background {
        background-size: cover;
        background-position: center center;
    }

    .logo {
        margin-bottom: 1.5rem;
    }

    .logo svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 2rem;
    }

    .title-light {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.625rem 0.5rem;
    }

    .countdown-value {
        font-size: 1.25rem;
    }
}
