/* ============================================
   IAM-ITDR Solution Page Styles
   ============================================ */

/* ========= Business Challenges Section ========= */
.challenge-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(54, 201, 88, 0.2);
    border-radius: 10px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(54, 201, 88, 0.6) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenge-card:hover::before {
    transform: scaleX(1);
}

.challenge-card:hover {
    border-color: rgba(54, 201, 88, 0.6);
    box-shadow:
        0 8px 32px rgba(54, 201, 88, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
}

.challenge-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.15) 0%, rgba(54, 201, 88, 0.05) 100%);
    border: 1px solid rgba(54, 201, 88, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenge-icon i {
    width: 28px;
    height: 28px;
    color: #36c958;
    stroke-width: 2;
}

.challenge-card:hover .challenge-icon {
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.25) 0%, rgba(54, 201, 88, 0.1) 100%);
    border-color: rgba(54, 201, 88, 0.5);
    transform: scale(1.08) rotate(5deg);
}

.challenge-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.challenge-card:hover .challenge-title {
    color: #36c958;
}

.challenge-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ========= Core Value Section ========= */

/* Architecture Canvas */
.architecture-canvas {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 30, 40, 0.6) 0%, rgba(15, 20, 30, 0.8) 100%);
    border: 1px solid rgba(54, 201, 88, 0.15);
    border-radius: 10px;
    padding: 80px 60px;
    margin-bottom: 0;
    overflow: visible;
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* SVG Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke: rgba(54, 201, 88, 0.4);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

