:root {
    --primary-color: #4F46E5;
    /* Indigo */
    --secondary-color: #FF5733;
    /* Orange chaud */
    --dark-color: #1F2937;
    /* Gris foncé */
    --light-color: #F3F4F6;
    /* Gris clair */
    --white: #FFFFFF;
    --text-color: #1F2937;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    /* Breakpoints */
    --mobile: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --desktop: 1440px;

    /* Responsive Typography */
    --h1-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    --h2-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
    --h3-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    --body-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
    --small-size: clamp(0.875rem, 0.5vw + 0.5rem, 1rem);

    /* Responsive Spacing */
    --section-padding: clamp(3rem, 8vw, 6rem);
    --container-padding: clamp(1rem, 3vw, 2rem);
    --gap-size: clamp(1rem, 2vw, 2rem);
    --card-padding: clamp(1.5rem, 3vw, 2rem);

    /* Container Sizes */
    --container-width: min(100% - 2rem, var(--desktop));
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: var(--body-size);
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--dark-color);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(255, 87, 51, 0.1) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Animation gradient pour le fond */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero {
    position: relative;
    background: linear-gradient(-45deg,
            rgba(79, 70, 229, 0.15),
            rgba(255, 87, 51, 0.15),
            rgba(79, 70, 229, 0.15),
            rgba(255, 87, 51, 0.15));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}


.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #d13046;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light-blue);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: var(--h1-size);
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    min-width: 200px;
    max-width: 3000px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: auto;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: var(--card-padding);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.feature-icon.gradient-bg {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(255, 87, 51, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.gradient-bg svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.feature-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 425px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--light-color);
    overflow: hidden;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.demo-container {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.demo-tabs {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--dark-color);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.demo-tab svg {
    width: 20px;
    height: 20px;
}

.demo-tab.active {
    background: var(--gradient);
    color: white;
}

.demo-content {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* Ratio 16:9 */
    overflow: hidden;
}

.demo-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.demo-screen.active {
    opacity: 1;
    visibility: visible;
}

.demo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.demo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem;
    color: white;
}

.demo-overlay h3 {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
}

.demo-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
}

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

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-color);
}

.testimonial-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.bento-result-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.bento-result-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-result-card.horizontal {
    grid-column: span 2;
    display: flex;
    align-items: center;
}

.bento-result-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-result-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bento-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.bento-result-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.bento-result-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(255, 87, 51, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bento-result-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.gradient-bg {
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.gradient-bg:hover::before {
    opacity: 0.1;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-result-card.large,
    .bento-result-card.horizontal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 425px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Utility Classes */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

/* Update section titles to use gradient text */
.section-title h2,
.stat-number {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

/* Media Query Mixins */
@media (min-width: 425px) {
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 768px) {
    .hide-tablet {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hide-desktop {
        display: none;
    }
}

/* Responsive Utilities */
.text-center-mobile {
    @media (max-width: 425px) {
        text-align: center;
    }
}

.full-width-mobile {
    @media (max-width: 425px) {
        width: 100%;
    }
}

/* Responsive Spacing */
.stack>*+* {
    margin-top: var(--gap-size);
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-size);
}

@media (max-width: 425px) {
    .stack-mobile>*+* {
        margin-top: var(--gap-size);
    }

    .cluster-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: var(--gap-size);
    }
}

/* Media Queries */
@media (max-width: 425px) {
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .nav-links {
        display: none;
    }

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

    .bento-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 1rem;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }

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

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

    .feature-card {
        padding: 1.5rem;
    }

    .demo-tabs {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .features-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .features-cta .btn-primary {
        margin-top: 1.5rem;
    }

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    .container {
        max-width: 90%;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

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

    .header-container {
        padding: 1rem var(--container-padding);
    }

    .nav-links {
        gap: clamp(1rem, 2vw, 2rem);
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    html {
        font-size: 18px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 5vw, 4.5rem);
    }
}

/* Animations avancées */
.feature-card,
.bento-card {
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.feature-card:hover,
.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger svg {
    width: 24px;
    height: 24px;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

/* Responsive Container */
.container {
    margin: 0 auto;
    width: min(var(--container-width), 100% - 2rem);
    padding-inline: var(--container-padding);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: break-word;
    hyphens: auto;
}

/* Responsive Cards and Grids */
@media (max-width: 1024px) {

    .features-grid,
    .process-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-size);
    }

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

@media (max-width: 425px) {

    .features-grid,
    .process-grid,
    .resources-grid,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .section-title {
        text-align: center;
    }

    .section-title h2 {
        font-size: var(--h2-size);
    }
}

/* Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce motion on mobile */
    @media (prefers-reduced-motion: no-preference) {
        .feature-card:hover {
            transform: none;
        }
    }

    /* Optimize images for mobile */
    .hero img,
    .feature-card img,
    .demo-image {
        max-height: 50vh;
        object-fit: cover;
    }
}

/* Loading states */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Responsive Grid Layouts */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(min(100%, 250px), 1fr));
    gap: var(--gap-size);
}

/* Responsive Containers */
.container-fluid {
    width: 100%;
    padding-inline: var(--container-padding);
}

.container-narrow {
    max-width: min(65ch, 100% - 2rem);
    margin-inline: auto;
}

/* Base Responsive Typography */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol) {
    max-width: 65ch;
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: clamp(2rem, 5vw, 4rem);
        --gap-size: clamp(1rem, 2vw, 1.5rem);
    }
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
}

/* Fix Demo Section on Mobile */
@media (max-width: 768px) {
    .demo-content {
        margin-bottom: 0;
    }

    .demo-image {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
    }

    .demo-overlay {
        padding: 1rem;
    }
}

/* Header Mobile Fixes */
@media (max-width: 768px) {
    .header-container {
        position: relative;
        justify-content: space-between;
        padding: 1rem var(--container-padding);
    }

    .hamburger {
        margin-left: auto;
        padding-right: 0;
    }

    /* Adjust nav position */
    .nav-links {
        width: 100%;
        left: 0;
        padding: 1rem;
    }
}