/**
 * IRONCREST Software - Industry Pages Styles
 * Following brand guide: gradients, rounded icons, pills, modern enterprise look
 */

/* Industry Hero */
.industry-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #2A3B8F 100%);
    margin-top: 80px;
    padding: 6rem 0 4rem;
    text-align: center;
}

.industry-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.industry-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.industry-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.85) 0%, rgba(42, 59, 143, 0.9) 100%);
    z-index: 1;
}

.industry-hero__content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Page Badge - Standard Component */
.page-badge,
.industry-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.page-badge i,
.industry-hero__badge i {
    font-size: 1.125rem;
    color: #60a5fa;
}

.industry-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.industry-hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Overview Section */
.industry-overview {
    padding: 6rem 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.overview-text {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-cta {
    font-size: 1.25rem;
    color: #2B68C1;
    font-weight: 600;
    line-height: 1.6;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 2px solid #e0f2fe;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 104, 193, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #2A3B8F 0%, #2B68C1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(43, 104, 193, 0.25);
}

.stat-icon i {
    font-size: 1.75rem;
    color: white;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #2A3B8F;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.3;
}

/* Audience Section */
.industry-audience {
    padding: 6rem 0;
    background: #f8fafc;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

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

.audience-card i {
    font-size: 1.5rem;
    color: #2B68C1;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.audience-card p {
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Solutions Section */
.industry-solutions {
    padding: 6rem 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.solutions-column .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.challenge-list, .solution-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge-item, .solution-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.challenge-item {
    border-left-color: #ef4444;
}

.solution-item {
    border-left-color: #10b981;
}

.challenge-item:hover, .solution-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.challenge-item i {
    font-size: 1.25rem;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.solution-item i {
    font-size: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.challenge-item p, .solution-item p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

/* Capabilities Section */
.industry-capabilities {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.industry-capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(43,104,193,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.industry-capabilities .container {
    position: relative;
    z-index: 1;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2A3B8F, #2B68C1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 104, 193, 0.15);
}

.capability-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #2A3B8F 0%, #2B68C1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(43, 104, 193, 0.3);
}

.capability-icon i {
    font-size: 2rem;
    color: white;
}

.capability-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Section Titles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(43,104,193,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #64748b;
    line-height: 1.6;
}

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

.hero-cta-group {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta--primary {
    background: linear-gradient(135deg, #2A3B8F 0%, #2B68C1 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(43, 104, 193, 0.3);
}

.btn-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(43, 104, 193, 0.4);
}

.btn-cta--primary:hover i {
    transform: translateX(4px);
}

.btn-cta--secondary {
    background: white;
    color: #2A3B8F;
    border: 2px solid #2B68C1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta--secondary:hover {
    background: #2A3B8F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43, 104, 193, 0.2);
}

.btn-cta--secondary:hover i {
    transform: scale(1.1);
}

.btn-cta--white {
    background: white;
    color: #2B68C1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.btn-cta--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(43, 104, 193, 0.28);
}

.btn-cta--white:hover i {
    transform: translateX(4px);
}

.btn-cta--outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.3);
}

.btn-cta--outline-light:hover {
    background: #ffffff;
    color: #2B68C1;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(43, 104, 193, 0.35);
}

.btn-cta--outline-light:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .industry-hero {
        padding: 4rem 0 3rem;
    }
    
    .industry-hero__title {
        font-size: 2rem;
    }
    
    .industry-hero__subtitle {
        font-size: 1.125rem;
    }
    
    .overview-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .related-tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .related-tech-card {
        padding: 1.5rem;
    }
    
    .related-tech-card__icon {
        width: 48px;
        height: 48px;
    }
    
    .related-tech-card__icon i {
        font-size: 1.75rem;
    }
    
    .related-tech-card__title {
        font-size: 1rem;
    }
}

/* ============================================
   RELATED TECHNOLOGIES SECTION
   ============================================ */
.related-technologies {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.related-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-tech-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.related-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2A3B8F 0%, #2B68C1 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.related-tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(43, 104, 193, 0.15);
    border-color: #2B68C1;
    text-decoration: none;
}

.related-tech-card:hover::before {
    transform: scaleX(1);
}

.related-tech-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42, 59, 143, 0.08) 0%, rgba(43, 104, 193, 0.12) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.related-tech-card:hover .related-tech-card__icon {
    background: linear-gradient(135deg, rgba(42, 59, 143, 0.15) 0%, rgba(43, 104, 193, 0.2) 100%);
    transform: scale(1.1);
}

.related-tech-card__icon i {
    font-size: 2rem;
}

.related-tech-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    margin: 0;
}

.related-tech-card__desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.related-tech-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(43, 104, 193, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2B68C1;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.related-tech-card:hover .related-tech-card__arrow {
    background: #2B68C1;
    color: white;
    transform: translateX(4px);
}
