/* Toonz Ecosystem Thinking - Final Mobile Reset & Design Sync */

.toonz-ecosystem-thinking-wrapper {
    position: relative;
    width: 100%;
    padding: 80px 0;
    color: #1a1a1a;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

.eth-container {
    margin: 0 auto;
    padding: 0 4%;
    box-sizing: border-box;
}

.eth-container *, 
.eth-container *::before, 
.eth-container *::after {
    box-sizing: border-box;
}

.eth-main-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.eth-tag {
    font-size: 14px;
    font-weight: 700;
    color: #b89467;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 25px;
}

.eth-title {
    font-size: 85px;
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.eth-title .thin-text {
    font-weight: 100;
}

.eth-title .eth-accent-1 {
    color: #b37937;
    font-weight: 500;
}

.eth-title .eth-accent-2 {
    color: #000000;
    font-weight: 500;
}

.eth-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 620px;
    margin-bottom: 40px;
}

.eth-accent-block {
    margin-bottom: 20px;
}

.eth-accent-block .accent-gold {
    font-size: 20px;
    font-weight: 700;
    color: #b89467;
    margin-bottom: 5px;
}

.eth-accent-block .sub-muted {
    font-size: 16px;
    color: #888;
}

/* Service Grid */
.eth-service-grid-master {
    margin: 20px 0;
    width: 100%;
    position: relative;
}

.eth-sg-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #f2f2f2;
    flex-wrap: wrap;
}

.eth-sg-row.row-3 {
    border-bottom: 1px solid #f2f2f2;
}

.eth-sg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    flex: 1;
    min-width: 110px;
}

.eth-sg-divider {
    width: 1px;
    height: 50px;
    display: flex;
    align-items: center;
}

.eth-sg-divider img {
    height: 100%;
    width: auto;
}

.eth-sg-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.eth-sg-icon img {
    height: 100%;
    width: auto;
    opacity: 0.6;
    transition: all 0.3s;
}

.eth-sg-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #000;
    text-align: center;
}

.eth-footer-note {
    margin-top: 30px;
}

.eth-footer-note p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Right Side: Visual Stage */
.eth-right-visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 750px;
}

.eth-visual-hub {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eth-hub-portal {
    position: relative;
    width: 420px;
    height: 420px;
    max-width: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.eth-portal-image {
    width: 92%;
    height: 92%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(184, 148, 103, 0.4);
    background: #fff;
    position: relative;
    z-index: 2;
}

/* Dynamic Floating Nodes (Desktop Default) */
.eth-dyn-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.eth-node-tag {
    font-size: 9px;
    font-weight: 800;
    background: #fff;
    padding: 4px 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.eth-node-box {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.eth-node-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eth-dyn-node:nth-child(2) { top: 5%; left: 10%; }
.eth-dyn-node:nth-child(3) { top: 15%; right: 5%; }
.eth-dyn-node:nth-child(4) { top: 45%; left: -8%; }
.eth-dyn-node:nth-child(5) { bottom: 25%; left: 0%; }
.eth-dyn-node:nth-child(6) { bottom: 8%; right: 10%; }
.eth-dyn-node:nth-child(7) { top: 70%; right: -5%; }

/* Bottom Rail Process Flow */
.eth-right-visual .eth-bottom-rail {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.eth-rail-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.eth-step-unit {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.eth-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eth-step-icon-circle {
    width: 55px;
    height: 55px;
    background: #fbfaf8;
    border: 1px solid #b78f62;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.eth-step-icon-circle img {
    height: 22px;
    width: auto;
}

.eth-step-icon-circle i {
    font-size: 22px;
    color: #c79557;
}

.eth-step-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: #000;
}

.eth-step-summary {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
}

.eth-step-arrow-divider {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    margin-top: 20px;
    position: relative;
}

.eth-step-arrow-divider img {
    width: 100%;
    height: auto;
    display: block;
}

.eth-final-swoosh {
    display: none;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .eth-main-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .eth-title {
        font-size: 65px;
    }
    .eth-right-visual {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .eth-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    /* Safely scale back absolute nodes so they don't overflow text */
    .eth-visual-hub {
        height: 360px;
    }
    .eth-hub-portal {
        width: 280px;
        height: 280px;
    }
    .eth-dyn-node {
        transform: scale(0.75);
    }

    .eth-rail-steps {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .eth-step-unit {
        width: 100%;
        flex-direction: column;
    }
    .eth-step-arrow-divider {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .toonz-ecosystem-thinking-wrapper {
        padding: 40px 0;
    }
    .eth-title {
        font-size: 34px;
    }
    .eth-sg-row {
        justify-content: center;
    }
    .eth-sg-item {
        min-width: 40%;
        padding: 15px 10px;
    }
    .eth-sg-divider {
        display: none;
    }
    
    /* Hide floating decorative desktop nodes on small mobile screens to preserve layout clarity */
    .eth-dyn-node {
        display: none !important;
    }
    .eth-visual-hub {
        height: 300px;
    }
    .eth-hub-portal {
        width: 240px;
        height: 240px;
    }
}