@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;800&display=swap');

:root {
    --bg-dark: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-glow: rgba(99, 102, 241, 0.15);
    
    --primary-color: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --success: #10b981;
    --error: #ef4444;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 48px 16px;
}

/* Background animated gradient blobs */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

.blob-1 {
    top: -50px;
    left: -50px;
    animation: float-slow 12s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -50px;
    right: -50px;
    animation: float-slow 18s ease-in-out infinite alternate-reverse;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 480px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Logo & Branding */
header {
    text-align: center;
}

.logo-container {
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

.tagline {
    font-size: 1rem;
    color: #2e354f;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

/* Coming Soon Badge & Animation */
.status-badge {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(99, 102, 241, 0.35);
    padding: 10px 24px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* Glassmorphism Card containing the form */
.card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 32px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    color: #0f172a;
}

.card p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
}

/* Forms styling */
.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    color: #0f172a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #7073f9 0%, #4f46e5 100%);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--primary-hover);
    color: var(--primary-hover);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 12px;
}

.text-center {
    text-align: center;
}

.intro-text {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Notification banner */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    display: none;
}

.alert-success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.alert-error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and larger viewports */
@media (min-width: 640px) {
    body {
        padding: 80px 24px;
    }
    .blob {
        width: 450px;
        height: 450px;
    }
    .logo {
        font-size: 3rem;
    }
    .card {
        padding: 40px;
    }
    .button-group {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 800px;
    }
}
