/* ============================================
   EXPERT DASHBOARD PRE-ONBOARDING PAGE
   Matching Network AI Landing theme
   Premium light-theme with AI-powered aesthetic
   ============================================ */

/* ========== GLOBAL RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Petal Palette */
    --color-primary: #06D6A0; /* Neon Aqua */
    --color-secondary: #7C3AED; /* Violet */
    --color-accent: #F59E0B; /* Amber */
    --color-success: #10B981; /* Emerald */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06D6A0 100%);
    --gradient-bg: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.05) 0%, rgba(6, 214, 160, 0.05) 50%, transparent 100%);
    
    /* Neutrals */
    --color-bg: #F8FAFF;
    --color-white: #FFFFFF;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-border: #E5E7EB;
    
    /* Spacing (8px grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-base: cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.4rem;
}

.btn svg {
    transition: transform 0.3s var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--gradient-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Hero Greeting */
.hero-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.user-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
}

.greeting-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Hero Headline */
.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.6rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Benefits */
.hero-benefits {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
}

.hero-benefit-item svg {
    color: var(--color-success);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Hero Progress */
.hero-progress {
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 16px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.6s var(--transition-base);
    box-shadow: 0 2px 8px rgba(6, 214, 160, 0.3);
}

.progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Onboarding Benefits Grid (2x2 Cards) */
.onboarding-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.benefit-point-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-base);
}

.benefit-point-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.benefit-card-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.benefit-card-content h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-xs) 0;
}

.benefit-card-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Hero CTA */
.hero-cta {
    margin-bottom: var(--space-2xl);
}

.cta-microcopy {
    margin-top: var(--space-md);
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* How It Works Section */
.how-it-works-section {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

.how-it-works-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
    text-align: center;
}

.steps-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.step-card-preview {
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s var(--transition-base);
}

.step-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-icon-preview {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 214, 160, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-secondary);
}

.step-card-preview h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.step-card-preview p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========== TRUST SECTION ========== */
.trust-section {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}



/* ========== MINIMAL FOOTER ========== */
.footer-minimal {
    padding: var(--space-lg) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-minimal p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-minimal a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s var(--transition-base);
}

.footer-minimal a:hover {
    color: var(--color-secondary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-benefit-item {
        justify-content: center;
    }
    
    .onboarding-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .steps-grid-preview {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
}
