/* ProServiceFunction.css */

:root {
    --pro-service-point: #5048D7;
    --pro-service-sub: #7774FF;
    --pro-service-point-light: rgba(80, 72, 215, 0.1);
    --pro-service-slate-50: #f8fafc;
    --pro-service-slate-100: #f1f5f9;
    --pro-service-slate-200: #e2e8f0;
    --pro-service-slate-400: #94a3b8;
    --pro-service-slate-500: #64748b;
    --pro-service-slate-600: #475569;
    --pro-service-slate-700: #334155;
    --pro-service-slate-900: #0f172a;
    --pro-service-max-width: 1080px;
    --pro-service-radius-xl: 0.75rem;
    --pro-service-radius-2xl: 1rem;
    --pro-service-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --pro-service-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header Sync with ProServiceIntroduction */
.pro-service-sub-content-except {
    padding: 70px 0 0 !important;
    text-align: center;
    background: #fff;
}
.pro-service-sub-content-except .content_title {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    color: #0e1838 !important;
    line-height: 1.2 !important;
}
.pro-service-sub-content-except .content_tab {
    margin-bottom: 0 !important;
}
.pro-service-sub-content-except .content_tab ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #7f8d9e;
}
.pro-service-sub-content-except .content_tab ul li.on a {
    color: #0e1838;
    font-weight: 700;
}

/* GNB Sync */
.pro-service-gnb-bold .header #gnb > li menu:not(.sub_depth menu),
.pro-service-gnb-bold .header #gnb > li menu:not(.sub_depth menu) a {
    font-weight: 700 !important;
    font-family: 'Pretendard', sans-serif !important;
}

.pro-service-function-wrapper {
    min-height: 100vh;
    padding: 3rem 1rem;
}
@media (min-width: 640px) { .pro-service-function-wrapper { padding: 3rem 1.5rem; } }
@media (min-width: 1024px) { .pro-service-function-wrapper { padding: 3rem 2rem; } }

.pro-service-function-container {
    max-width: var(--pro-service-max-width);
    margin: 1.5rem auto 0;
}

/* Tabs */
.pro-service-tab-wrapper {
    padding: 1rem;
    margin-bottom: 2rem;
}
.pro-service-tab-list {
    display: flex;
    justify-content: center;
}
.pro-service-tab-button {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin: 0 0.25rem;
    border: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}
.pro-service-tab-button--active {
    background-color: var(--pro-service-point);
    color: #fff;
    box-shadow: var(--pro-service-shadow-md);
}
.pro-service-tab-button--inactive {
    color: var(--pro-service-slate-500);
}
.pro-service-tab-button--inactive:hover {
    background-color: var(--pro-service-slate-100);
}

/* Floating Badge */
.pro-service-floating-badge-container {
    position: relative;
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
}
.pro-service-floating-badge {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: var(--pro-service-slate-900);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    box-shadow: var(--pro-service-shadow-md);
    z-index: 10;
    pointer-events: none;
    animation: proServiceFloating 3s infinite ease-in-out;
}
.pro-service-floating-badge::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 0.625rem;
    height: 0.625rem;
    background-color: var(--pro-service-slate-900);
    border-radius: 0.125rem;
}

@keyframes proServiceFloating {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
}

/* Card List */
.pro-service-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.pro-service-card-list.animate-fade-in-up {
    animation: proServiceFadeInUp 0.5s ease-out forwards;
}

@keyframes proServiceFadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Media Card */
.pro-service-media-card {
    background-color: #fff;
    border-radius: var(--pro-service-radius-2xl);
    box-shadow: var(--pro-service-shadow-sm);
    border: 1px solid var(--pro-service-slate-200);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.pro-service-media-card:hover {
    box-shadow: var(--pro-service-shadow-md);
}
.pro-service-card-header {
    background-color: var(--pro-service-slate-50);
    border-bottom: 1px solid var(--pro-service-slate-200);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}
.pro-service-card-header__indicator {
    width: 0.375rem;
    height: 1.25rem;
    background-color: var(--pro-service-point);
    border-radius: 9999px;
    margin-right: 0.75rem;
}
.pro-service-card-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pro-service-slate-900);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.pro-service-card-body {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .pro-service-card-body {
        grid-template-columns: 1fr 1fr;
    }
}
.pro-service-card-column {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media (min-width: 768px) {
    .pro-service-card-column {
        padding: 2rem;
    }
    .pro-service-card-column:not(:last-child) {
        border-right: 1px solid var(--pro-service-slate-100);
    }
}
.pro-service-card-column:not(:last-child) {
    border-bottom: 1px solid var(--pro-service-slate-100);
}
@media (min-width: 768px) {
    .pro-service-card-column:not(:last-child) {
        border-bottom: none;
    }
}

.pro-service-column-title-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}
.pro-service-column-title-wrap--live { color: var(--pro-service-point); }
.pro-service-column-title-wrap--regular { color: var(--pro-service-slate-700); }

.pro-service-column-title {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* Feature Item */
.pro-service-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.pro-service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.pro-service-feature-icon-box {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pro-service-feature-icon-box--live { background-color: var(--pro-service-point-light); color: var(--pro-service-point); }
.pro-service-feature-icon-box--regular { background-color: var(--pro-service-slate-200); color: var(--pro-service-slate-600); }

.pro-service-feature-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pro-service-slate-700);
    margin: 0;
}
@media (min-width: 768px) {
    .pro-service-feature-name {
        font-size: 1rem;
    }
}

/* Empty State */
.pro-service-empty-state {
    flex: 1;
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pro-service-slate-400);
    background-color: rgba(248, 250, 252, 0.5);
    border-radius: 0.75rem;
    border: 1px dashed var(--pro-service-slate-200);
    text-align: center;
}
.pro-service-empty-state__text {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--pro-service-slate-400);
    word-break: keep-all;
}

/* Footer Notice */
.pro-service-notice-box {
    margin-top: 2rem;
    background-color: rgba(241, 245, 249, 0.8);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--pro-service-slate-200);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .pro-service-notice-box {
        padding: 1.5rem 1.5rem;
        flex-direction: row;
        align-items: center;
    }
}
.pro-service-notice-icon-box {
    flex-shrink: 0;
    color: var(--pro-service-slate-400);
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: var(--pro-service-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pro-service-notice-content {
    font-size: 0.875rem;
    color: var(--pro-service-slate-600);
    line-height: 1.625;
}
.pro-service-notice-title {
    color: var(--pro-service-slate-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pro-service-notice-list {
    list-style: disc;
    padding-left: 1rem;
    color: var(--pro-service-slate-500);
    margin: 0;
}
.pro-service-notice-list li {
    margin-bottom: 0.25rem;
}
.pro-service-text-point { color: var(--pro-service-point); font-weight: 500; }

/* JS-Embedded Styles */
.pro-service-icon-minus { width: 32px; height: 32px; color: var(--pro-service-slate-200); }
.pro-service-notice-icon-svg { width: 20px; height: 20px; }
.pro-service-icon-lightning { width: 20px; height: 20px; }
.pro-service-icon-clock { width: 20px; height: 20px; }
.pro-service-icon-check { width: 16px; height: 16px; stroke-width: 3px; }
