/* Reset et variables CSS */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-blue: #4c6ef5;
    --light-blue: #e3f2fd;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    font-size: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switcher-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #e9ecef;
}

.lang-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background: var(--light-blue);
    color: var(--accent-blue);
}

.lang-link.active {
    background: var(--accent-blue);
    color: white;
}

.lang-separator {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Hero section padding adjustment for fixed navbar */
.hero {
    padding-top: 6rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typographie améliorée */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--white);
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Boutons modernes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* Hero Section moderne */
.hero {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-video {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

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

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(3px);
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Cases Section */
.cases {
    padding: 6rem 0;
    background: var(--white);
}

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

.case {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: all 0.3s ease;
}

.case:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.case::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-blue);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.case p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text a,
.contact-text span {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent-blue);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.alert-content p {
    margin: 0;
    line-height: 1.5;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
}

/* Footer moderne */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-switcher-nav {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-video {
        order: -1;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .service-cards,
    .case-studies {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .case {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Integration Page Styles */
.page-nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.btn-back {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--light-blue);
}

.integration-hero {
    background: var(--primary-gradient);
    padding: 6rem 0 4rem;
    color: var(--white);
    text-align: center;
}

.integration-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.integration-intro {
    padding: 6rem 0;
    background: var(--white);
}

.intro-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.intro-content > p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-gray);
    line-height: 1.7;
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.integration-schema {
    padding: 6rem 0;
    background: var(--bg-light);
}

.schema-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow-x: auto;
}

.mermaid-diagram {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popular-nodes {
    padding: 6rem 0;
    background: var(--white);
}

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

.node-category h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
}

.nodes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.node-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.node-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.node-logo {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.node-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.node-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.use-cases {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.use-case-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.use-case-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.use-case-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.use-case-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--light-blue);
    color: var(--accent-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.integration-cta {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.page-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
}

.page-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive pour la page d'intégration */
@media (max-width: 768px) {
    .page-nav .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .nodes-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .schema-container {
        padding: 1.5rem;
    }
}

/* Development Node Page Styles */
.tech-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.tech-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.tech-header h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.5rem;
}

.code-example {
    background: #2d3748;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.code-example h4 {
    color: var(--white);
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.code-example pre {
    margin: 0;
    overflow-x: auto;
}

.code-example code {
    font-size: 0.85rem;
    line-height: 1.4;
}

.webhook-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.webhook-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.webhook-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.webhook-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.webhook-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.webhook-item p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.feature-item {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-left: 1rem;
    position: relative;
}

.ai-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.ai-category {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.ai-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.ai-header h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.3rem;
}

.ai-category p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-feature {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-blue);
}

.ai-feature strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.ai-feature span {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive pour les pages de développement */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .webhook-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item,
    .webhook-item,
    .ai-category {
        padding: 1.5rem;
    }
    
    .code-example {
        padding: 1rem;
    }
    
    .code-example code {
        font-size: 0.8rem;
    }
}

/* Prism theme overrides */
pre[class*="language-"] {
    background: #2d3748 !important;
    border-radius: var(--border-radius);
}

code[class*="language-"] {
    color: #e2e8f0 !important;
}

/* Utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gray { color: var(--text-gray); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
