@media (max-width: 1199.98px) {
    .ds-section {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .ds-nav-links {
        gap: 18px;
    }

    .ds-hero-grid {
        min-height: 540px;
    }

    .ds-hero-bottom-layout {
        grid-template-columns: 6fr 6fr;
    }

    .ds-hero-3d-stage {
        width: clamp(460px, 52vw, 660px);
    }

    .ds-floating-deal-card {
        width: 250px;
        padding: 14px 16px;
    }
}

@media (max-width: 991.98px) {
    .ds-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    /* Switch Desktop Nav to Mobile Drawer */
    .ds-nav-links,
    .ds-header-actions {
        display: none;
    }

    .ds-mobile-toggle {
        display: inline-flex;
    }

    /* Hero Stack */
    .ds-hero {
        padding-top: 36px;
        padding-bottom: 32px;
    }

    .ds-hero-grid {
        min-height: auto;
    }

    .ds-hero-bottom-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .ds-hero-copy-col {
        padding-bottom: 0;
    }

    .ds-hero-subtext {
        max-width: 540px;
    }

    .ds-hero-visual-col {
        display: none;
    }

    .ds-hero-3d-stage {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 640px;
        min-height: auto;
        margin: 24px auto 0;
        padding: 0 24px;
    }

    .ds-floating-deal-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
    }

    /* Bento Grid Stack cleanly */
    .ds-bento-stage {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .bento-lime {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-stat-white {
        grid-column: 1 / 2;
        grid-row: auto;
        transform: none;
    }

    .bento-flow-dark {
        grid-column: 2 / 3;
        grid-row: auto;
        transform: none;
    }

    .bento-photo-main {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 260px;
    }

    .bento-milestone-light {
        grid-column: 1 / 3;
        grid-row: auto;
        transform: none;
    }

    /* Service Cards Vertical */
    .ds-service-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ds-service-content {
        min-height: auto;
    }

    .ds-service-media {
        height: 240px;
    }

    /* Why Section */
    .ds-why-cards-overlay {
        grid-template-columns: 1fr 1fr;
        margin-top: -56px;
        padding: 0 12px;
    }

    /* Timeline Vertical on Tablet & Mobile */
    .ds-timeline-track {
        display: none;
    }

    .ds-timeline-steps {
        grid-template-columns: 1fr;
        gap: 14px;
        border-left: 3px solid var(--border);
        padding-left: 20px;
    }

    /* Industries */
    .ds-industry-card.span-7,
    .ds-industry-card.span-5,
    .ds-industry-card.span-4,
    .ds-industry-card.span-8 {
        grid-column: span 6;
    }

    /* Scenarios Slider */
    .ds-scenario-slide-grid {
        grid-template-columns: 1fr;
    }

    .ds-scenario-photo {
        min-height: 260px;
    }

    /* Articles */
    .ds-article-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ds-table-sticky th {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .ds-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .ds-bento-stage {
        grid-template-columns: 1fr;
    }

    .bento-lime,
    .bento-stat-white,
    .bento-flow-dark,
    .bento-photo-main,
    .bento-milestone-light {
        grid-column: 1 / 2;
    }

    .ds-why-cards-overlay {
        grid-template-columns: 1fr;
        margin-top: 18px;
        padding: 0;
    }

    .ds-why-photo-wrap {
        height: 240px;
    }

    .ds-industry-card.span-7,
    .ds-industry-card.span-5,
    .ds-industry-card.span-4,
    .ds-industry-card.span-8 {
        grid-column: span 12;
        min-height: 250px;
    }

    .ds-compare-card,
    .ds-sim-card {
        padding: 22px;
    }

    .ds-giant-wordmark {
        font-size: clamp(3.4rem, 19vw, 6rem);
    }

    .ds-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

    .ds-toast-container {
        left: 16px;
        right: 16px;
        bottom: 70px;
    }
}

@media (max-width: 575.98px) {
    .container-ds {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ds-hero {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .ds-hero-title {
        font-size: 2.35rem;
        line-height: 1.06;
    }

    .ds-hero-subtext {
        font-size: 0.975rem;
        margin-bottom: 20px;
    }

    .ds-hero-3d-stage {
        padding: 0 16px;
        margin-top: 20px;
        max-width: 100%;
    }

    .ds-inner-title {
        font-size: 2.1rem;
    }

    .ds-section-title {
        font-size: 1.85rem;
    }

    .btn-ds {
        width: 100%;
        justify-content: space-between;
    }

    .ds-hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
    }

    .ds-compare-switch {
        width: 100%;
        flex-direction: column;
    }

    .ds-compare-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 389.98px) {
    .ds-hero-title {
        font-size: 2.05rem;
    }

    .ds-navbar {
        height: 68px;
    }

    .ds-mobile-drawer {
        top: 68px;
    }
}