/* Style de base pour la bannière - toutes tailles d'écran */
/* .row.banner-background : double classe pour surcharger Bootstrap .row (margin-top) chargé après via importmap */
.row.banner-background {
    background-color: #f6f9fe;
    min-height: 400px;
    margin-top: 40px;
    padding-bottom: 50px;
    background-image: url("../img-intelligent-networks/banner-bg-01-sysupVG.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Higher specificity than Bootstrap's .container to override max-width */
.banner-background .banner-container {
    width: 80%;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
}

/* !important needed on banner-heading to override Bootstrap .display-3 and .pb-4 utilities */
@media (max-width: 768px) {
    .banner-content {
        text-align: center !important;
        padding: 30px 15px !important;
    }

    .banner-heading {
        font-size: 2rem !important;
        padding-bottom: 20px !important;
    }

    .banner-text-container {
        width: 100%;
    }

    .banner-logo {
        padding: 20px 15px !important;
        order: -1;
        width: 100%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 250px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-content {
        padding: 40px 20px !important;
    }

    .banner-logo {
        padding: 40px 20px !important;
        width: 40%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 350px !important;
    }

    .banner-text-container {
        padding-top: 25px;
        width: 60%;
    }
}

@media (min-width: 1025px) {
    .banner-content {
        padding: 60px 30px !important;
    }

    .banner-logo {
        padding: 60px 30px !important;
        width: 40%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 350px !important;
    }

    .banner-text-container {
        width: 60%;
        padding-top: 25px;
    }
}

/* ========================================
   FEATURES SECTION - Modern Design
   ======================================== */

.features-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    padding: 60px 0 80px;
}

.features-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4232c2, #6266ea);
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-section-subtitle {
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 20px;
}

/* Feature Card */
.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(66, 50, 194, 0.06);
    border: 1px solid rgba(66, 50, 194, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4232c2, #6266ea);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(66, 50, 194, 0.15);
    border-color: rgba(66, 50, 194, 0.15);
}

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

/* Feature Icon Wrapper */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    opacity: 0.3;
    transform: scale(1);
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(66, 50, 194, 0.3);
}

.feature-card:hover .feature-icon-wrapper::after {
    transform: scale(1.4);
    opacity: 0;
}

.feature-icon-wrapper i {
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
}

/* Feature Title */
.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Feature Text */
.feature-text {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-section-title {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .features-section {
        padding: 40px 0 60px;
    }
    
    .features-section-title {
        font-size: 1.75rem;
    }
    
    .features-section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon-wrapper i {
        font-size: 24px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 480px) {
    .features-section-title {
        font-size: 1.5rem;
    }
    
    .title-underline {
        width: 60px;
        height: 3px;
    }
}

/* ========================================
   MARKETING ENHANCEMENTS
   ======================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hero CTA group */
.banner-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .banner-cta-group {
        flex-direction: column;
    }

    .banner-cta-group .btn {
        width: 100%;
    }
}

/* Problem Statement Section */
.problem-statement-section {
    background: linear-gradient(135deg, #f6f9fe 0%, #ffffff 100%);
}

.problem-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(66, 50, 194, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.15);
}

/* Social Proof Section */
.social-proof-section {
    background: #f6f9fe;
}

.metric-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(66, 50, 194, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(66, 50, 194, 0.15);
}

.metric-number {
    font-size: 3.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 0.95rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .metric-number {
        font-size: 2.5rem;
    }

    .metric-card {
        min-height: 180px;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
    }

    .trust-badge i {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .trust-badge .d-inline-block {
        display: block !important;
        text-align: center !important;
    }
}

/* Post-Use Cases CTA */
.post-usecases-cta {
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    position: relative;
    overflow: hidden;
}

.post-usecases-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.post-usecases-cta::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.post-usecases-cta .container {
    position: relative;
    z-index: 1;
}

.post-usecases-cta .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f6f9fe 100%);
    padding: 80px 0;
}

.cta-card {
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(66, 50, 194, 0.15) !important;
}

.cta-benefits li {
    font-size: 1rem;
    padding-left: 10px;
}

.cta-benefits i {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .final-cta-section {
        padding: 50px 0;
    }

    .final-cta-section .col-lg-7 {
        text-align: center;
    }

    .cta-benefits {
        text-align: left;
        display: inline-block;
    }
}

.cta-card .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.3);
    transition: all 0.3s ease;
}

.cta-card .btn-outline-secondary:hover {
    background-color: #6266ea;
    border-color: #6266ea;
    color: white;
}

/* ========================================
   MODULES SECTION - Modern Design
   ======================================== */

.modules-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    padding: 60px 0 80px;
}

/* Header */
.modules-header {
    padding: 40px 0;
    text-align: center;
}

.modules-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(66, 50, 194, 0.3);
}

.modules-icon i {
    font-size: 36px;
    color: white;
}

.modules-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.modules-subtitle {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.modules-subtitle strong {
    color: #4232c2;
    font-size: 1.25rem;
}

/* Filter Bar */
.modules-filter-bar {
    background: linear-gradient(90deg, #4232c2 0%, #6266ea 100%);
    padding: 30px 0;
    margin: 40px 0 50px;
    position: relative;
}

.modules-filter-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: white;
}

.filter-pill.active {
    background: white;
    border-color: white;
    color: #4232c2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.filter-pill i {
    font-size: 1.1rem;
}

/* Grid Container */
.modules-grid-container {
    padding: 0 20px;
}

/* Module Cards */
.module-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

/* Card Variants */
.module-card--primary::before {
    background: linear-gradient(90deg, #4232c2, #6266ea);
}

.module-card--secondary::before {
    background: linear-gradient(90deg, #2d3748, #4a5568);
}

.module-card--accent::before {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.module-card--warning::before {
    background: linear-gradient(90deg, #ea580c, #f97316);
}

/* Card Icon */
.module-card__icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.module-card:hover .module-card__icon {
    transform: scale(1.1);
}

.module-card--primary .module-card__icon {
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.3);
}

.module-card--secondary .module-card__icon {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.3);
}

.module-card--accent .module-card__icon {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.module-card--warning .module-card__icon {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

/* Card Badge */
.module-card__badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.module-card--primary .module-card__badge {
    background: rgba(66, 50, 194, 0.1);
    color: #4232c2;
}

.module-card--secondary .module-card__badge {
    background: rgba(45, 55, 72, 0.1);
    color: #2d3748;
}

.module-card--accent .module-card__badge {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.module-card--warning .module-card__badge {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

/* Card Title */
.module-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

/* Card Text */
.module-card__text {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .modules-title {
        font-size: 2rem;
    }
    
    .filter-pills {
        gap: 10px;
    }
    
    .filter-pill {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .modules-section {
        padding: 40px 0 60px;
    }
    
    .modules-icon {
        width: 65px;
        height: 65px;
    }
    
    .modules-icon i {
        font-size: 28px;
    }
    
    .modules-title {
        font-size: 1.75rem;
    }
    
    .modules-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .modules-subtitle strong {
        font-size: 1.1rem;
    }
    
    .modules-filter-bar {
        padding: 20px 0;
        margin: 30px 0 40px;
    }
    
    .filter-pills {
        gap: 8px;
        padding: 0 10px;
    }
    
    .filter-pill {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .filter-pill span {
        display: none;
    }
    
    .module-card {
        padding: 25px 20px;
    }
    
    .module-card__icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .module-card__title {
        font-size: 1.05rem;
    }
    
    .module-card__text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modules-title {
        font-size: 1.5rem;
    }
    
    .filter-pill i {
        margin: 0;
    }
}
