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

:root {
  --gold: #C9A96E;
  --gold-light: #DBBF8A;
  --gold-dark: #A8874D;
  --navy: #1E3A5F;
  --navy-light: #2A4D7A;
  --navy-dark: #132843;
  --navy-deep: #0D1F33;
  --white: #FFFFFF;
  --gray-100: #F4F4F5;
  --gray-200: #E8E8EA;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --green: #25D366;
  --green-dark: #1EBE57;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-size: 16px;
  background: var(--white);
  color: #111;
  line-height: 1.7;
  padding-bottom: 70px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo {
  color: var(--gold); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -.02em;
}
.menu-btn {
  display: block; background: none; border: none;
  color: var(--gold); font-size: 1.5rem; padding: 10px;
  min-width: 44px; min-height: 44px;
}
.nav {
  display: none; flex-direction: column; position: absolute;
  top: 56px; left: 0; right: 0; background: var(--navy-dark);
  padding: 8px 0; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.nav.open { display: flex; }
.nav a {
  display: block; padding: 14px 20px; color: rgba(255,255,255,.8);
  font-size: 1rem; transition: .15s; border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: 44px;
}
.nav a:hover, .nav a.active {
  color: var(--gold); background: rgba(201,169,110,.08);
}
@media (min-width: 769px) {
  .menu-btn { display: none; }
  .nav {
    display: flex !important; flex-direction: row; position: static;
    background: none; padding: 0; box-shadow: none; gap: 2px;
  }
  .nav a {
    padding: 8px 12px; border-radius: 6px; font-size: .85rem; border: none;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 48px 16px 56px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block; background: rgba(201,169,110,.15); color: var(--gold);
  padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; margin-bottom: 20px; border: 1px solid rgba(201,169,110,.25);
}
.hero h1 {
  font-size: clamp(1.8rem, 7vw, 2.6rem); color: var(--white); font-weight: 800;
  line-height: 1.35; margin-bottom: 16px; position: relative;
}
.hero h1 em {
  font-style: normal; color: var(--gold);
}
.hero-desc {
  color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.8;
  max-width: 520px; margin: 0 auto 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  transition: .2s; gap: 6px; min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-w {
  border: 1.5px solid rgba(255,255,255,.4); color: var(--white); background: none;
}
.btn-outline-w:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }

/* ===== IMAGE BLOCKS ===== */
.img-block {
  width: 100%; border-radius: 12px; overflow: hidden;
  position: relative; aspect-ratio: 16/9;
}
.img-block.tall { aspect-ratio: 4/3; }
.img-block.square { aspect-ratio: 1/1; }
.img-navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
}
.img-gold {
  background: linear-gradient(135deg, var(--navy), var(--gold-dark));
}
.img-warm {
  background: linear-gradient(135deg, #2C1810, var(--navy-dark));
}
.img-neon {
  background: linear-gradient(135deg, #1a0533, var(--navy));
}
.img-block .overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; flex-direction: column; padding: 20px;
}
.img-block .icon { font-size: 3rem; margin-bottom: 8px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.img-block .caption {
  color: #FFFFFF; font-size: .85rem; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.4); text-align: center;
}
.img-grid { display: grid; gap: 12px; }
.img-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.img-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ===== SECTIONS ===== */
.section { padding: 48px 16px; }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section-light { background: var(--gray-100); }
.section-title {
  font-size: clamp(1.4rem, 5vw, 1.8rem); font-weight: 800; color: var(--navy-dark);
  margin-bottom: 8px; line-height: 1.35;
}
.section-navy .section-title { color: var(--white); }
.section-title em { font-style: normal; color: var(--gold); }
.section-sub {
  color: var(--gray-600); font-size: .95rem; margin-bottom: 28px; line-height: 1.6;
}
.section-navy .section-sub { color: rgba(255,255,255,.75); }
.section-label {
  display: inline-block; color: var(--gold-dark); font-size: .75rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-navy .section-label { color: var(--gold); }

/* ===== CONTENT TEXT ===== */
.content p {
  color: #111; font-size: 1rem; line-height: 1.7; margin-bottom: 16px;
}
.content p:last-child { margin-bottom: 0; }
.section-navy .content p { color: rgba(255,255,255,.8); }

/* ===== CARDS ===== */
.card-list { display: flex; flex-direction: column; gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 24px; transition: .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: var(--gold); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--navy-dark); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: #222; line-height: 1.7; font-size: 1rem; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== NAVY CARD ===== */
.ncard {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 24px; transition: .2s;
}
.ncard:hover { border-color: var(--gold); background: rgba(255,255,255,.1); }
.ncard h3 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.ncard p { color: rgba(255,255,255,.7); line-height: 1.7; font-size: 1rem; }

/* ===== STEPS ===== */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step h3 { color: var(--navy-dark); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: #222; line-height: 1.7; font-size: 1rem; }

/* ===== REVIEW ===== */
.review {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 20px; margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-name { color: var(--navy-dark); font-weight: 700; font-size: .95rem; }
.review-meta { color: var(--gray-600); font-size: .8rem; }
.review-stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.review p { color: #222; line-height: 1.7; font-size: 1rem; }

/* ===== FAQ ===== */
.faq { border-bottom: 1px solid var(--gray-200); }
.faq:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; background: none; border: none; text-align: left;
  color: var(--navy-dark); font-weight: 700; font-size: 1rem; gap: 12px;
  min-height: 44px;
}
.faq-q span { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; transition: .2s; }
.faq.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 0 18px; color: #222;
  line-height: 1.7; font-size: 1rem;
}
.faq.open .faq-a { display: block; }

/* ===== CONTACT ===== */
.contact-card {
  display: block; border-radius: 12px; padding: 28px 20px;
  text-align: center; transition: .2s; margin-bottom: 12px;
}
.contact-card-gold {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 2px solid var(--gold);
}
.contact-card-kakao {
  background: #FEE500; border: 2px solid #F5D800;
}
.contact-icon { font-size: 2.5rem; margin-bottom: 10px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.contact-card .number { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.contact-card p { line-height: 1.7; font-size: 1rem; }
.contact-card-gold h3, .contact-card-gold .number { color: var(--gold); }
.contact-card-gold p { color: rgba(255,255,255,.7); }
.contact-card-kakao h3 { color: #3C1E1E; }
.contact-card-kakao .number { color: #3C1E1E; }
.contact-card-kakao p { color: #5C3C3C; }

/* ===== BAMKEY LINK ===== */
.bamkey-link {
  display: block; margin: 32px auto 0; max-width: 720px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border: 1px solid rgba(201,169,110,.3); border-radius: 12px;
  padding: 24px 20px; text-align: center; transition: .2s;
}
.bamkey-link:hover { border-color: var(--gold); }
.bamkey-link .label { color: var(--gold); font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.bamkey-link .main { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.bamkey-link .sub { color: rgba(255,255,255,.7); font-size: .8rem; }
.bamkey-link .arrow { color: var(--gold); font-size: 1.2rem; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep); padding: 32px 16px; text-align: center;
}
.footer p { color: rgba(255,255,255,.65); font-size: .8rem; margin-bottom: 6px; }
.footer a { color: var(--gold); }
.footer a:hover { text-decoration: underline; }

/* ===== PHONE BAR — 모바일: 하단 고정 / PC: 우하단 플로팅 ===== */
.phone-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 200; width: 100%; max-width: 400px;
  background: var(--green); color: var(--white); font-weight: 800; font-size: 1.05rem;
  text-align: center; padding: 16px 20px; border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(37,211,102,.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
}
.phone-bar:hover { background: var(--green-dark); }
.phone-bar .phone-icon { font-size: 1.2rem; }
@media (min-width: 769px) {
  .phone-bar {
    left: auto; right: 24px; bottom: 24px; transform: none;
    width: auto; max-width: none; border-radius: 12px;
    padding: 14px 28px; box-shadow: 0 4px 24px rgba(37,211,102,.35);
  }
}

/* ===== DIVIDER ===== */
.divider { height: 8px; background: var(--gray-100); }
.divider-navy { height: 4px; background: linear-gradient(90deg, var(--gold), var(--navy), var(--gold)); opacity: .3; }

/* ===== UTILS ===== */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-dark); }

/* ===== INSIDER TIP ===== */
.insider-tip {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
  padding: 20px 20px 20px 24px; margin: 24px 0; color: #FFFFFF;
}
.insider-tip .tip-label {
  color: var(--gold); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
}
.insider-tip p { color: rgba(255,255,255,.85); line-height: 1.7; font-size: 1rem; }

/* ===== SCROLL SECRET ===== */
.scroll-secret {
  opacity: 0; max-height: 0; overflow: hidden; margin-top: 0;
  transition: opacity .8s ease, max-height .8s ease, margin-top .4s ease;
}

/* ===== COMPARISON ===== */
.comparison {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0;
}
.comparison .col {
  border-radius: 12px; padding: 20px; text-align: center;
}
.comparison .col-before {
  background: var(--gray-100); border: 1px solid var(--gray-200);
}
.comparison .col-after {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border: 1px solid var(--gold);
}
.comparison .col-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.comparison .col-before .col-label { color: var(--gray-600); }
.comparison .col-after .col-label { color: var(--gold); }
.comparison .col-before p { color: #222; font-size: .9rem; line-height: 1.6; }
.comparison .col-after p { color: #FFFFFF; font-size: .9rem; line-height: 1.6; }

/* ===== REVIEW HIGHLIGHT ===== */
.review-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px; padding: 24px; text-align: center; margin: 24px 0;
}
.review-highlight .quote {
  color: var(--navy-deep); font-size: 1.1rem; font-weight: 700;
  line-height: 1.5; margin-bottom: 8px;
}
.review-highlight .author { color: var(--navy); font-size: .85rem; }

/* ===== SOCIAL PROOF BANNER ===== */
.social-proof {
  background: var(--gray-100); border-radius: 8px;
  padding: 10px 16px; text-align: center; margin: 16px auto;
  max-width: 720px; font-size: .85rem; color: var(--gray-600);
}
.social-proof strong { color: var(--navy-dark); font-weight: 700; }

/* ===== COUNTDOWN ===== */
.countdown-bar {
  background: linear-gradient(135deg, #D32F2F, #B71C1C);
  color: #FFFFFF; text-align: center; padding: 12px 16px;
  font-size: .9rem; font-weight: 700; letter-spacing: -.01em;
  border-radius: 10px; margin: 16px auto; max-width: 720px;
  animation: pulse-glow 2s ease-in-out infinite;
}
.countdown-bar .num { font-size: 1.3rem; color: #FFD54F; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(211,47,47,0); }
  50% { box-shadow: 0 0 16px rgba(211,47,47,.4); }
}

/* ===== GALLERY SWIPE ===== */
.gallery {
  overflow-x: auto; scroll-snap-type: x mandatory;
  display: flex; gap: 12px; padding: 0 16px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin: 24px -16px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-card {
  scroll-snap-align: center; flex: 0 0 85%; min-width: 280px;
  border-radius: 12px; overflow: hidden; position: relative;
}
.gallery-card .g-pair {
  display: grid; grid-template-columns: 1fr 1fr; height: 200px;
}
.gallery-card .g-half {
  position: relative; display: flex; align-items: center;
  justify-content: center; flex-direction: column; padding: 16px;
}
.gallery-card .g-half.g-day {
  background: linear-gradient(135deg, #E8E8EA, #F4F4F5);
}
.gallery-card .g-half.g-night {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.gallery-card .g-half .g-icon { font-size: 2.5rem; margin-bottom: 6px; }
.gallery-card .g-half .g-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 4px;
}
.gallery-card .g-day .g-label { color: var(--gray-600); }
.gallery-card .g-night .g-label { color: var(--gold); }
.gallery-card .g-half .g-text {
  font-size: .85rem; line-height: 1.4; text-align: center;
}
.gallery-card .g-day .g-text { color: #222; }
.gallery-card .g-night .g-text { color: #FFFFFF; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.gallery-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 8px;
}
.gallery-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-200); transition: .3s;
}
.gallery-dots span.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ===== MINI QUIZ ===== */
.quiz {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 16px; padding: 28px 20px; margin: 32px 0;
  color: #FFFFFF;
}
.quiz-title {
  font-size: 1.15rem; font-weight: 800; text-align: center;
  margin-bottom: 4px; color: var(--gold);
}
.quiz-sub {
  font-size: .85rem; text-align: center; color: rgba(255,255,255,.75);
  margin-bottom: 24px;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-q {
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
  text-align: center; line-height: 1.5;
}
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 14px 16px; font-size: .95rem;
  color: rgba(255,255,255,.9); cursor: pointer; transition: .2s;
  text-align: left; min-height: 44px; display: flex; align-items: center;
}
.quiz-opt:hover, .quiz-opt:active {
  border-color: var(--gold); background: rgba(201,169,110,.12);
}
.quiz-progress {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 20px;
}
.quiz-progress span {
  width: 32px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15);
}
.quiz-progress span.done { background: var(--gold); }
.quiz-result {
  display: none; text-align: center; padding: 8px 0;
}
.quiz-result.show { display: block; }
.quiz-result .result-type {
  font-size: 1.4rem; font-weight: 800; color: var(--gold);
  margin-bottom: 8px;
}
.quiz-result .result-desc {
  color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.6;
  margin-bottom: 16px;
}
.quiz-result .btn { width: 100%; }

/* ===== EXIT INTENT TOAST ===== */
.exit-toast {
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  z-index: 300; width: calc(100% - 32px); max-width: 400px;
  background: var(--navy-deep); border: 1.5px solid var(--gold);
  border-radius: 12px; padding: 16px 20px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.4); transition: top .4s ease;
}
.exit-toast.show { top: 16px; }
.exit-toast .exit-msg {
  color: #FFFFFF; font-size: .95rem; font-weight: 700;
  line-height: 1.5; margin-bottom: 12px;
}
.exit-toast .exit-msg em { color: var(--gold); font-style: normal; }
.exit-toast .exit-btns { display: flex; gap: 8px; }
.exit-toast .exit-btns a, .exit-toast .exit-btns button {
  flex: 1; padding: 12px; border-radius: 8px; font-size: .85rem;
  font-weight: 700; text-align: center; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.exit-toast .btn-exit-cta {
  background: var(--gold); color: var(--navy-deep); border: none;
}
.exit-toast .btn-exit-close {
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); cursor: pointer;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  font-size: clamp(1.3rem, 4.5vw, 1.5rem); font-style: italic; font-weight: 700;
  color: var(--navy-dark); line-height: 1.5; text-align: center;
  padding: 28px 20px; margin: 32px 0; position: relative;
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
}
.pull-quote::before { content: '\201C'; font-size: 3rem; color: var(--gold); position: absolute; top: 8px; left: 12px; line-height: 1; }
.section-navy .pull-quote { color: rgba(255,255,255,.9); }

/* ===== MID CTA (놀쿨 보라색 100% 버튼) ===== */
.mid-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 720px; margin: 32px auto;
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #FFFFFF; font-size: 1.1rem; font-weight: 800;
  padding: 0 24px; height: 56px; border-radius: 14px;
  text-align: center; transition: .2s;
  box-shadow: 0 4px 20px rgba(124,58,237,.3);
  min-height: 56px;
}
.mid-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.4); }

/* ===== HOOK SENTENCE ===== */
.hook-sentence {
  font-size: clamp(1.1rem, 4vw, 1.25rem); font-weight: 800;
  color: var(--navy-dark); line-height: 1.5; margin-bottom: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200);
}

/* ===== BOTTOM CTA (놀쿨 보라색) ===== */
.bottom-cta {
  display: block; margin: 24px auto; max-width: 720px;
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  border-radius: 14px; padding: 20px 24px; text-align: center;
  transition: .2s; box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.bottom-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.4); }
.bottom-cta .cta-label {
  color: rgba(255,255,255,.7); font-size: .8rem; margin-bottom: 4px;
}
.bottom-cta .cta-main {
  color: #FFFFFF; font-size: 1.2rem; font-weight: 800;
  letter-spacing: -.01em;
}
.bottom-cta .cta-arrow {
  color: rgba(255,255,255,.8); font-size: 1.1rem; margin-top: 4px;
}

/* ===== 2026 UI/UX 강화 — a11y · 다크모드 · iOS safe-area · 키보드 · 모션 ===== */

/* Skip to main content (스크린리더/키보드 내비) */
.skip-to-main {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
  background: var(--gold); color: var(--navy-deep); padding: 12px 20px;
  font-weight: 800; border-radius: 0 0 8px 0; z-index: 9999;
}
.skip-to-main:focus {
  left: 0; top: 0; width: auto; height: auto; overflow: visible;
  outline: 3px solid var(--white); outline-offset: 2px;
}

/* 키보드 focus 강화 — 마우스에는 안 보이고, 키보드에만 보임 */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.phone-bar:focus-visible,
.faq-q:focus-visible,
.quiz-opt:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201,169,110,.25);
}

/* 모션 줄이기 선호 사용자 존중 (전정 장애·멀미) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .countdown-bar { animation: none; }
}

/* iOS notch / 홈인디케이터 safe area */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .phone-bar { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .header .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}

/* iOS 탭 하이라이트 제거 (회색 깜빡임) */
a, button, .quiz-opt, .faq-q, .phone-bar {
  -webkit-tap-highlight-color: rgba(201,169,110,.15);
  -webkit-touch-callout: none;
}

/* 선택 컬러 브랜드화 */
::selection { background: var(--gold); color: var(--navy-deep); }
::-moz-selection { background: var(--gold); color: var(--navy-deep); }

/* 다크모드 — 헤더/하단 페이지 강제 다크 유지, 본문은 더 강한 대비 */
@media (prefers-color-scheme: dark) {
  body { background: #0A1420; color: #F4F4F5; }
  .section { background: #0A1420; }
  .section .section-title { color: var(--gold); }
  .section .section-sub { color: rgba(255,255,255,.75); }
  .content p { color: rgba(255,255,255,.92); }
  .card { background: #111E2E; border-color: #1E3A5F; }
  .card h3 { color: var(--gold); }
  .card p { color: rgba(255,255,255,.88); }
  .step h3 { color: var(--gold); }
  .step p { color: rgba(255,255,255,.88); }
  .review { background: #111E2E; border-color: #1E3A5F; }
  .review-name { color: var(--gold); }
  .review p { color: rgba(255,255,255,.88); }
  .faq-q { color: var(--gold); }
  .faq-a { color: rgba(255,255,255,.88); }
  .faq { border-color: #1E3A5F; }
  .step { border-color: #1E3A5F; }
  .divider { background: #1E3A5F; }
  .social-proof { background: #111E2E; color: rgba(255,255,255,.85); }
  .social-proof strong { color: var(--gold); }
  .pull-quote { color: var(--gold); }
  .comparison .col-before { background: #1A2638; border-color: #1E3A5F; }
  .comparison .col-before p { color: rgba(255,255,255,.85); }
  .comparison .col-before .col-label { color: rgba(255,255,255,.6); }
  .hook-sentence { color: var(--gold); border-color: #1E3A5F; }
  .gallery-card .g-half.g-day { background: linear-gradient(135deg, #1A2638, #111E2E); }
  .gallery-card .g-day .g-text { color: rgba(255,255,255,.85); }
  .gallery-card .g-day .g-label { color: rgba(255,255,255,.6); }
}

/* dvh — 모바일 주소창 보정 (hero가 화면을 꽉 채울 때) */
@supports (height: 100dvh) {
  .hero { min-height: auto; }
}

/* 스크롤바 점프 방지 (PC) */
@media (min-width: 769px) {
  html { scrollbar-gutter: stable; }
}

/* 렌더 성능 hint — 큰 섹션 격리 */
.section, .gallery, .quiz, .review-highlight, .review { content-visibility: auto; contain-intrinsic-size: 400px; }

/* 텍스트 가독성 — 자동 word-break + 한글 줄바꿈 자연화 */
body, .content p, .card p, .ncard p, .review p, .faq-a, .step p {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
h1, h2, h3, .section-title, .hero h1 {
  word-break: keep-all;
  text-wrap: balance;
}

/* 모바일 터치 인터랙션 — active 상태 명시 */
@media (hover: none) and (pointer: coarse) {
  .btn:active { transform: scale(.97); transition: transform .1s; }
  .quiz-opt:active { background: rgba(201,169,110,.18); }
  .phone-bar:active { background: var(--green-dark); transform: scale(.98); }
}

/* 이미지 lazy decode hint */
img { content-visibility: auto; }

/* 인쇄 스타일 */
@media print {
  .header, .nav, .menu-btn, .phone-bar, .exit-toast, .countdown-bar,
  .bottom-cta, .bamkey-link, .mid-cta, .hero-btns, .quiz, .gallery, footer { display: none !important; }
  body { padding: 0; color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .hero { background: #fff; color: #000; padding: 12pt 0; }
  .hero h1, .hero h1 em { color: #000; }
  .hero-desc { color: #333; }
  .section { padding: 12pt 0; page-break-inside: avoid; }
}

/* 화면 너비 매우 좁은 기기 (320px iPhone SE) 대응 */
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .hero { padding: 36px 12px 44px; }
  .hero h1 { font-size: 1.7rem; }
  .btn { padding: 12px 20px; font-size: .9rem; }
  .section-title { font-size: 1.3rem; }
}

/* 매우 큰 화면 (4K) — 본문 폭 제한 유지하면서 여백 더 */
@media (min-width: 1400px) {
  .wrap { max-width: 800px; }
  .hero-desc { font-size: 1.05rem; }
}

/* ARIA live region — 시각적 숨김 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
