/* ============================================
   PROFESSIONAL MODE OVERRIDES
   Applied when body has .professional-mode class.
   Provides a clean, corporate-friendly appearance.
   ============================================ */

/* --- CSS Variables --- */
.professional-mode {
    --prof-primary: #1e3a8a;
    --prof-secondary: #3b82f6;
    --prof-accent: #64748b;
    --prof-bg: #f8fafc;
    --prof-text: #1e293b;
    --prof-text-secondary: #475569;
    --prof-border: #e2e8f0;
    --prof-surface: #ffffff;
}

/* --- Mode Toggle Button (in header) --- */
.mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--theme-border, rgba(30, 41, 59, 0.2));
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-text-secondary, #64748b);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.mode-toggle:hover {
    border-color: var(--theme-text-primary, #1e293b);
    color: var(--theme-text-primary, #1e293b);
    background: rgba(0, 0, 0, 0.03);
}

.mode-toggle .toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

.mode-toggle .toggle-label {
    display: inline;
}

/* Dark theme overrides for toggle */
:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .mode-toggle {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .mode-toggle:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* --- Professional Hero Section --- */
.hero-professional {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    padding: 72px 24px 48px;
    max-width: 960px;
    margin: 0 auto;
    animation: prof-fade-up 0.6s ease-out;
}

@keyframes prof-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-professional .hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-professional .hero-headline {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--theme-text-primary, #1e293b);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.hero-professional .hero-sub {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--theme-text-secondary, #64748b);
    margin: 0 0 32px;
}

.hero-professional .hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-professional .cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--prof-primary, #1e3a8a);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.hero-professional .cta-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(30, 58, 138, 0.35);
    color: white;
}

.hero-professional .cta-note {
    font-size: 0.82rem;
    color: var(--theme-text-secondary, #94a3b8);
    margin: 0;
}

.hero-professional .hero-tagline {
    font-size: 0.88rem;
    color: var(--theme-text-secondary, #94a3b8);
    margin: 8px 0 0;
    opacity: 0.85;
}

/* Professional hero illustration/icon area */
.hero-professional .hero-professional-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hero-professional .prof-icon-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--prof-primary, #1e3a8a), var(--prof-secondary, #3b82f6));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.2);
}

.hero-professional .prof-icon-circle .material-symbols-rounded {
    font-size: 64px;
    color: white;
}

.hero-professional .prof-visual-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 58, 138, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(30, 58, 138, 0.12);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--theme-text-primary, #1e293b);
}

/* --- Professional Features Section --- */
.features-professional {
    padding: 64px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.features-professional .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text-primary, #1e293b);
    margin: 0 0 12px;
}

.features-professional .section-sub {
    text-align: center;
    font-size: 1.05rem;
    color: var(--theme-text-secondary, #64748b);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.features-professional .prof-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.features-professional .prof-feature-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--theme-border, #e2e8f0);
    background: var(--theme-surface, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.features-professional .prof-feature-card:hover {
    border-color: rgba(30, 58, 138, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.features-professional .prof-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--prof-primary, #1e3a8a), var(--prof-secondary, #3b82f6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-professional .prof-feature-icon .material-symbols-rounded {
    font-size: 22px;
    color: white;
}

.features-professional .prof-feature-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme-text-primary, #1e293b);
    margin: 0 0 6px;
}

.features-professional .prof-feature-content p {
    font-size: 0.88rem;
    color: var(--theme-text-secondary, #64748b);
    margin: 0;
    line-height: 1.55;
}

/* --- Professional Objections/FAQ --- */
.professional-mode .objection-item h3 {
    font-size: 1rem;
}

/* --- Professional CTA --- */
.cta-professional {
    text-align: center;
    padding: 64px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-professional h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text-primary, #1e293b);
    margin: 0 0 12px;
}

.cta-professional .cta-tagline {
    font-size: 1.05rem;
    color: var(--theme-text-secondary, #64748b);
    margin: 0 0 28px;
}

.cta-professional .cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--prof-primary, #1e3a8a);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.cta-professional .cta-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(30, 58, 138, 0.35);
    color: white;
}

.cta-professional .cta-note {
    font-size: 0.82rem;
    color: var(--theme-text-secondary, #94a3b8);
    margin: 12px 0 0;
}

/* --- Dark Theme overrides for Professional Mode --- */
:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .features-professional .prof-feature-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .features-professional .prof-feature-content h3 {
    color: white;
}

:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .features-professional .prof-feature-content p {
    color: rgba(255, 255, 255, 0.7);
}

:is(.theme-space, .theme-winter, .theme-nature, .theme-ocean, .theme-mystic, .theme-tron) .hero-professional .prof-visual-label {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: white;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-professional {
        flex-direction: column-reverse;
        text-align: center;
        gap: 32px;
        padding: 48px 20px 32px;
    }

    .hero-professional .hero-text {
        align-items: center;
    }

    .hero-professional .hero-cta-row {
        align-items: center;
    }

    .hero-professional .hero-headline {
        font-size: 1.75rem;
    }

    .features-professional .prof-features-grid {
        grid-template-columns: 1fr;
    }

    .mode-toggle .toggle-label {
        display: none;
    }
}
