﻿/* =====================================================
   INDUSTRIES HUB PAGE STYLES
   /asset/css/templates/industries-hub.css
   Clean, professional design using typography and cards
   
   v2.0 - 2026-01-31
   - Added .ind-hero-headline for P tag (was h1)
   - Added h2.ind-eyebrow reset styles
   - Added .ind-hero-answer for AEO content
   ===================================================== */

/* Hero Section */
.ind-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 100px;
}

.ind-hero .container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

/* v2.0: Eyebrow - works for both span and h2 */
.ind-eyebrow,
h2.ind-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3b82f6;
    margin-bottom: 16px;
    /* Reset h2 browser defaults */
    line-height: 1.4;
}

/* v2.0: Headline - works for both h1 and p.ind-hero-headline */
.ind-hero h1,
.ind-hero-headline,
p.ind-hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #1f295e;
    margin-bottom: 20px;
    /* Reset p browser defaults */
    margin-top: 0;
}

.ind-hero h1 em,
.ind-hero-headline em,
p.ind-hero-headline em {
    font-style: normal;
    color: #3b82f6;
}

/* v2.0: Answer-first content for AEO */
.ind-hero-answer {
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 540px;
}

.ind-hero-sub {
    font-size: 20px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

.ind-hero-cta {
    display: flex;
    gap: 16px;
}

.ind-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ind-stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.ind-stat-box.highlight {
    background: #1f295e;
    border-color: #1f295e;
}

.ind-stat-box.highlight .ind-stat-number,
.ind-stat-box.highlight .ind-stat-label {
    color: #fff;
}

.ind-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1f295e;
    line-height: 1;
    margin-bottom: 4px;
}

.ind-stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Why Section */
.ind-why-section {
    padding: 80px 0;
    background: #fff;
}

.ind-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.ind-value-card {
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.ind-value-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ind-value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 12px;
}

.ind-value-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* Compare Section */
.ind-compare-section {
    padding: 80px 0;
    background: #f8fafc;
}

.ind-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.ind-compare-card {
    padding: 40px;
    border-radius: 16px;
}

.ind-compare-card.problem {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ind-compare-card.solution {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ind-compare-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ind-compare-card.problem h3 {
    color: #991b1b;
}

.ind-compare-card.solution h3 {
    color: #166534;
}

.ind-compare-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ind-compare-card ul li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 15px;
    color: #475569;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ind-compare-card ul li:last-child {
    border-bottom: none;
}

.ind-compare-card.problem ul li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.ind-compare-card.solution ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Featured Industries */
.ind-featured-section {
    padding: 80px 0;
    background: #fff;
}

.ind-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ind-featured-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ind-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.ind-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.ind-featured-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f295e;
    margin: 0;
}

.ind-sample-badge {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.ind-featured-card > p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ind-featured-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ind-link-primary {
    display: block;
    text-align: center;
    padding: 12px 16px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.ind-link-primary:hover {
    background: #2563eb;
    color: #fff;
}

.ind-link-secondary {
    display: block;
    text-align: center;
    padding: 12px 16px;
    background: #f8fafc;
    color: #1f295e;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: background 0.2s, border-color 0.2s;
}

.ind-link-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1f295e;
}

/* Directory Section */
.ind-directory-section {
    padding: 80px 0;
    background: #f8fafc;
}

.ind-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 48px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.ind-alpha-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #1f295e;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.ind-alpha-link:hover {
    background: #3b82f6;
    color: #fff;
}

.ind-directory {
    max-width: 1000px;
    margin: 0 auto;
}

.ind-letter-group {
    margin-bottom: 40px;
}

.ind-letter-header {
    font-size: 28px;
    font-weight: 700;
    color: #1f295e;
    padding-bottom: 12px;
    border-bottom: 3px solid #3b82f6;
    margin-bottom: 16px;
}

.ind-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s;
}

.ind-row:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ind-row-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ind-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f295e;
}

.ind-count {
    font-size: 13px;
    color: #64748b;
}