/* Central Gateway */
.gateway-center {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(145deg, rgba(30, 45, 60, 0.9) 0%, rgba(20, 30, 45, 0.95) 100%);
    border: 2px solid rgba(54, 201, 88, 0.3);
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow:
        0 15px 40px rgba(54, 201, 88, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: gateway-pulse 3s ease-in-out infinite;
}

@keyframes gateway-pulse {
    0%, 100% {
        box-shadow:
            0 15px 40px rgba(54, 201, 88, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow:
            0 15px 40px rgba(54, 201, 88, 0.35),
            0 0 60px rgba(54, 201, 88, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

.gateway-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #36c958;
    background: rgba(54, 201, 88, 0.12);
    border: 1px solid rgba(54, 201, 88, 0.25);
    border-radius: 10px;
    padding: 6px 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.gateway-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.2) 0%, rgba(54, 201, 88, 0.05) 100%);
    border: 2px solid rgba(54, 201, 88, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gateway-icon-spin 8s linear infinite;
}

@keyframes gateway-icon-spin {
    0% {
        transform: rotate(0deg);
        border-color: rgba(54, 201, 88, 0.4);
    }
    50% {
        border-color: rgba(54, 201, 88, 0.7);
    }
    100% {
        transform: rotate(360deg);
        border-color: rgba(54, 201, 88, 0.4);
    }
}

.gateway-icon i {
    width: 40px;
    height: 40px;
    color: #36c958;
    stroke-width: 2;
}

.gateway-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.gateway-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 28px 0;
}

/* Gateway Features */
.gateway-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(54, 201, 88, 0.08);
    border: 1px solid rgba(54, 201, 88, 0.2);
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(54, 201, 88, 0.15);
    border-color: rgba(54, 201, 88, 0.4);
    transform: translateX(5px);
}

.feature-tag i {
    width: 18px;
    height: 18px;
    color: #36c958;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.feature-tag span {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* Left Protection Side */
.protection-left {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 200px;
    background: linear-gradient(145deg, rgba(25, 35, 45, 0.85) 0%, rgba(18, 25, 35, 0.9) 100%);
    border: 1px solid rgba(54, 201, 88, 0.25);
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Right Protection Side */
.protection-right {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 200px;
    background: linear-gradient(145deg, rgba(25, 35, 45, 0.85) 0%, rgba(18, 25, 35, 0.9) 100%);
    border: 1px solid rgba(54, 201, 88, 0.25);
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.protection-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.15) 0%, rgba(54, 201, 88, 0.05) 100%);
    border: 1px solid rgba(54, 201, 88, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.protection-icon i {
    width: 24px;
    height: 24px;
    color: #36c958;
    stroke-width: 2;
}

.protection-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.protection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-list li {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
}

.protection-list li:last-child {
    margin-bottom: 0;
}

.protection-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #36c958;
    border-radius: 50%;
}

/* Value Benefit Cards */
.value-benefit-card {
    background: linear-gradient(145deg, rgba(25, 30, 40, 0.9) 0%, rgba(18, 22, 30, 0.95) 100%);
    border: 1px solid rgba(54, 201, 88, 0.2);
    border-radius: 10px;
    padding: 36px 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.value-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(54, 201, 88, 0.6) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-benefit-card:hover::before {
    transform: scaleX(1);
}

.value-benefit-card:hover {
    border-color: rgba(54, 201, 88, 0.5);
    box-shadow:
        0 8px 32px rgba(54, 201, 88, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.15) 0%, rgba(54, 201, 88, 0.05) 100%);
    border: 1px solid rgba(54, 201, 88, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-icon i {
    width: 26px;
    height: 26px;
    color: #36c958;
    stroke-width: 2;
}

.value-benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.25) 0%, rgba(54, 201, 88, 0.1) 100%);
    border-color: rgba(54, 201, 88, 0.5);
    transform: scale(1.08) rotate(-5deg);
}

.benefit-title {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.value-benefit-card:hover .benefit-title {
    color: #36c958;
}

.benefit-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========= Core Functions Section ========= */
.function-card {
    background: linear-gradient(145deg, rgba(25, 35, 50, 0.9) 0%, rgba(18, 25, 38, 0.95) 100%);
    border: 1px solid rgba(54, 201, 88, 0.2);
    border-radius: 10px;
    padding: 40px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.function-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(54, 201, 88, 0.6) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.function-card:hover::before {
    transform: scaleX(1);
}

.function-card:hover {
    border-color: rgba(54, 201, 88, 0.5);
    box-shadow:
        0 8px 32px rgba(54, 201, 88, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
}

.function-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.15) 0%, rgba(54, 201, 88, 0.05) 100%);
    border: 1px solid rgba(54, 201, 88, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.function-icon i {
    width: 30px;
    height: 30px;
    color: #36c958;
    stroke-width: 2;
}

.function-card:hover .function-icon {
    background: linear-gradient(135deg, rgba(54, 201, 88, 0.25) 0%, rgba(54, 201, 88, 0.1) 100%);
    border-color: rgba(54, 201, 88, 0.5);
    transform: scale(1.08) rotate(5deg);
}

.function-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.function-card:hover .function-title {
    color: #36c958;
}

.function-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ========= Customer Case Section ========= */
.customer-case-card {
    background: linear-gradient(145deg, rgba(20, 30, 45, 0.85) 0%, rgba(15, 22, 35, 0.9) 100%);
    border: 1px solid rgba(54, 201, 88, 0.2);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Left Side: Case Content */
.case-left {
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(25, 35, 50, 0.6) 0%, rgba(18, 25, 38, 0.8) 100%);
    border-right: 1px solid rgba(54, 201, 88, 0.15);
}

.case-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.case-sub-title {
    font-size: 24px;
    font-weight: 600;
    color: #36c958;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.case-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.case-description strong {
    color: #36c958;
    font-weight: 600;
}

/* Achievements List */
.case-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.case-achievements li:last-child {
    margin-bottom: 0;
}

.case-achievements li i {
    width: 20px;
    height: 20px;
    color: #36c958;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Right Side: Metrics Grid */
.case-right {
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(18, 25, 38, 0.6) 0%, rgba(12, 18, 28, 0.8) 100%);
    display: flex;
    align-items: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

/* Metric Card */
.metric-card {
    background: linear-gradient(145deg, rgba(30, 42, 58, 0.7) 0%, rgba(22, 32, 45, 0.85) 100%);
    border: 1px solid rgba(54, 201, 88, 0.25);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(54, 201, 88, 0.7) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-card:hover {
    border-color: rgba(54, 201, 88, 0.5);
    box-shadow:
        0 12px 40px rgba(54, 201, 88, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-6px);
}

.metric-number {
    font-size: 48px;
    font-weight: 700;
    color: #36c958;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.metric-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ========= Responsive Design ========= */

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    .architecture-canvas {
        padding: 60px 40px;
    }

    .protection-left,
    .protection-right {
        position: static;
        transform: none;
        max-width: 100%;
        margin: 30px auto 0;
    }

    .gateway-center {
        margin-bottom: 30px;
    }

    .connection-lines {
        display: none;
    }

    .case-left {
        border-right: none;
        border-bottom: 1px solid rgba(54, 201, 88, 0.15);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .architecture-canvas {
        padding: 40px 24px;
    }

    .gateway-center {
        padding: 30px 24px;
    }

    .gateway-title {
        font-size: 24px;
    }

    .gateway-icon {
        width: 64px;
        height: 64px;
    }

    .gateway-icon i {
        width: 32px;
        height: 32px;
    }

    .challenge-card,
    .value-benefit-card {
        padding: 30px 24px;
    }

    .protection-left,
    .protection-right {
        margin: 20px 0 0;
    }

    .function-card {
        padding: 30px 24px;
    }

    .case-left,
    .case-right {
        padding: 40px 30px;
    }

    .case-main-title {
        font-size: 28px;
    }

    .case-sub-title {
        font-size: 20px;
    }

    .metric-number {
        font-size: 40px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
