@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* close button */
.close-button {
    position: fixed;
    top: 50px;
    right: 20px;
    left: auto;
    width: 40px;
    height: 40px;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin: 2px 0;
    position: absolute;
}

.bar1 {
    transform: rotate(45deg);
}

.bar2 {
    transform: rotate(-45deg);
}

body.svc-page {
    min-height: 100vh;
    font-family: 'Pretendard', sans-serif;
    color: #f8fbff;
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
    --svc-mx: 0px;
    --svc-my: 0px;
    background:
        radial-gradient(58rem 30rem at 52% -6%, rgba(70, 109, 233, 0.3), transparent 70%),
        linear-gradient(180deg, #040924 0%, #060f31 55%, #07133a 100%);
}

body.svc-page::before,
body.svc-page::after {
    content: "";
    position: fixed;
    inset: -14% -10%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

body.svc-page>*:not(.close-button):not(.inquiry-modal-overlay) {
    position: relative;
    z-index: 1;
}

body.svc-page::before {
    background:
        radial-gradient(20rem 20rem at calc(15% + var(--svc-mx) * 0.18) calc(53% + var(--svc-my) * 0.2),
            rgba(154, 84, 255, 0.4), transparent 75%),
        radial-gradient(17rem 17rem at calc(44% + var(--svc-mx) * 0.2) calc(56% + var(--svc-my) * 0.2),
            rgba(170, 92, 255, 0.33), transparent 76%),
        radial-gradient(24rem 24rem at calc(58% + var(--svc-mx) * 0.3) calc(24% + var(--svc-my) * 0.28),
            rgba(134, 206, 255, 0.55), transparent 72%),
        radial-gradient(28rem 28rem at calc(85% + var(--svc-mx) * 0.28) calc(12% + var(--svc-my) * 0.2),
            rgba(168, 92, 255, 0.44), transparent 73%),
        radial-gradient(19rem 19rem at calc(92% + var(--svc-mx) * 0.36) calc(44% + var(--svc-my) * 0.26),
            rgba(255, 192, 164, 0.52), transparent 74%),
        radial-gradient(24rem 24rem at calc(24% + var(--svc-mx) * 0.24) calc(87% + var(--svc-my) * 0.22),
            rgba(91, 152, 255, 0.38), transparent 76%);
    filter: blur(10px);
    opacity: 0.92;
    animation: svc-gradient-drift-a 24s ease-in-out infinite alternate;
}

body.svc-page::after {
    background:
        radial-gradient(34rem 34rem at calc(34% + var(--svc-mx) * 0.14) calc(28% + var(--svc-my) * 0.12),
            rgba(188, 214, 255, 0.08) 0 1px,
            transparent 1px 17px),
        radial-gradient(26rem 26rem at calc(54% + var(--svc-mx) * 0.13) calc(34% + var(--svc-my) * 0.1),
            rgba(188, 214, 255, 0.07) 0 1px,
            transparent 1px 14px),
        radial-gradient(30rem 30rem at calc(55% + var(--svc-mx) * 0.14) calc(22% + var(--svc-my) * 0.12),
            rgba(98, 168, 255, 0.14), transparent 74%);
    filter: blur(0.8px);
    opacity: 0.58;
    animation: svc-gradient-drift-b 32s ease-in-out infinite alternate;
}

@keyframes svc-gradient-drift-a {
    0% {
        transform: translate3d(-1.1%, -0.9%, 0) scale(1.01);
    }

    100% {
        transform: translate3d(1.5%, 1.4%, 0) scale(1.06);
    }
}

@keyframes svc-gradient-drift-b {
    0% {
        transform: translate3d(0.9%, -1.1%, 0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate3d(-1.2%, 1.3%, 0) scale(1.04);
        opacity: 0.66;
    }
}

@media (prefers-reduced-motion: reduce) {

    body.svc-page::before,
    body.svc-page::after {
        animation: none;
    }
}

section {
    margin-bottom: 200px;
}

.landing-top-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.landing-top-nav-btn {
    min-width: 88px;
    border-radius: 999px;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    color: #e7efff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.landing-top-nav-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.landing-top-nav-btn.is-active {
    color: #2d56cd;
    background: #ffffff;
}

.svc-main {
    padding: 120px 20px 80px;
}

.svc-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.svc-hero {
    padding: 34px 0 56px;
}

.svc-label {
    display: inline-block;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(155, 195, 255, 0.55);
    background: rgba(110, 162, 255, 0.16);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #dceaff;
}

.svc-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.svc-hero-desc {
    max-width: 800px;
    line-height: 1.75;
    font-size: clamp(16px, 2vw, 26px);
    color: rgba(230, 240, 255, 0.9);
    text-align: center;
    margin: 0 auto;
}

.svc-plans {
    margin-top: 16px;
}

.svc-plans h2,
.svc-refund h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
    color: #ffffff;
}

.svc-plan-subtitle {
    margin-top: 10px;
    color: rgba(223, 235, 255, 0.82);
    font-size: 16px;
}

.svc-plan-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.svc-plan-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    border-radius: 22px;
    padding: 26px 24px 24px;
    border: 1px solid rgba(163, 198, 255, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(179, 213, 255, 0.08) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 42px rgba(3, 14, 45, 0.35);
}

.svc-plan-card-highlight {
    border-color: rgba(121, 174, 255, 0.75);
    box-shadow: 0 22px 48px rgba(30, 96, 234, 0.38);
}

.svc-tag-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.svc-tag {
    font-size: 14px;
    font-weight: 600;
    background: radial-gradient(to bottom, rgba(255, 255, 255), 0.9, rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(10px);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 999px;
    color: #f8fbff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}

.svc-plan-name {
    font-size: 40px;
    color: rgba(223, 236, 255, 0.94);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-plan-name span {
    font-size: 14px;
    font-weight: 400;
    background-color: #fff;
    padding: 2px 12px;
    border-radius: 999px;
    color: #000;
}

.svc-price {
    margin-top: 12px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.svc-price span {
    font-size: 24px;
}

.svc-price-discount {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: 500;
}

.svc-feature-list {
    margin-top: 16px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    color: rgba(236, 245, 255, 0.9);
    line-height: 1.55;
    font-size: 15px;
}

.svc-feature-list li {
    position: relative;
    padding-left: 24px;
    text-align: left;
}

.svc-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    -webkit-mask-image: url('images/check-white.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url('images/check-white.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.svc-plan-card:nth-child(2) .svc-feature-list li::before {
    background-color: #ff5d5d;
}

.svc-plan-card:nth-child(3) .svc-feature-list li::before {
    background-color: #ffd54a;
}

.svc-plan-button {
    margin: 40px 0 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    min-height: 44px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px 20px;
    width: 100%;
}

.svc-plan-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.svc-refund {
    margin-top: 48px;
}

.svc-refund-list {
    margin-top: 18px;
    list-style: none;
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    border: 1px solid rgba(163, 198, 255, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(179, 213, 255, 0.08) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 42px rgba(3, 14, 45, 0.35);
}

.svc-refund-list li {
    position: relative;
    line-height: 1.65;
    color: rgba(230, 240, 255, 0.92);
    padding-left: 16px;
}

.svc-refund-list .svc-refund-list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9ec4ff;
}

.svc-refund-list-title {
    margin-top: 20px;
}

/* --- Footer Section --- */
.footer-store-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-store-info img {
    width: 120px;
    height: auto;
}

.main-footer {
    background-color: #f9f9f9;
    padding: 60px 20px;
    font-size: 14px;
    color: #4b5563;
    /* Gray-600 */
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-family: 'Pretendard', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.6;
    align-items: center;
}

.footer-info span {
    word-break: keep-all;
}

.separator {
    color: #d1d5db;
    /* Gray-300 */
    margin: 0 4px;
    font-size: 12px;
}

.footer-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    text-decoration: underline;
    color: #2563EB;
}

.footer-copyright {
    margin-top: 40px;
    color: #9ca3af;
    /* Gray-400 */
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 60px;
        /* 하단 여백 추가 */
        font-size: 13px;
        /* 모바일 폰트 사이즈 조정 */
        word-break: keep-all;
    }

    .footer-container {
        gap: 16px;
        /* 그룹 간 간격 조정 */
    }

    .footer-info {
        flex-direction: column;
        gap: 4px;
    }

    .separator {
        display: none;
    }

    /* 주소 등 긴 텍스트의 줄바꿈 안전장치 */
    .footer-info span {
        line-height: 1.5;
    }

    .footer-copyright {
        margin-top: 30px;
        font-size: 12px;
    }
}

/* Footer 문의하기 버튼 */
.footer-inquiry-btn-wrapper {
    margin-top: 24px;
}

.footer-inquiry-btn {
    background-color: #2563EB;
    color: #fff;
    border: none;
    border-radius: 26px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-family: 'Pretendard', sans-serif;
}

.footer-inquiry-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.footer-inquiry-btn:active {
    transform: translateY(0);
}

/* 문의하기 모달 오버레이 */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inquiry-modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* 문의하기 모달 */
.inquiry-modal {
    background: #fff;
    border-radius: 22px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.inquiry-modal-overlay.show .inquiry-modal {
    transform: translateY(0);
    opacity: 1;
}

/* 모달 헤더 */
.inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
}

.inquiry-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #171717;
    margin: 0;
}

.inquiry-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    transition: color 0.2s;
}

.inquiry-modal-close:hover {
    color: #171717;
}

/* 모달 콘텐츠 */
.inquiry-modal-content {
    padding: 24px;
}

/* 필드 그룹 */
.inquiry-field {
    margin-bottom: 20px;
}

.inquiry-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    margin-bottom: 8px;
}

.inquiry-required {
    color: #EF4444;
}

/* 입력 필드 */
.inquiry-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Pretendard', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.inquiry-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.inquiry-input::placeholder {
    color: #9CA3AF;
}

/* 텍스트영역 */
.inquiry-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Pretendard', sans-serif;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.inquiry-textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.inquiry-textarea::placeholder {
    color: #9CA3AF;
}

