@charset "utf-8";

/* ===== MEGAVPN DYNAMIC SERVICE SHOP ===== */

.mvpn-service-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #172941;
    background: #f4f7fb;
}

.mvpn-service-hero {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 83% 22%,
            rgba(45, 132, 255, 0.32),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 95%,
            rgba(0, 196, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(130deg, #020b1d 0%, #071d42 100%);
}

.mvpn-service-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.34;
    background-image:
        linear-gradient(
            rgba(95, 159, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(95, 159, 255, 0.07) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
}

.mvpn-service-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
    padding: 82px 0 100px;
}

.mvpn-service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #7eb8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.mvpn-service-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #48d8a1;
    box-shadow: 0 0 0 6px rgba(72, 216, 161, 0.11);
}

.mvpn-service-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 48px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.055em;
}

.mvpn-service-hero p {
    margin: 23px 0 0;
    color: #b5c4d9;
    font-size: 17px;
    line-height: 1.8;
}

.mvpn-service-hero-links {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.mvpn-service-hero-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 50px;
    padding: 0 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 9px;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.mvpn-service-hero-links a:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.mvpn-service-hero-primary {
    border: 1px solid #287cf6;
    background: linear-gradient(135deg, #338aff, #165edc);
    box-shadow: 0 13px 30px rgba(21, 91, 216, 0.25);
}

.mvpn-service-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.mvpn-service-content {
    position: relative;
    z-index: 4;
    width: min(1200px, calc(100% - 64px));
    margin: -55px auto 0;
    padding-bottom: 100px;
}

.mvpn-service-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
    padding: 35px 40px;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(17, 45, 87, 0.09);
}

.mvpn-service-heading span {
    display: block;
    margin-bottom: 8px;
    color: #2677ed;
    font-size: 12px;
    font-weight: 850;
}

.mvpn-service-heading h2 {
    margin: 0;
    color: #14243c;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: -0.045em;
}

.mvpn-service-heading p {
    margin: 10px 0 0;
    color: #718198;
    font-size: 14px;
    line-height: 1.7;
}

.mvpn-service-count {
    flex: 0 0 auto;
    color: #718198;
    font-size: 13px;
    text-align: right;
}

.mvpn-service-count strong {
    display: block;
    margin-top: 5px;
    color: #176bea;
    font-size: 26px;
    font-weight: 850;
}

.mvpn-service-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.mvpn-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 535px;
    padding: 32px 30px 30px;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(19, 54, 105, 0.07);
    box-sizing: border-box;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.mvpn-service-card:hover {
    border-color: #accbf6;
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(19, 72, 151, 0.13);
}

.mvpn-service-card.is-recommended {
    border: 2px solid #2d7ff2;
    box-shadow: 0 23px 55px rgba(25, 101, 220, 0.15);
}

.mvpn-service-badge,
.mvpn-service-soldout {
    position: absolute;
    top: 0;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 14px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    border-radius: 0 0 9px 9px;
}

.mvpn-service-badge {
    background: linear-gradient(135deg, #348aff, #175edb);
}

.mvpn-service-soldout {
    background: #7a8798;
}

.mvpn-service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 25px;
    color: #2475eb;
    font-size: 20px;
    border: 1px solid #cce0fc;
    border-radius: 15px;
    background: #eef6ff;
}

.mvpn-service-card-title > span {
    display: block;
    margin-bottom: 7px;
    color: #8a99ac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.mvpn-service-card-title h3 {
    margin: 0;
    color: #14243c;
    font-size: 27px;
    font-weight: 850;
    line-height: 1.3;
}

.mvpn-service-card-title p {
    min-height: 48px;
    margin: 11px 0 0;
    color: #718198;
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
}

.mvpn-service-price {
    margin: 25px 0 22px;
    padding: 21px 0;
    border-top: 1px solid #e6ebf2;
    border-bottom: 1px solid #e6ebf2;
}

.mvpn-service-price strong {
    display: block;
    color: #176bea;
    font-size: 27px;
    font-weight: 850;
    line-height: 1.3;
}

.mvpn-service-price span {
    display: block;
    margin-top: 5px;
    color: #919daf;
    font-size: 11px;
}

.mvpn-service-features {
    display: grid;
    gap: 13px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.mvpn-service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #465a73;
    font-size: 13px;
    font-weight: 700;
}

.mvpn-service-features i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    color: #16885c;
    font-size: 9px;
    border-radius: 50%;
    background: #ddf6ea;
}

