/* Styles spécifiques pour la page IA Offline */
.page-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(13, 71, 161, 0.2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.page-hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid #2196F3;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(103, 58, 183, 0.1), rgba(33, 150, 243, 0.1));
    z-index: -1;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 1rem;
    text-align: center;
}

.info-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.info-card > p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-toggle {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.card-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    color: rgba(255, 255, 255, 0.8);
}

.card-details.active {
    max-height: 500px;
    margin-top: 1.5rem;
}

.platforms-section {
    margin: 4rem 0;
}

.platforms-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.platforms-section > p {
    text-align: center;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-card:hover {
    transform: translateY(-5px);
    background: rgba(33, 150, 243, 0.05);
}

.platform-logo {
    font-size: 3rem;
    color: #2196F3;
    margin-bottom: 1rem;
}

.platform-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.platform-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.platform-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.platform-link {
    display: inline-block;
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.comparison-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.comparison-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header, .comparison-row {
    display: table-row;
}

.comparison-cell {
    display: table-cell;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.comparison-header .comparison-cell {
    background: rgba(33, 150, 243, 0.1);
    font-weight: bold;
    color: #2196F3;
    text-align: center;
}

.comparison-row .comparison-cell:first-child {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.comparison-row .comparison-cell {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.comparison-row .comparison-cell .fa-check-circle {
    color: #4CAF50;
    margin-right: 0.5rem;
}

.comparison-row .comparison-cell .fa-times-circle {
    color: #F44336;
    margin-right: 0.5rem;
}

.comparison-row .comparison-cell .fa-minus-circle {
    color: #FF9800;
    margin-right: 0.5rem;
}

.philosophy-section {
    margin: 4rem 0;
}

.philosophy-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
}

.philosophy-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.philosophy-text li {
    margin-bottom: 0.8rem;
}

.philosophy-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.getting-started {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
    text-align: center;
}

.getting-started h2 {
    margin-bottom: 3rem;
    color: #fff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.getting-started-cta {
    margin-top: 2rem;
}

.getting-started-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .comparison-header, .comparison-row {
        display: flex;
        flex-direction: column;
    }
    
    .comparison-cell {
        display: block;
        text-align: left;
    }
    
    .comparison-header .comparison-cell:not(:first-child),
    .comparison-row .comparison-cell:not(:first-child) {
        border-top: none;
    }
}

@media (max-width: 600px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .cards-container,
    .platform-cards {
        grid-template-columns: 1fr;
    }
}