/* Toonz AI Scaling Systems - Ecosystem Architecture Styles */

.toonz-ai-scaling-systems-wrapper {
    position: relative;
    width: 100%;
    padding: 120px 0;
    color: #1a1a1a;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

.ais-container {
    margin: 0 auto;
    padding: 0 3%;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

/* --- Left Column: Editorial --- */
.ais-left-column {
    flex: 0 0 42%;
}

.ais-headline {
    font-size: 80px;
    line-height: 0.95;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.ais-headline span.accent-orange {
    color: #F87510;
}

.ais-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    max-width: 500px;
}

.ais-note {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.ais-note .accent-orange {
    color: #F87510;
}

/* Points Grid with Dividers */
.ais-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Removing gap to use padding + borders for dividers */
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 45px;
}

.ais-point-content {
    margin-left: 15px;
}

.ais-point-item {
    display: flex;
    gap: 0px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 25px;

}

/* Vertical Divider (Right border for first column) */
.ais-point-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 0;
}

.ais-point-item:nth-child(even) {
    padding-right: 0;
}

/* Remove bottom border for the last row (items 5 and 6) */
.ais-point-item:nth-child(5),
.ais-point-item:nth-child(6) {
    border-bottom: none;
}

.ais-point-icon-box {
    flex: 0 0 45px;
    height: 45px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F87510;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ais-point-icon-box svg {
    width: 20px;
    height: 20px;
}

.ais-point-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #111;
}

.ais-point-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* --- Right Column: Visual Hub --- */
.ais-right-column {
    flex: 1;
    position: relative;
    height: 900px;
    /* Increased height for better spread */
}

.ais-visual-hub {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Hub Structure */
.ais-hub-base {
    position: relative;
    z-index: 5;
    text-align: center;
}

.ais-hub-image {
    width: 650px;
    height: auto;
    display: block;
    margin: 0 auto;

}

/* Floating Node Images (Raw - No Containers) */
.ais-node-card {
    position: absolute;
    z-index: 10;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
}

.ais-node-card:hover {
    transform: scale(1.05) translateZ(30px) !important;
    z-index: 30;
}

.ais-floating-node-img {
    width: 230px;
    /* Adjusted for raw image prominence */
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
    border-radius: 8px;
}

/* Precise Card Positioning based on Design */
/* Top Row */
.node-1 {
    top: 0%;
    left: 10%;
    transform: rotate(-4deg);
}

.node-2 {
    top: 2%;
    right: 5%;
    transform: rotate(4deg);
}

/* Middle Row */
.node-3 {
    top: 25%;
    left: 0%;
    transform: rotate(-2deg);
}

.node-4 {
    top: 30%;
    right: 0%;
    transform: rotate(3deg);
}

/* Bottom Row */
.node-5 {
    bottom: 15%;
    left: -3%;
    transform: rotate(1deg);
}

.node-6 {
    bottom: 18%;
    right: -3%;
    transform: rotate(-3deg);
}


/* --- Responsiveness --- */
@media (max-width: 1400px) {
    .ais-headline {
        font-size: 60px;
    }

    .ais-right-column {
        height: 700px;
    }

    .ais-hub-image {
        width: 500px;
    }

    .ais-node-card {
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .ais-container {
        flex-direction: column;
    }

    .ais-left-column {
        flex: auto;
        width: 100%;
    }

    .ais-right-column {
        width: 100%;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .ais-headline {
        font-size: 42px;
    }

    .ais-points-grid {
        grid-template-columns: 1fr;
    }

    .ais-node-card {
        width: 160px;
    }
}