.mvpn-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 0 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    border: 1px solid #2374ee;
    border-radius: 9px;
    background: linear-gradient(135deg, #3388ff, #155bd9);
    box-shadow: 0 11px 24px rgba(21, 91, 217, 0.18);
    box-sizing: border-box;
    transition: 0.2s ease;
}

.mvpn-service-button:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.mvpn-service-button.disabled {
    color: #8491a2;
    border-color: #d8e0e9;
    background: #edf1f5;
    box-shadow: none;
}

.mvpn-service-card.is-soldout {
    opacity: 0.8;
}

.mvpn-service-empty {
    padding: 80px 25px;
    color: #718198;
    text-align: center;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: #ffffff;
}

.mvpn-service-empty i {
    display: block;
    margin-bottom: 15px;
    color: #4388ee;
    font-size: 32px;
}

.mvpn-service-empty strong {
    display: block;
    color: #263951;
    font-size: 18px;
}

.mvpn-service-empty p {
    margin: 9px 0 0;
}

.mvpn-service-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
    padding: 28px 32px;
    color: #ffffff;
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 88% 0%,
            rgba(60, 143, 255, 0.24),
            transparent 38%
        ),
        #071a34;
}

.mvpn-service-support span,
.mvpn-service-support strong {
    display: block;
}

.mvpn-service-support span {
    margin-bottom: 6px;
    color: #7fb7ff;
    font-size: 12px;
    font-weight: 800;
}

.mvpn-service-support strong {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.mvpn-service-support a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 9px;
    min-width: 145px;
    min-height: 46px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .mvpn-service-hero-inner,
    .mvpn-service-content {
        width: calc(100% - 40px);
    }

    .mvpn-service-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .mvpn-service-count {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .mvpn-service-hero {
        min-height: 390px;
    }

    .mvpn-service-hero-inner {
        width: calc(100% - 28px);
        padding: 60px 0 80px;
    }

    .mvpn-service-hero h1 {
        font-size: 34px;
    }

    .mvpn-service-hero p {
        font-size: 14px;
    }

    .mvpn-service-hero p br {
        display: none;
    }

    .mvpn-service-hero-links {
        flex-direction: column;
    }

    .mvpn-service-hero-links a {
        width: 100%;
    }

    .mvpn-service-content {
        width: calc(100% - 28px);
        margin-top: -40px;
        padding-bottom: 65px;
    }

    .mvpn-service-heading {
        padding: 27px 21px;
        border-radius: 15px;
    }

    .mvpn-service-heading h2 {
        font-size: 24px;
    }

    .mvpn-service-grid {
        grid-template-columns: 1fr;
    }

    .mvpn-service-card {
        min-height: 0;
        padding: 29px 23px 25px;
        border-radius: 15px;
    }

    .mvpn-service-support {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 21px;
    }

    .mvpn-service-support a {
        width: 100%;
    }
}


/* ===== MEGAVPN SHOP TOP GAP FIX ===== */

/* 서비스 신청 페이지에서만 공통 콘텐츠 여백 제거 */
body:has(.mvpn-service-page) #wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.mvpn-service-page) #container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.mvpn-service-page) #container_title,
body:has(.mvpn-service-page) #wrapper_title,
body:has(.mvpn-service-page) #text_size {
    display: none !important;
}

body:has(.mvpn-service-page) .mvpn-service-page {
    margin-top: 0 !important;
}