/* 글자수 카운트 */
.inquiry-char-count {
    text-align: right;
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* 파일 업로드 */
.inquiry-file-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.inquiry-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background-color: #EF4444;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.inquiry-file-btn:hover {
    background-color: #DC2626;
}

.inquiry-file-input {
    display: none;
}

.inquiry-file-name {
    font-size: 14px;
    color: #2563EB;
    word-break: break-all;
}

/* 체크박스 */
.inquiry-checkbox-field {
    margin-top: 24px;
}

.inquiry-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.inquiry-checkbox {
    display: none;
}

.inquiry-checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background-color: #fff;
    margin-top: 2px;
}

.inquiry-checkbox:checked+.inquiry-checkbox-custom {
    background-color: #EF4444;
    border-color: #EF4444;
}

.inquiry-checkbox:checked+.inquiry-checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.inquiry-checkbox-text {
    font-size: 14px;
    font-weight: 500;
    color: #171717;
}

.inquiry-privacy-notice {
    margin-top: 10px;
    margin-left: 30px;
    padding: 12px;
    background-color: #F9FAFB;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* 제출 버튼 */
.inquiry-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #EF4444;
    color: #fff;
    border: none;
    border-radius: 26px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.inquiry-submit-btn:hover {
    background-color: #DC2626;
}

.inquiry-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 로딩 스피너 */
.inquiry-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 하단 안내 문구 */
.inquiry-footer-notice {
    text-align: center;
    font-size: 12px;
    color: #949196;
    margin-top: 16px;
    margin-bottom: 0;
}

/* 알림 메시지 */
.inquiry-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.inquiry-alert-error {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.inquiry-alert-success {
    background-color: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .inquiry-modal {
        max-width: calc(100% - 32px);
        margin: 16px;
        max-height: calc(100vh - 32px);
    }

    .inquiry-modal-header {
        padding: 20px 20px 0;
    }

    .inquiry-modal-content {
        padding: 20px;
    }

    .inquiry-modal-title {
        font-size: 18px;
    }

    .inquiry-privacy-notice {
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (max-width: 1024px) {
    .svc-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .landing-top-nav {
        top: 14px;
        gap: 6px;
        padding: 5px;
    }

    .landing-top-nav-btn {
        min-width: 72px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .svc-main {
        padding-top: 96px;
        padding-bottom: 64px;
    }

    .svc-hero {
        padding-top: 20px;
        padding-bottom: 38px;
    }

    .svc-plan-grid {
        grid-template-columns: 1fr;
    }

    .svc-plan-card {
        min-height: auto;
    }

    .svc-refund {
        margin-top: 40px;
    }

    .svc-refund-list {
        padding: 18px;
    }
}