﻿/* Solution Detail Page Styles */

.solution-detail-wrapper {
    background-color: #f5f5f7;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solution-detail-header {
    margin-bottom: 50px;
}

.solution-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.solution-badge {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
}

.solution-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.solution-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 900px;
}

.solution-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column: Features & Needs */
.feature-section {
    margin-bottom: 40px;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

/* Right Column: Bubbles */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.bubble-item {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bubble-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    word-break: keep-all;
}

.bubble-item:hover {
    background-color: var(--accent-color);
}

.bubble-item:hover span {
    color: white;
}


/* Solution Bottom CTA Banner */
.solution-bottom-banner {
    margin-top: 40px;
    background-color: #f5f5f7;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.banner-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    flex: 1;
    word-break: keep-all;
    line-height: 1.4;
}

.banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-chevron {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #800040;
    /* Fallback for purple */
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 20px 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Creating a subtle arrow shape via clip-path or visual trick */
    /* Using standard button shape with arrow icon for broader compatibility and cleanness */
    border-radius: 4px;
    min-width: 160px;
}

/* Arrow icon using CSS pseudo-element */
.btn-chevron::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 12px;
    margin-top: -1px;
}

.btn-chevron:hover {
    background-color: #5a002d;
    /* Darker accent */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Responsive Styles */
@media (max-width: 992px) {
    .solution-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bubble-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solution-bottom-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-chevron {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .solution-detail-wrapper {
        padding: 30px;
    }

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

    .bubble-item {
        width: 100px;
        height: 100px;
    }
}

/* --- TAMS Specific Styles --- */
.tams-grid-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tams-grid-box {
    background: #fdf2f8;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #fbcfe8;
    transition: transform 0.3s ease;
}

.tams-grid-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(128, 0, 64, 0.1);
}

.tams-grid-box span {
    display: block;
    font-weight: 600;
    color: #800040;
    word-break: keep-all;
    line-height: 1.4;
}

.tams-features-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.tams-features-list {
    flex: 1;
    min-width: 300px;
}

.tams-features-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    border-radius: 20px;
    min-height: 400px;
}

.tams-product-family {
    background: #fafafa;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.family-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.family-card {
    flex: 1;
    min-width: 140px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.tams-special-features {
    background: #fdf2f8;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #fbcfe8;
}

.special-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.special-list div {
    transition: transform 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.special-list div:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .tams-features-section {
        flex-direction: column;
    }

    .tams-features-image {
        min-height: 250px;
        order: 0;
    }

    .family-grid {
        justify-content: center;
    }
}

/* --- New TAMS Control Page Styles --- */
.tams-maop-badge {
    display: inline-block;
    background: #fdf2f8;
    color: var(--color-gray90);
    font-family: var(--font-heading); /* Outfit 폰트 (main.css 전역 변수 기준) */
    font-size: 20px;
    font-weight: 600; /* SemiBold */
    white-space: nowrap;
    padding: 14px 32px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(124, 11, 71, 0.05);
}

.why-tams-container {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.tams-answer-banner {
    background: #fdf2f8;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    margin-bottom: 60px;
    border: 1px solid #fbcfe8;
}

.tams-suite-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.tams-suite-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.tams-suite-image img {
    max-width: 100%;
    height: auto;
}

.tams-suite-modules {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tams-suite-module-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.2s ease;
}

.tams-suite-module-item:hover {
    box-shadow: 0 6px 15px rgba(124, 11, 71, 0.08);
    border-color: #fbcfe8;
    transform: translateY(-2px);
}

.tams-suite-module-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #7C0b47;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tams-suite-module-title span.ko {
    font-size: 1.2rem;
    color: #111;
    font-weight: 900;
}

.tams-suite-module-title span.en {
    font-size: 0.85rem;
    color: #6b7280;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    margin-left: 4px;
}

.tams-suite-module-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    word-break: keep-all;
}

.tams-suite-module-desc ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.tams-suite-module-desc ul li {
    margin-bottom: 6px;
}

.tams-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8b4cc;
    border-radius: 999px;
    padding: 12px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #7C0B47;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(124, 11, 71, 0.05);
}



@media (max-width: 992px) {
    .tams-suite-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .tams-suite-module-item {
        padding: 20px;
        margin-bottom: 12px;
    }

    .tams-suite-module-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 16px;
    }

    .tams-suite-module-title span.ko {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .tams-suite-module-title span.en {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .tams-suite-module-desc ul {
        padding-left: 16px !important;
    }

    .tams-suite-module-desc ul li {
        margin-bottom: 8px;
        line-height: 1.5 !important;
    }

    .tams-maop-badge {
        font-size: 16px;
        padding: 12px 36px;
        white-space: normal;
        line-height: 1.4;
    }
}
/* ===== Solution Pages Mobile (OMS/WMS/TMS/VMS) ===== */
@media (max-width: 768px) {
    /* 1. Banner: 1-per-row */
    .bottom-nav-banner .bnb-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* 2. Hero header margin & inner padding */
    .global-hero {
        margin-top: 60px;
    }

    .global-hero-inner {
        padding: 0 40px;
    }

    .global-hero-sub-ko {
        margin-top: 24px;
    }

    .hero-title-row {
        gap: 0;
    }

    /* 3. Table: hide English column, show merged desc */
    .sol-th-en,
    .sol-td-en {
        display: none !important;
    }

    /* "필요한 경우" section: number + text on one line on mobile (WMS/TMS only) */
    .overview-section:nth-of-type(3) .overview-item[style*="60px"] {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
    }
    .overview-section:nth-of-type(3) .overview-item[style*="60px"] .overview-left {
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        width: auto !important;
        min-width: unset !important;
    }
    .overview-section:nth-of-type(3) .overview-item[style*="60px"] .overview-right {
        flex: 1 !important;
    }

    /* OMS "필요한 경우" label font size matching description */
    .overview-section:nth-of-type(3) .overview-item:not([style*="60px"]) .font-set-overview-label {
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 30px !important;
    }
}