* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #191919;
    background: #f5f5f7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.mnp-page { padding-top: 56px; }

.mnp-hero {
    background: #1a1a1a;
    color: #fff;
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
}
.mnp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e6007e, #ff4da6, #e6007e);
}
.mnp-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #e6007e;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.mnp-hero h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.mnp-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.mnp-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.form-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    margin-bottom: 16px;
}
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-title .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e6007e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.form-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f8f8f8;
    gap: 16px;
}
.form-row:last-child { border-bottom: none; }
.form-label {
    flex-shrink: 0;
    width: 120px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}
.form-value {
    flex: 1;
}
.form-value input,
.form-value select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #191919;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.form-value input:focus,
.form-value select:focus {
    border-color: #e6007e;
}
.form-value input[readonly] {
    background: #f8f8fa;
    color: #999;
    cursor: default;
}

.plan-selected-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s;
}
.plan-selected-display:hover { border-color: #e6007e; }
.plan-selected-display.has-plan {
    border-color: #e6007e;
    background: #fef5f9;
}
.plan-selected-text {
    font-size: 15px;
    color: #999;
    font-weight: 500;
}
.plan-selected-display.has-plan .plan-selected-text {
    color: #191919;
    font-weight: 700;
}
.plan-selected-arrow {
    font-size: 12px;
    color: #999;
}
.plan-selected-sub {
    font-size: 13px;
    font-weight: 500;
    color: #e6007e;
    margin-left: 8px;
}

.plan-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.plan-popup {
    background: #fff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.plan-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
}
.plan-popup-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #191919;
    margin: 0;
}
.plan-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.plan-popup-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.plan-filter-sidebar {
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    border-right: 1px solid #e5e5e5;
    padding: 20px 16px;
    overflow-y: auto;
    background: #fafafa;
    box-sizing: border-box;
    overscroll-behavior: contain;
}
.filter-section { margin-bottom: 18px; }
.filter-section h4 { font-size: 0.88em; font-weight: 700; color: #1d1d1f; margin: 0 0 10px; }
.filter-search-box { position: relative; }
.filter-search-box input {
    width: 100%; padding: 10px 36px 10px 12px; border: 1px solid #ddd;
    border-radius: 8px; font-size: 14px; background: #fff;
    box-sizing: border-box; outline: none; transition: border 0.2s;
    font-family: inherit;
}
.filter-search-box input:focus { border-color: #e6007e; }
.filter-search-box .search-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }

.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-radio {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    border-radius: 8px; cursor: pointer; font-size: 0.84em; color: #555;
    transition: all 0.15s; user-select: none; background: #f5f5f5;
    border: 1.5px solid transparent;
}
.filter-radio:hover { background: #eee; }
.filter-radio.active { color: #e6007e; font-weight: 600; background: #fef0f5; border-color: #e6007e; }
.radio-dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #ccc; position: relative; flex-shrink: 0;
    transition: border-color 0.15s; background: #fff;
}
.filter-radio.active .radio-dot { border-color: #e6007e; }
.filter-radio.active .radio-dot::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px; border-radius: 50%; background: #e6007e;
}

.filter-price-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-price-btn {
    flex: 1 1 calc(50% - 3px); min-width: 0;
    padding: 7px 5px; border: 1.5px solid #e0e0e0; border-radius: 7px;
    background: #f5f5f5; color: #555; font-size: 0.82em; font-weight: 500;
    cursor: pointer; transition: all 0.15s; text-align: center;
    font-family: inherit;
}
.filter-price-btn:hover { background: #eee; border-color: #ccc; }
.filter-price-btn.active { background: #fef0f5; border-color: #e6007e; color: #e6007e; font-weight: 700; }

.plan-popup-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.plan-sort-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 18px; border-bottom: 1px solid #eee;
    background: #fff; flex-shrink: 0;
}
.plan-result-count { font-size: 0.85em; color: #888; }
.plan-sort-select-wrap select {
    padding: 3px 28px 3px 10px; border: 1px solid #e0e0e0; border-radius: 6px;
    font-size: 13px; color: #333; background: #fff;
    cursor: pointer; outline: none; font-family: inherit; font-weight: 500;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.plan-list-cards { flex: 1; overflow-y: auto; padding: 14px 18px; -webkit-overflow-scrolling: touch; }

.plan-filter-toggle-mobile {
    display: none; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    padding: 12px 24px; background: #e6007e; color: #fff; border: none;
    border-radius: 24px; font-size: 15px; font-weight: 600;
    cursor: pointer; box-shadow: 0 4px 16px rgba(230,0,126,0.3);
    z-index: 10; gap: 6px; align-items: center; font-family: inherit;
}
.plan-filter-sidebar-overlay { display: none; }
.plan-filter-close-mobile { display: none; }

@media (max-width: 767px) {
    .plan-popup-overlay { padding: 0; align-items: flex-end; }
    .plan-popup {
        max-width: 100%; max-height: 95vh;
        border-radius: 16px 16px 0 0;
    }
    .plan-popup-content { display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0; }
    .plan-popup-main { overflow: visible; flex: 1; min-height: 0; }
    .plan-list-cards { padding: 10px 12px; overflow: visible; padding-bottom: 80px; }
    .plan-card-item { padding: 14px 14px; margin-bottom: 10px; border-radius: 10px; }
    .plan-card-top { flex-direction: row; align-items: flex-start; }
    .plan-card-price-area { text-align: right; margin-left: auto; }
    .plan-card-original-price { font-size: 0.8em; }
    .plan-card-discount-price { font-size: 1.15em; }
    .plan-card-name { font-size: 0.95em; }
    .plan-card-data { font-size: 0.82em; }
    .plan-card-select-btn { padding: 10px; font-size: 14px; margin-top: 10px; min-height: 44px; }

    .plan-filter-sidebar {
        display: none;
        position: fixed;
        bottom: 0; left: 0; right: 0; top: auto;
        width: 100%; min-width: 0;
        height: auto; max-height: 70vh;
        z-index: 10200;
        border-right: none;
        border-radius: 16px 16px 0 0;
        padding: 16px 20px 80px;
        background: #fff;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    @keyframes slideUpFilter {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    .plan-filter-sidebar.show { display: block; animation: slideUpFilter 0.3s ease-out; }
    .plan-filter-sidebar::before {
        content: '';
        display: block;
        width: 36px; height: 4px;
        background: #ddd; border-radius: 2px;
        margin: 0 auto 14px;
    }
    .plan-filter-sidebar-overlay {
        display: none;
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.35);
        z-index: 10199;
    }
    .plan-filter-sidebar-overlay.show { display: block; }
    .plan-filter-close-mobile {
        display: flex;
        position: absolute; top: 10px; right: 10px;
        width: 44px; height: 44px;
        background: #f0f0f0; border: none; border-radius: 50%;
        align-items: center; justify-content: center;
        cursor: pointer; font-size: 18px; color: #333; z-index: 10201;
    }
    .filter-radio { padding: 10px 12px; font-size: 0.85em; min-height: 44px; }
    .filter-price-btn { padding: 10px 8px; font-size: 0.82em; min-height: 44px; }
    .filter-search-box input { height: 44px; font-size: 15px; }
    .filter-price-buttons { gap: 8px; }
    .plan-filter-toggle-mobile { display: flex; }
    .plan-sort-bar { position: sticky; top: 0; z-index: 9; padding: 6px 14px; }
}

.plan-tier-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 12px;
    padding: 8px 0;
}
.plan-tier-label:first-child { margin-top: 0; }
.plan-tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.plan-tier-badge.tier1 { background: #999; }
.plan-tier-badge.tier2 { background: #e6007e; }
.plan-tier-badge.tier3 { background: #c2185b; }
.plan-tier-desc {
    font-size: 12px;
    color: #888;
}

.plan-card-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}
.plan-card-item:hover { border-color: #e6007e; box-shadow: 0 2px 12px rgba(230,0,126,0.08); }
.plan-card-item:active { transform: scale(0.995); }
.plan-card-item.selected { border-color: #e6007e; background: #fef5f9; }

.plan-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.plan-card-name-area { flex: 1; }
.mnp-plan-badge {
    display: inline-block; padding: 3px 10px; border-radius: 4px;
    font-size: 0.75em; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.mnp-plan-badge.youth { background: #00b894; }
.mnp-plan-badge.kids { background: #fdcb6e; color: #333; }
.mnp-plan-badge.senior { background: #74b9ff; }
.mnp-plan-badge.teen { background: #fd79a8; }

.plan-card-name {
    font-size: 1em; font-weight: 700; color: #1d1d1f; margin: 0 0 4px;
}
.plan-card-data { font-size: 0.9em; color: #555; margin: 2px 0; }
.plan-card-data strong { color: #1d1d1f; font-weight: 700; }

.plan-card-price-area { text-align: right; flex-shrink: 0; margin-left: 16px; }
.plan-card-original-price {
    font-size: 0.85em; color: #aaa; text-decoration: line-through; margin-bottom: 2px;
}
.plan-card-discount-price {
    font-size: 1.3em; font-weight: 800; color: #e6007e;
}
.plan-card-discount-price .won { font-size: 0.75em; font-weight: 600; }

.plan-card-select-btn {
    display: none; width: 100%; margin-top: 14px; padding: 12px;
    background: #e6007e; color: #fff; border: none; border-radius: 8px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background 0.2s; font-family: inherit;
}
.plan-card-item.selected .plan-card-select-btn { display: block; }
.plan-card-select-btn:hover { background: #cc006e; }

.plan-detail-box {
    margin-top: 16px;
    border: 2px solid #e6007e;
    border-radius: 14px;
    padding: 24px;
    background: #fef5f9;
}
.plan-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.plan-detail-name {
    font-size: 18px;
    font-weight: 800;
    color: #191919;
}
.plan-detail-gift {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #e6007e;
}
.plan-detail-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.plan-detail-original {
    font-size: 15px;
    color: #bbb;
    text-decoration: line-through;
}
.plan-detail-discount {
    font-size: 28px;
    font-weight: 800;
    color: #e6007e;
    letter-spacing: -0.5px;
}
.plan-detail-discount span {
    font-size: 15px;
    font-weight: 500;
    color: #888;
}
.plan-detail-percent {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e6007e;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.plan-detail-data {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 4px;
}
.plan-detail-extra {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #e6007e;
    background: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 8px;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.plan-card {
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.plan-card:hover {
    border-color: #ddd;
}
.plan-card.selected {
    border-color: #e6007e;
    box-shadow: 0 0 0 1px #e6007e;
    background: #fef5f9;
}
.plan-card.selected::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6007e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='white'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}
.plan-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: #191919;
}
.plan-fee {
    font-size: 16px;
    font-weight: 800;
    color: #e6007e;
}
.plan-fee span {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}
.plan-data {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}
.plan-extra {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #e6007e;
    background: #fef0f5;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 6px;
}

.gift-tier-group {
    margin-bottom: 24px;
}
.gift-tier-group:last-child { margin-bottom: 0; }
.gift-tier-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: #f8f8fa;
    border-radius: 10px;
}
.gift-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.gift-badge.tier1 { background: #999; }
.gift-badge.tier2 { background: #e6007e; }
.gift-badge.tier3 { background: #c2185b; }
.gift-tier-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.contract-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.contract-btn {
    padding: 14px 12px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}
.contract-btn:hover {
    border-color: #ddd;
}
.contract-btn.selected {
    border-color: #e6007e;
    background: #fef5f9;
}
.contract-btn .cb-period {
    font-size: 15px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 4px;
}
.contract-btn .cb-desc {
    font-size: 12px;
    color: #888;
}
.contract-btn.selected .cb-period { color: #e6007e; }

.summary-box {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 28px;
    color: #fff;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}
.summary-row .sr-label { color: rgba(255,255,255,0.6); }
.summary-row .sr-value { font-weight: 600; }
.summary-row .sr-value.discount { color: #4dd0e1; }
.summary-row.highlight {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 6px;
    padding-top: 14px;
}
.summary-row.highlight .sr-label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.summary-row.highlight .sr-value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.summary-row.total {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 8px;
    padding-top: 16px;
}
.summary-row.total .sr-label {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.summary-row.total .sr-value {
    font-size: 24px;
    font-weight: 800;
    color: #e6007e;
}
.summary-row.total .sr-value span {
    font-size: 14px;
    font-weight: 500;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background: #e6007e;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 16px;
}
.btn-submit:hover { background: #cc006e; }
.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.notice-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-top: 16px;
}
.notice-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 14px;
}
.notice-box ul {
    list-style: none;
    padding: 0;
}
.notice-box li {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}
.notice-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 48px 36px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.modal-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e6007e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.modal-check svg {
    width: 32px;
    height: 32px;
    color: #fff;
}
.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #191919;
    margin-bottom: 12px;
}
.modal-text {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 28px;
}
.modal .btn-submit { margin-top: 0; }

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
}
.back-link:hover { color: #e6007e; }

@media (max-width: 768px) {
    .mnp-hero { padding: 48px 20px 40px; }
    .mnp-hero h1 { font-size: 26px; }
    .mnp-form-wrap { padding: 20px 16px 60px; }
    .form-section { padding: 24px 20px; }
    .form-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .form-label { width: auto; }
    .contract-options { grid-template-columns: 1fr; gap: 8px; }
    .summary-row.total .sr-value { font-size: 20px; }
}
