/* Styles for core/ai_recovery_coach.html */
/* Hero Section */
.aic-hero {
    background: var(--panel-ink);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    --heading-color: currentColor;
}

.aic-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.aic-hero p {
    font-size: 1.3rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.aic-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.aic-hero .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cta-bg, #2e8059);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-btn, 10px);
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition-ui);
    box-shadow: none;
}

.aic-hero .cta-button:hover {
    box-shadow: none;
    background: var(--cta-bg-hover);
}

.aic-hero .cta-button-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--brand-text);
    text-decoration: none;
    border-radius: var(--radius-btn, 10px);
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition-ui);
    border: 1px solid var(--border-color);
}

.aic-hero .cta-button-outline:hover {
    border-color: var(--brand-text);
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background: var(--bg-light, #f8f9fa);
}

.features-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.features-section .subtitle {
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    /* Plain text columns: spacing does the grouping, no card chrome */
    text-align: left;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

[data-theme="dark"] .feature-card {
    background: none;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted, #666);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--card-bg, #fff);
}

.how-it-works h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary, #1e4d8b);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    --heading-color: currentColor;
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted, #666);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 2rem;
    background: var(--bg-light, #f8f9fa);
}

.pricing-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.pricing-section .subtitle {
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg, #fff);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid var(--accent-green, #52b788);
}


.pricing-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-text, #1e4d8b);
    margin: 1rem 0 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted, #666);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: var(--text-muted, #555);
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--green-text, #2e8059);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-faint, #aaa);
}

.pricing-features li.disabled i {
    color: #ccc;
}

.pricing-card .cta-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-btn, 10px);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-ui);
    text-decoration: none;
    margin-top: 0.5rem;
}

.pricing-card .cta-button-primary {
    background: var(--cta-bg, #2e8059);
    color: white;
    box-shadow: none;
}

.pricing-card .cta-button-primary:hover {
    box-shadow: none;
    background: var(--cta-bg-hover);
}

.pricing-card .cta-button-secondary {
    background: var(--bg-light, #f0f0f0);
    color: var(--brand-text, #1e4d8b);
}

.pricing-card .cta-button-secondary:hover {
    background: #e0e0e0;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 3rem 2rem;
    background: var(--card-bg, #fff);
}

.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff8e1;
    border-radius: 8px;
}

.disclaimer-box h3 {
    color: #856404;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.disclaimer-box p {
    color: #665200;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-box a {
    color: var(--brand-text, #1e4d8b);
    font-weight: 600;
}

.crisis-numbers {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.crisis-number {
    background: var(--card-bg, #fff);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #d32f2f;
    box-shadow: var(--shadow);
}

.crisis-number i {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: var(--bg-light, #f8f9fa);
}

.faq-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg, #fff);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-muted, #666);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--panel-ink);
    text-align: center;
    color: white;
    --heading-color: currentColor;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--cta-bg, #2e8059);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-btn, 10px);
    font-weight: 600;
    font-size: 1.3rem;
    transition: var(--transition-ui);
}

.cta-section .cta-button:hover {
    background: var(--cta-bg-hover);
}

.cta-section .subtext {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Related Links Section */
.related-links {
    padding: 3rem 2rem;
    background: var(--card-bg, #fff);
}

.related-links h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.related-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.related-grid a {
    background: var(--bg-light, #f8f9fa);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--brand-text, #1e4d8b);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.related-grid a:hover {
    transform: translateY(-3px);
}

/* Dark Mode */

[data-theme="dark"] .features-section {
    background: #16161e;
}


[data-theme="dark"] .feature-card h3 {
    color: #6db3f2;
}

[data-theme="dark"] .feature-card p {
    color: #bbb;
}

[data-theme="dark"] .how-it-works {
    background: #1a1a2e;
}

[data-theme="dark"] .how-it-works h2 {
    color: #6db3f2;
}

[data-theme="dark"] .step-card h3 {
    color: #6db3f2;
}

[data-theme="dark"] .step-card p {
    color: #bbb;
}

[data-theme="dark"] .pricing-section {
    background: #16161e;
}

[data-theme="dark"] .pricing-section h2 {
    color: #6db3f2;
}

[data-theme="dark"] .pricing-section .subtitle {
    color: #aaa;
}

[data-theme="dark"] .pricing-card {
    background: #1e1e2e;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pricing-card h3 {
    color: #6db3f2;
}

[data-theme="dark"] .pricing-price {
    color: #6db3f2;
}

[data-theme="dark"] .pricing-price span {
    color: #aaa;
}

[data-theme="dark"] .pricing-features li {
    color: #ccc;
    border-bottom-color: #2a2a3e;
}

[data-theme="dark"] .pricing-features li.disabled {
    color: #666;
}

[data-theme="dark"] .pricing-card .cta-button-secondary {
    background: #2a2a3e;
    color: #6db3f2;
}

[data-theme="dark"] .disclaimer-section {
    background: #1a1a2e;
}

[data-theme="dark"] .disclaimer-box {
    background: #2a2520;
    border-left-color: #ffc107;
}

[data-theme="dark"] .disclaimer-box h3 {
    color: #ffd54f;
}

[data-theme="dark"] .disclaimer-box p {
    color: #ddd;
}

[data-theme="dark"] .disclaimer-box a {
    color: #6db3f2;
}

[data-theme="dark"] .crisis-number {
    background: #1e1e2e;
    color: #ef5350;
}

[data-theme="dark"] .faq-section {
    background: #16161e;
}

[data-theme="dark"] .faq-section h2 {
    color: #6db3f2;
}

[data-theme="dark"] .faq-item {
    background: #1e1e2e;
}

[data-theme="dark"] .faq-item h3 {
    color: #6db3f2;
}

[data-theme="dark"] .faq-item p {
    color: #bbb;
}

[data-theme="dark"] .related-links {
    background: #1a1a2e;
}

[data-theme="dark"] .related-links h3 {
    color: #6db3f2;
}

[data-theme="dark"] .related-grid a {
    background: #1e1e2e;
    color: #6db3f2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .aic-hero h1 {
        font-size: 2rem;
    }

    .aic-hero p {
        font-size: 1.1rem;
    }

    .features-section h2,
    .how-it-works h2,
    .pricing-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .crisis-numbers {
        flex-direction: column;
    }
}
