/* Waiting List Page Styles */

/* Override main app styles for waiting list page */
body.waiting-body {
    overflow: visible !important;
    height: auto !important;
}

:root {
    --primary-color: #6366f1;
    --primary-color-dark: #4f46e5;
    --primary-color-light: #f0f0ff;
    --accent-color: #10b981;
    --accent-color-light: #d1fae5;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --error-color: #ef4444;
    --background-color: #ffffff;
    --background-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --card-background: #ffffff;
    --text-color-primary: #1f2937;
    --text-color-secondary: #6b7280;
    --text-color-light: #9ca3af;
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

.waiting-body {
    font-family: var(--font-family);
    background: var(--background-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

/* Top Navigation Bar */
.top-navbar {
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-brand h1 {
    color: #0B5ADB;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.navbar-title-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.navbar-title-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Main Content */
.waiting-main {
    flex: 1;
    padding: 2rem;
}

.waiting-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 0;
    background: var(--background-gradient);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: #0B5ADB;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-color-secondary);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.benefit-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--text-color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Signup Section */
.signup-section {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.signup-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.signup-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header h2 {
    color: var(--text-color-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.signup-header p {
    color: var(--text-color-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--card-background);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--primary-color-light);
}

.form-group input::placeholder {
    color: var(--text-color-light);
}

.form-disclaimer {
    color: var(--text-color-light);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

.btn-loading {
    display: none;
}

/* Success/Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    border: 2px solid var(--success-color);
    color: var(--success-color);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 2px solid var(--error-color);
    color: var(--error-color);
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3,
.error-message h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Social Proof */
.social-proof {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--accent-color-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
}

.proof-text {
    color: var(--text-color-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.proof-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.avatar-more {
    background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.faq-section h2 {
    color: var(--text-color-primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    background: var(--primary-color-light);
    border: 1px solid rgba(99, 102, 241, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item h3 {
    color: var(--text-color-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .waiting-main {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .signup-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .faq-section {
        padding: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proof-avatars {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 30px;
    }

    .navbar-brand h1 {
        font-size: 1.2rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .signup-card {
        padding: 1.5rem;
    }

    .signup-header h2 {
        font-size: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
    }

    .faq-section {
        padding: 1.5rem;
    }

    .faq-section h2 {
        font-size: 1.8rem;
    }
}

/* Animation delays for staggered entrance */
.benefit-item:nth-child(1).animate-in { animation-delay: 0.1s; }
.benefit-item:nth-child(2).animate-in { animation-delay: 0.2s; }
.benefit-item:nth-child(3).animate-in { animation-delay: 0.3s; }

.faq-item:nth-child(1).animate-in { animation-delay: 0.1s; }
.faq-item:nth-child(2).animate-in { animation-delay: 0.2s; }
.faq-item:nth-child(3).animate-in { animation-delay: 0.3s; }
.faq-item:nth-child(4).animate-in { animation-delay: 0.4s; }

/* Smooth entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}