/* =========================================
   RESPONSIVE
========================================= */

/* iPad Landscape & Small MacBooks: up to 1366px */
@media screen and (max-width: 1366px) {
    .main-wrapper {
        padding: 0 40px;
    }

    /* General Layout & Fonts */
    .hero-container,
    .product-info-section,
    .features-section,
    .backend-section,
    .product-features-section,
    .parameters-section {
        padding: 50px 40px;
    }

    .hero-grid,
    .product-grid,
    .features-grid,
    .product-features-grid,
    .backend-grid,
    .parameters-grid {
        gap: 40px;
    }

    .product-heading,
    .features-title,
    .backend-heading,
    .product-features-title,
    .parameters-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .product-description,
    .features-list,
    .backend-list,
    .product-features-list,
    .parameters-list,
    .param-list {
        font-size: 18px;
    }

    /* Hero Section */
    .hero-title-left,
    .hero-title-right {
        font-size: 96px;
    }

    .grid-left-panel {
        margin-top: 100px;
    }

    .hero-video-box {
        width: 320px;
        height: 240px;
    }

    .hero-video-inner {
        height: 240px;
    }

    .hero-kiosk-box {
        left: -180px;
        top: -160px;
    }

    .hero-kiosk-image {
        width: 340px;
    }

    .hero-triangle-bg {
        right: 360px;
        top: -60px;
        width: 120px;
    }

    /* Prevent Images from overlapping text */
    .product-grid-right {
        margin-top: -150px;
    }

    .product-kiosk-mount-img {
        width: 250px;
        top: 0;
    }

    .product-bg-shape {
        bottom: 80px;
    }

    .features-grid-left {
        margin-top: -100px;
    }

    .features-ui-image {
        width: 100%;
        margin-top: -200px;
        margin-left: 0;
        height: auto;
        max-width: 450px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .backend-grid-right {
        margin-top: -50px;
    }

    .backend-image {
        max-width: 450px;
    }

    .product-features-grid-right {
        margin-top: -80px;
    }

    .product-features-image {
        max-width: 450px;
    }

    .parameters-grid-left {
        margin-top: -80px;
    }

    .parameters-image {
        max-width: 450px;
    }
}

/* iPad Portrait & Tablets: up to 1024px */
@media screen and (max-width: 1024px) {
    .main-wrapper {
        padding: 0 20px;
    }

    /* Stack Everything */
    .hero-container,
    .product-info-section,
    .features-section,
    .backend-section,
    .product-features-section,
    .parameters-section {
        padding: 40px 20px;
    }

    .hero-grid,
    .product-grid,
    .features-grid,
    .product-features-grid,
    .backend-grid,
    .parameters-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 0 !important;
    }

    /* Common Typography for 1024px */
    .product-heading,
    .features-title,
    .backend-heading,
    .product-features-title,
    .parameters-heading {
        font-size: 32px;
        margin-bottom: 20px;
        text-align: center;
    }

    .product-description,
    .features-list,
    .backend-list,
    .product-features-list,
    .parameters-list,
    .param-list {
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }

    .product-title-group,
    .features-title-row,
    .backend-title-group,
    .product-features-title-row,
    .parameters-title-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .product-line-outer,
    .features-title-line-outer,
    .backend-line-outer,
    .parameters-line-outer {
        padding-top: 0;
    }

    .product-horizontal-line,
    .features-title-line,
    .backend-horizontal-line,
    .product-features-title-line,
    .parameters-horizontal-line {
        margin-left: 0;
        width: 80px;
        flex-grow: 0;
    }

    /* Hero */
    .grid-left-panel {
        margin-top: 40px;
        padding-left: 0;
        align-items: center;
        text-align: center;
        z-index: 5;
    }

    .hero-title-left,
    .hero-title-right {
        font-size: 80px;
        margin-bottom: 20px;
        text-align: center;
        margin-top: 0;
    }

    .hero-video-box {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .hero-video-inner {
        width: 100%;
        height: 100%;
    }

    .grid-right-panel {
        padding-right: 0;
        align-items: center;
        margin-top: 20px;
    }

    .hero-kiosk-box {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 40px;
    }

    .hero-kiosk-image {
        width: 100%;
        max-width: 400px;
    }

    .hero-triangle-bg {
        display: none;
    }

    /* Section Image Realignments */
    .product-kiosk-mount-img {
        width: 100%;
        max-width: 320px;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .product-bg-shape,
    .product-triangle-img {
        display: none;
    }

    .features-ui-image {
        margin-top: 0 !important;
        width: 100%;
        max-width: 500px;
        height: auto;
        margin-left: 0;
    }

    .backend-image,
    .product-features-image,
    .parameters-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .backend-bg-shape {
        display: none;
    }

    .product-grid-right,
    .features-grid-left,
    .features-grid-right,
    .backend-grid-left,
    .backend-grid-right,
    .product-features-grid-right,
    .parameters-grid-left,
    .parameters-grid-right {
        margin-top: 0 !important;
        justify-content: center;
        padding: 0;
    }
}

/* Mobile: up to 600px */
@media screen and (max-width: 600px) {

    .main-wrapper {
        width: 100%;
    }

    /* General Layout */
    .hero-container,
    .product-info-section,
    .features-section,
    .backend-section,
    .product-features-section,
    .parameters-section {
        padding: 40px 20px;
    }

    .hero-grid,
    .product-grid,
    .features-grid,
    .product-features-grid,
    .backend-grid,
    .parameters-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 0 !important;
    }

    /* Hero */
    .grid-left-panel {
        margin-top: 40px;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .hero-title-left {
        font-size: 60px;
        margin-bottom: 30px;
    }

    .hero-video-box {
        width: 100%;
        max-width: 370px;
        height: auto;
    }

    .hero-video-inner {
        height: auto;
        aspect-ratio: 16/9;
    }

    .grid-right-panel {
        padding-right: 0;
        align-items: center;
        margin-top: 20px;
    }

    .hero-title-right {
        font-size: 60px;
        margin-top: 0;
        text-align: center;
    }

    .hero-kiosk-box {
        position: relative;
        top: 0;
        left: 0;
        margin: 30px 0;
    }

    .hero-kiosk-image {
        width: 100%;
        max-width: 300px;
    }

    .hero-triangle-bg {
        display: none;
    }

    /* Product Section */
    .product-grid-left {
        padding: 0;
    }

    .product-bg-shape {
        bottom: 0;
        right: 0;
    }

    .product-triangle-img {
        display: none;
    }

    .product-kiosk-mount-img {
        width: 100%;
        max-width: 250px;
        top: 0;
        left: 0;
    }

    .product-grid-right {
        margin-top: 20px;
    }

    .product-title-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .product-line-outer {
        padding-top: 0;
    }

    .product-horizontal-line {
        margin-left: 0;
        width: 60px;
    }

    .product-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .product-description {
        font-size: 16px;
    }

    /* Features Section */
    .features-grid-left {
        margin-top: 0;
    }

    .features-title-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .features-title {
        font-size: 28px;
        white-space: normal;
    }

    .features-title-line {
        width: 60px;
        flex-grow: 0;
    }

    .features-list {
        font-size: 16px;
    }

    .features-grid-right {
        justify-content: center;
        margin-top: 20px;
    }

    .features-ui-image {
        margin-top: 0;
        width: 100%;
        height: auto;
    }

    /* Backend Section */
    .backend-grid-left {
        padding: 20px 0;
    }

    .backend-bg-shape {
        top: 0;
        bottom: 0;
        right: 0;
    }

    .backend-image {
        width: 100%;
        margin-left: 0;
    }

    .backend-grid-right {
        margin-top: 20px;
    }

    .backend-title-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .backend-line-outer {
        padding-top: 0;
    }

    .backend-horizontal-line {
        margin-left: 0;
        width: 60px;
    }

    .backend-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .backend-list {
        font-size: 16px;
    }

    /* Product Features */
    .product-features-title-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .product-features-title {
        font-size: 28px;
        white-space: normal;
    }

    .product-features-title-line {
        width: 60px;
        flex-grow: 0;
    }

    .product-features-list {
        font-size: 16px;
    }

    .product-features-grid-right {
        margin-top: 20px;
        justify-content: center;
    }

    .product-features-image {
        width: 100%;
    }

    /* Parameters */
    .parameters-grid-left {
        margin-top: 0;
    }

    .parameters-grid-right {
        margin-top: 20px;
    }

    .parameters-title-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .parameters-line-outer {
        padding-top: 0;
    }

    .parameters-horizontal-line {
        margin-left: 0;
        width: 60px;
    }

    .parameters-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .parameters-list {
        font-size: 16px;
        margin-left: 0;
    }

    /* FOOTER RESPONSIVE */
    .aihome-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .aihome-footer__center {
        width: 100%;
        padding: 0;
    }

    .aihome-footer__right {
        align-items: center;
    }
}