/* ========================================
   Make Safety Easy - Industry Pages Styles
   Extends /styles.css marketing base
   ======================================== */

/* All industry sections need z-index above backgrounds */
.ind-hero, .ind-pain, .ind-solution, .ind-stats, .ind-testimonial, .ind-faq {
    position: relative;
    z-index: 1;
}

/* ===================== INDUSTRY HERO ===================== */
.ind-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
}

.ind-hero-content {
    max-width: 720px;
}

.ind-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    color: var(--blue-light);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.ind-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.ind-hero-sub {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.75;
    max-width: 600px;
}

.ind-social-proof {
    margin-bottom: 32px;
}

.ind-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
    color: var(--green);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
}

.ind-trust-badge i {
    font-size: 1rem;
}

/* Hero load animations */
.ind-hero-content .ind-badge,
.ind-hero-content h1,
.ind-hero-content .ind-hero-sub,
.ind-hero-content .ind-social-proof,
.ind-hero-content .hero-ctas {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ind-hero-content .ind-badge { animation-delay: 0s; }
.ind-hero-content h1 { animation-delay: 0.1s; }
.ind-hero-content .ind-hero-sub { animation-delay: 0.25s; }
.ind-hero-content .ind-social-proof { animation-delay: 0.35s; }
.ind-hero-content .hero-ctas { animation-delay: 0.45s; }

/* ===================== PAIN POINTS ===================== */
.ind-pain {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pain-card {
    background: var(--navy-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.6), rgba(245, 158, 11, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(239, 68, 68, 0.15);
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(245, 158, 11, 0.08));
    margin-bottom: 18px;
}

.pain-icon i {
    font-size: 1.2rem;
    color: #ef4444;
}

.pain-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 0.93rem;
    color: var(--gray-400);
    line-height: 1.65;
}

/* ===================== SOLUTION ===================== */
.ind-solution {
    padding: 120px 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===================== STATS ===================== */
.ind-stats {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
}

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

.stat-card {
    background: var(--navy-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-big {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--blue-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 12px;
}

.stat-source {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-style: italic;
    opacity: 0.7;
}

/* ===================== TESTIMONIAL ===================== */
.ind-testimonial {
    padding: 100px 0;
}

/* ===================== FAQ ===================== */
.ind-faq {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
}

.faq-list {
    max-width: 760px;
    margin: 48px auto 0;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    background: var(--navy-card);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(59, 130, 246, 0.2);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-toggle:hover {
    color: var(--blue-light);
}

.faq-toggle i {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ind-hero {
        min-height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }

    .ind-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-toggle {
        font-size: 0.92rem;
        padding: 16px 20px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
    }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    .ind-hero-content .ind-badge,
    .ind-hero-content h1,
    .ind-hero-content .ind-hero-sub,
    .ind-hero-content .ind-social-proof,
    .ind-hero-content .hero-ctas {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .faq-answer {
        transition: none;
    }
}
