/**
 * SignalMatrix AI — Specialty Page Styles
 * Additional styles for shared specialty template
 * (dental, orthodontist, physician, cosmetic-surgeon)
 */

/* ============================================
   SPECIALTY HERO
   ============================================ */
.sm-hero-specialty {
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.05) 0%, transparent 70%);
}

.sm-hero-trust {
    gap: 16px;
}


/* ============================================
   SPECIALTY PROBLEM SECTION
   ============================================ */
.sm-specialty-problem {
    padding: 80px 0;
    background: var(--sm-bg-secondary, #0d1321);
}

.sm-problem-stats {
    gap: 16px;
}

.sm-problem-stat-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.sm-problem-stat-card:hover {
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-3px);
}

.sm-problem-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sm-accent, var(--sm-primary, #00ff88));
    line-height: 1.2;
}

.sm-problem-stat-label {
    font-size: 0.82rem;
    color: var(--sm-text-body, #94a3b8);
    margin-top: 4px;
}

.sm-problem-stat-source {
    font-size: 0.7rem;
    color: var(--sm-text-muted, #64748b);
    margin-top: 4px;
    font-style: italic;
}


/* ============================================
   SOLUTION SECTION
   ============================================ */
.sm-specialty-solution {
    padding: 80px 0;
}

.sm-solution-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.sm-solution-card:hover {
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(0,255,136,0.08);
}

.sm-solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0,255,136,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--sm-accent, var(--sm-primary, #00ff88));
    margin-bottom: 16px;
}

.sm-solution-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.sm-solution-desc {
    font-size: 0.85rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sm-solution-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sm-solution-bullets li {
    font-size: 0.82rem;
    color: var(--sm-text-body, #94a3b8);
    padding: 4px 0 4px 20px;
    position: relative;
}

.sm-solution-bullets li::before {
    content: '\F26A'; /* bi-check */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--sm-accent, var(--sm-primary, #00ff88));
    font-size: 0.8rem;
}


/* ============================================
   MARKET OPPORTUNITY
   ============================================ */
.sm-specialty-market {
    padding: 80px 0;
    background: var(--sm-bg-secondary, #0d1321);
}

.sm-market-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.sm-market-card:hover {
    border-color: rgba(0,255,136,0.15);
}

.sm-market-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sm-accent, var(--sm-primary, #00ff88));
    margin-bottom: 4px;
}

.sm-market-label {
    font-size: 0.82rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.4;
}

.sm-market-source {
    font-size: 0.68rem;
    color: var(--sm-text-muted, #64748b);
    margin-top: 6px;
    font-style: italic;
}


/* ============================================
   COMMITMENT / PROMISE SECTION
   ============================================ */
.sm-specialty-commitment {
    padding: 80px 0;
}

.sm-commitment-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.05) 0%, transparent 70%);
}

.sm-commitment-icon {
    font-size: 2.5rem;
    color: var(--sm-accent, var(--sm-primary, #00ff88));
    margin-bottom: 16px;
}

.sm-commitment-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.sm-commitment-body {
    font-size: 0.92rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}


/* ============================================
   CROSS-LINKS ("We Also Serve")
   ============================================ */
.sm-cross-links {
    padding: 60px 0;
    background: var(--sm-bg-secondary, #0d1321);
}

.sm-cross-link-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
    height: 100%;
}

.sm-cross-link-card:hover {
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.sm-cross-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,255,136,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--sm-primary, #00ff88);
    flex-shrink: 0;
}

.sm-cross-link-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.sm-cross-link-desc {
    font-size: 0.78rem;
    color: var(--sm-text-muted, #64748b);
    margin: 0;
}


/* ============================================
   SPECIALTY FORM (scoped overrides)
   ============================================ */
.sm-specialty .sm-contact {
    padding: 80px 0;
}


/* ============================================
   LEGAL PAGE STYLES
   ============================================ */
.sm-legal-hero {
    padding: 120px 0 40px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.04) 0%, transparent 70%);
}

.sm-legal-content {
    padding: 40px 0 80px;
}

.sm-legal-intro {
    margin-bottom: 40px;
}

.sm-legal-intro-inner {
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.12);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sm-legal-intro-icon {
    font-size: 1.4rem;
    color: var(--sm-primary, #00ff88);
    flex-shrink: 0;
    margin-top: 2px;
}

.sm-legal-intro-text {
    font-size: 0.9rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.6;
}

.sm-legal-section {
    margin-bottom: 32px;
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 14px;
    padding: 28px 32px;
}

.sm-legal-section-number {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sm-primary, #00ff88);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sm-legal-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.sm-legal-section-body {
    font-size: 0.88rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.75;
}

.sm-legal-section-body p {
    margin-bottom: 12px;
}

.sm-legal-section-body p:last-child {
    margin-bottom: 0;
}

.sm-legal-section-body strong {
    color: #ddd;
}

.sm-legal-section-body a {
    color: var(--sm-primary, #00ff88);
    text-decoration: none;
}

.sm-legal-section-body a:hover {
    text-decoration: underline;
}

/* HIPAA Notice */
.sm-legal-hipaa {
    padding: 0 0 20px;
}

.sm-hipaa-notice {
    margin-bottom: 20px;
}

.sm-hipaa-notice-inner {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sm-hipaa-notice-icon {
    font-size: 2rem;
    color: var(--sm-secondary, #00d4ff);
    flex-shrink: 0;
}

.sm-hipaa-notice-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.sm-hipaa-notice-text {
    font-size: 0.85rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.7;
}


/* ============================================
   PRODUCT HERO (shared by AI CRM, LLM Visibility)
   ============================================ */
.sm-hero-product {
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.06) 0%, transparent 70%);
}

.sm-hero-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.sm-hero-description {
    font-size: 1rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   FEATURES SECTION (AI CRM, LLM Visibility)
   ============================================ */
.sm-features {
    padding: 80px 0;
}

.sm-problem {
    padding: 80px 0;
    background: var(--sm-bg-secondary, #0d1321);
}

.sm-process {
    padding: 80px 0;
    background: var(--sm-bg-secondary, #0d1321);
}

.sm-process-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.5;
    margin-bottom: 8px;
}

.sm-process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.sm-process-desc {
    font-size: 0.85rem;
    color: var(--sm-text-body, #94a3b8);
    line-height: 1.6;
}

/* Results section */
.sm-results {
    padding: 80px 0;
}

.sm-results-card {
    background: var(--sm-bg-card, #111827);
    border: 1px solid var(--sm-border, rgba(255,255,255,0.08));
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
}

.sm-results-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sm-primary, #00ff88);
}

.sm-results-label {
    font-size: 0.85rem;
    color: var(--sm-text-body, #94a3b8);
    margin-top: 4px;
}


/* ============================================
   RESPONSIVE — SPECIALTY / LEGAL / PRODUCT
   ============================================ */
@media (max-width: 768px) {
    .sm-hero-specialty,
    .sm-hero-product,
    .sm-legal-hero {
        padding: 80px 0 60px;
    }

    .sm-commitment-card {
        padding: 32px 24px;
    }

    .sm-legal-section {
        padding: 20px 20px;
    }

    .sm-hipaa-notice-inner {
        flex-direction: column;
        gap: 12px;
    }

    .sm-legal-intro-inner {
        flex-direction: column;
        gap: 10px;
    }

    .sm-cross-link-card {
        padding: 16px;
    }
}

/* #10: Equal height pricing tiers */
.sm-pricing-card { display: flex; flex-direction: column; height: 100%; }
.sm-pricing-features { flex: 1; }
.sm-pricing-card .sm-pricing-cta { margin-top: auto; }

/* ============================================
   MOBILE PORTRAIT (576px) — Specialty/Product/Legal
   ============================================ */
@media (max-width: 576px) {
    .sm-hero-specialty,
    .sm-hero-product,
    .sm-legal-hero {
        padding: 68px 0 36px;
    }

    .sm-commitment-card {
        padding: 24px 16px;
        border-radius: 12px;
    }
    .sm-commitment-icon {
        font-size: 2rem;
    }
    .sm-commitment-title {
        font-size: 1.15rem;
    }
    .sm-commitment-body {
        font-size: 0.85rem;
    }

    .sm-solution-card {
        padding: 20px 16px;
    }
    .sm-solution-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 1.1rem;
    }
    .sm-solution-title {
        font-size: 0.95rem;
    }
    .sm-solution-desc {
        font-size: 0.8rem;
    }

    .sm-problem-stat-card {
        padding: 16px 12px;
    }
    .sm-problem-stat-number {
        font-size: 1.4rem;
    }

    .sm-market-card {
        padding: 14px 12px;
    }
    .sm-market-number {
        font-size: 1.2rem;
    }

    .sm-results-card {
        padding: 16px 12px;
    }
    .sm-results-number {
        font-size: 1.4rem;
    }

    .sm-cross-link-card {
        padding: 12px;
        gap: 10px;
    }
    .sm-cross-link-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 0.9rem;
    }
    .sm-cross-link-name {
        font-size: 0.85rem;
    }
    .sm-cross-link-desc {
        font-size: 0.72rem;
    }

    .sm-legal-section {
        padding: 16px 14px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .sm-legal-section-title {
        font-size: 1rem;
    }
    .sm-legal-section-body {
        font-size: 0.82rem;
    }

    .sm-legal-intro-inner {
        padding: 16px;
    }

    .sm-hipaa-notice-inner {
        padding: 18px 14px;
    }

    .sm-hero-description {
        font-size: 0.88rem;
    }
}
