/* Industries Pages — Shared Styles
   Used by all /industries/* pages via base-industry.html template
   v1.0 — 2026-03-14
*/

/* ── Hero Override ── */
.industry-hero {
    background: linear-gradient(135deg, var(--hero-bg-start, #0a1628) 0%, var(--hero-bg-mid, #1a2d4a) 100%);
    padding: 80px 24px 64px;
    text-align: center;
}

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

.industry-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.industry-hero .badge-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
}

.industry-hero .hero-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.industry-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 28px;
}

.industry-hero .hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.industry-hero .btn-hero-primary {
    display: inline-block;
    background: var(--primary-600);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.industry-hero .btn-hero-primary:hover {
    background: var(--primary-700);
}

.industry-hero .btn-hero-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.industry-hero .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ── Section Layout ── */
.industry-section {
    padding: 48px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.industry-section--alt {
    background: var(--gray-50);
}

.industry-section--alt .industry-section {
    padding-left: 0;
    padding-right: 0;
}

.section-wrapper--alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--primary-600);
}

.section-label--red {
    color: #991B1B;
}

.section-label--green {
    color: #166534;
}

.section-label--purple {
    color: #6B21A8;
}

.section-label--teal {
    color: #115E59;
}

.section-label--amber {
    color: #92400E;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px;
    line-height: 1.3;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Dark theme overrides for section headers ── */
[data-theme="dark"] .section-label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .section-header h2 {
    color: white;
}

[data-theme="dark"] .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Pain Points Grid ── */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pain-point-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    border-left: 3px solid var(--error, #E11D48);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pain-point-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px;
}

.pain-point-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ── Standards Grid ── */
.standards-covered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.standard-covered-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.standard-covered-card:hover {
    box-shadow: var(--shadow-md);
}

.standard-covered-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 6px;
}

.standard-covered-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.standard-covered-card .standard-status {
    display: inline-block;
    margin-top: 10px;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: var(--success-light, #DCFCE7);
    color: var(--success-dark, #166534);
}

/* ── Supply Chain Callout ── */
.supply-chain-callout {
    background: white;
    border-radius: 12px;
    padding: 36px 40px;
    border-left: 4px solid var(--primary-600);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: var(--shadow-sm);
    margin-top: 48px;
}

.supply-chain-callout h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px;
}

.supply-chain-callout p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ── Use Cases ── */
.use-cases-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.use-case-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
}

.use-case-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.use-case-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 6px;
}

.use-case-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ── Feature Highlights ── */
.feature-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-highlight-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-highlight-card .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-highlight-card .feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-highlight-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px;
}

.feature-highlight-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ── How It Works ── */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.step-card {
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Step connector lines between cards */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--gray-300);
}

@media (max-width: 768px) {
    .step-card:not(:last-child)::after {
        display: none;
    }
}

/* ── Bottom CTA ── */
.industry-cta {
    background: linear-gradient(135deg, var(--hero-bg-start, #0a1628) 0%, var(--hero-bg-mid, #1a2d4a) 100%);
    padding: 48px 24px;
    text-align: center;
    color: white;
}

.industry-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
}

.industry-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 28px;
}

.industry-cta .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.industry-cta .btn-hero-primary {
    display: inline-block;
    background: var(--primary-600);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.industry-cta .btn-hero-primary:hover {
    background: var(--primary-700);
}

.industry-cta .btn-hero-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.industry-cta .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ── Standard Name (monospace for standard identifiers) ── */
.standard-covered-card .standard-name {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    letter-spacing: -0.02em;
}

/* ── CTA Trust Signals ── */
.cta-trust-signals {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .feature-highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .industry-hero .hero-title {
        font-size: 30px;
    }

    .industry-hero {
        padding: 60px 20px 48px;
    }

    .industry-section {
        padding: 48px 20px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .standards-covered-grid {
        grid-template-columns: 1fr 1fr;
    }

    .supply-chain-callout {
        padding: 28px 24px;
    }

    .industry-cta h2 {
        font-size: 26px;
    }
}
