:root {
    --purple: #7000ff;
    --cyan: #00f2ff;
    --red: #ff3e3e;
    --bg-black: #05050a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --kakao: #fee500;
    --kakao-text: #191919;
    --text-pure: #ffffff;
    --text-dim: #a0a0c0;
    --border: rgba(255, 255, 255, 0.08);
}

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

body.v4-premium {
    background: var(--bg-black);
    color: var(--text-pure);
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }

/* HEADER */
#main-header {
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    position: sticky; top: 0; z-index: 1000;
}
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo-wrapper { display: flex; align-items: center; gap: 0.8rem; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple); }

/* BUTTONS */
.btn { text-decoration: none; border-radius: 50px; font-weight: 700; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; }
.btn-kakao-v4 { background: var(--kakao); color: var(--kakao-text); padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-kakao-main { background: var(--kakao); color: var(--kakao-text); padding: 1.2rem; width: 100%; font-size: 1.1rem; box-shadow: 0 10px 20px rgba(254, 229, 0, 0.2); }
.btn-payment-v4 { background: linear-gradient(135deg, var(--purple), var(--cyan)); color: white; padding: 1.2rem; width: 100%; font-size: 1.1rem; margin-bottom: 0.8rem; }
.btn-kakao-v4.large { padding: 1.2rem; width: 100%; }

/* HERO */
.v4-hero { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.hero-split { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.portrait-container { position: relative; width: 100%; max-width: 380px; border-radius: 35px; overflow: hidden; background: #000; }
.portrait-img { width: 100%; display: block; filter: brightness(1.05); }
.portrait-glow { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--bg-black) 98%); }
.hero-title { font-size: 2.8rem; font-weight: 900; margin: 1.5rem 0; line-height: 1.1; }
.hero-title .highlight { background: linear-gradient(135deg, var(--purple), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 2rem; }

/* MSG CARD */
.v4-msg { padding: 2.5rem 0; }
.msg-card-v4 { background: var(--card-bg); padding: 3rem 1.5rem; border-radius: 30px; border: 1px solid rgba(112, 0, 255, 0.2); text-align: center; }
.msg-warn { color: #ff5e5e; font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 800; }
.msg-main { font-size: 2.2rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.2; color: #fff; }
.msg-divider { width: 40px; height: 3px; background: var(--purple); margin: 0 auto 1.5rem; }
.msg-text { color: var(--text-dim); font-size: 1.15rem; line-height: 1.6; }

/* GALLERY */
.v4-gallery { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag { color: var(--purple); font-weight: 900; font-size: 0.8rem; border: 1px solid var(--purple); padding: 0.2rem 0.8rem; border-radius: 20px; }
.section-header h2 { font-size: 2.3rem; font-weight: 900; margin-top: 1rem; }
.gallery-grid { display: grid; gap: 2rem; }
.gallery-item { background: var(--card-bg); border-radius: 25px; overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; display: block; border-bottom: 1px solid var(--border); }
.img-label { padding: 1.5rem; text-align: center; font-weight: 800; color: var(--purple); }

/* CURRICULUM */
.v4-curriculum { padding: 3rem 0; }
.cur-box-v4 { background: #080810; border-radius: 35px; padding: 3rem 1.5rem; border: 1px solid var(--border); }
.roadmap-stack { display: grid; gap: 1rem; }
.roadmap-item { background: rgba(255,255,255,0.02); padding: 1.5rem; border-radius: 20px; border: 1px solid var(--border); }
.roadmap-item.active { border: 2px solid var(--purple); background: rgba(112, 0, 255, 0.05); }
.roadmap-item .step { color: var(--purple); font-weight: 900; font-size: 1.4rem; margin-right: 1rem; }

/* PAMPHLET */
.btn-pamphlet-v4 { background: transparent; border: 2px solid var(--purple); color: var(--purple); padding: 1.2rem; width: 100%; margin-top: 2rem; border-radius: 20px; font-size: 1rem; }
.hidden-v4 { display: none; }
.pamphlet-viewer { margin-top: 1.5rem; background: #000; padding: 0.5rem; border-radius: 15px; }
.pamphlet-viewer img { width: 100%; vertical-align: middle; margin-bottom: 0.5rem; }

/* PRICING (F5.2 FIX) */
.v4-pricing { padding: 4rem 0; }
.price-card-v4 { background: linear-gradient(180deg, #0a0a1a, #05050a); padding: 5rem 1.5rem 3rem; border-radius: 40px; text-align: center; border: 2px solid var(--purple); position: relative; }
.price-header-v5 { margin-bottom: 2.5rem; }
.price-tag-v5 { background: linear-gradient(135deg, var(--purple), var(--cyan)); color: #fff; padding: 0.5rem 1.5rem; border-radius: 30px; font-weight: 900; font-size: 0.85rem; position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 10px 25px rgba(112, 0, 255, 0.3); }
.price-card-v4 h3 { font-size: 2rem; font-weight: 900; color: #fff; }

.price-stack { margin: 2rem 0; }
.old-price { color: var(--text-dim); font-size: 1.3rem; margin-bottom: 1.5rem; }
.strike-red { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; font-weight: 700; color: #fff; }
.new-price { font-size: 3.5rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
.discount-label { font-size: 1.5rem; color: var(--purple); display: block; font-weight: 900; margin-top: 0.5rem; }
.vat-v5 { color: var(--text-dim); font-size: 1rem; line-height: 1.5; margin-top: 1.5rem; }

/* FOOTER */
.v4-footer { padding: 4rem 0; background: #010103; text-align: center; border-top: 1px solid var(--border); }
.footer-logo-v4 { width: 50px; opacity: 0.5; margin-bottom: 1.5rem; }
.copyright { color: var(--text-dim); font-size: 0.8rem; margin-top: 1rem; }

@media (max-width: 600px) {
    .hero-title { font-size: 2.5rem; }
    .new-price { font-size: 3rem; }
}