.ind-row-actions {
    display: flex;
    gap: 10px;
}

.ind-btn-service {
    padding: 8px 16px;
    background: #3b82f6;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.ind-btn-service:hover {
    background: #2563eb;
    color: #fff;
}

.ind-btn-samples {
    padding: 8px 16px;
    background: #fff;
    color: #1f295e;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: background 0.2s, border-color 0.2s;
}

.ind-btn-samples:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1f295e;
}

/* Process Section */
.ind-process-section {
    padding: 80px 0;
    background: #1f295e;
}

.ind-process-section .section-title-service,
.ind-process-section .section-subtitle {
    color: #fff;
}

.ind-process-section .section-subtitle {
    opacity: 0.8;
}

.ind-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ind-process-step {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.ind-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.ind-process-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ind-process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Samples Section */
.ind-samples-section {
    padding: 80px 0;
    background: #fff;
}

.ind-samples-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
}

.ind-samples-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 16px;
}

.ind-samples-lead {
    font-size: 18px;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 16px;
}

.ind-samples-text > p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ind-samples-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.ind-samples-list li {
    padding: 12px 0;
    font-size: 15px;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.ind-samples-list li:last-child {
    border-bottom: none;
}

.ind-samples-list li strong {
    color: #1f295e;
}

.ind-samples-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ind-samples-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.ind-samples-stat-num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #1f295e;
    line-height: 1;
    margin-bottom: 8px;
}

.ind-samples-stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Guarantee Section */
.ind-guarantee-section {
    padding: 60px 0;
    background: #f8fafc;
}

.ind-guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
}

.ind-guarantee-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 16px;
}

.ind-guarantee-box p {
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ind-guarantee-link {
    font-size: 15px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
}

.ind-guarantee-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.ind-faq-section {
    padding: 80px 0;
    background: #fff;
}

.ind-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ind-faq-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #e2e8f0;
}

.ind-faq-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 12px;
}

.ind-faq-item p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.ind-faq-item a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.ind-faq-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.ind-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f295e 0%, #0f172a 100%);
    text-align: center;
}

.ind-cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.ind-cta-section > .container > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.ind-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ind-cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .ind-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ind-hero-answer {
        margin-left: auto;
        margin-right: auto;
    }
    
    .ind-hero-cta {
        justify-content: center;
    }
    
    .ind-hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ind-stat-box {
        flex: 1;
        min-width: 150px;
        max-width: 200px;
    }
    
    .ind-value-grid {
        grid-template-columns: 1fr;
    }
    
    .ind-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ind-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ind-samples-content {
        grid-template-columns: 1fr;
    }
    
    .ind-samples-stats {
        flex-direction: row;
    }
    
    .ind-samples-stat-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .ind-hero {
        padding: 60px 0 80px;
    }
    
    /* v2.0: Target both h1 and p.ind-hero-headline */
    .ind-hero h1,
    .ind-hero-headline,
    p.ind-hero-headline {
        font-size: 32px;
    }
    
    .ind-hero-answer {
        font-size: 15px;
    }
    
    .ind-hero-sub {
        font-size: 17px;
    }
    
    .ind-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .ind-hero-cta .btn-service,
    .ind-hero-cta .btn-service-outline {
        width: 100%;
        max-width: 280px;
    }
    
    .ind-stat-box {
        min-width: 100%;
    }
    
    .ind-compare-grid {
        grid-template-columns: 1fr;
    }
    
    .ind-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .ind-process-grid {
        grid-template-columns: 1fr;
    }
    
    .ind-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ind-row-actions {
        width: 100%;
    }
    
    .ind-btn-service,
    .ind-btn-samples {
        flex: 1;
        text-align: center;
    }
    
    .ind-samples-stats {
        flex-direction: column;
    }
    
    .ind-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .ind-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ind-cta-buttons .btn-service,
    .ind-cta-buttons .btn-service-light {
        width: 100%;
        max-width: 280px;
    }
    
    .ind-alpha-link {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}