@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Noto+Sans+KR:wght@300;400;500&family=Noto+Serif+KR:wght@300;400&display=swap');

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

:root {
  --ink:        #0D0D0F;
  --ink-soft:   #1E1E22;
  --mist:       #555558;
  --silver:     #A0A0A8;
  --paper:      #F5F3EE;
  --white:      #FAFAF8;
  --gold:       #B8935A;
  --gold-light: #E8D5B5;
  --gold-pale:  #F6F0E6;
  --teal:       #2D6A5F;
  --d1: #B8935A;
  --d2: #2D6A5F;
  --d3: #7B9E87;
  --d4: #A0856C;
  --d5: #8A7BA8;
  --serif: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --sans:  'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.revealed { opacity: 1; transform: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,243,238,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(199,199,204,0.45);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 300;
  color: var(--ink); letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 0.4rem;
  text-decoration: none;
}
.nav-logo em { font-style: italic; color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400; color: var(--mist);
  letter-spacing: 0.1em; text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em;
  color: var(--white); background: var(--gold);
  border: none; border-radius: 1px;
  padding: 0.6rem 1.4rem; cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #a07a44; }

/* ══════════════════════
   PAGE HERO
══════════════════════ */
.page-hero {
  padding: 9rem 3rem 6rem;
  background: var(--ink);
  position: relative; overflow: hidden;
}
.ph-deco {
  position: absolute; right: -2rem; top: -3rem;
  font-family: var(--serif); font-size: 22rem; font-weight: 300;
  font-style: italic; color: rgba(255,255,255,0.03);
  line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -0.05em;
}
.ph-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.ph-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards;
}
.ph-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.25s forwards;
}
.ph-title em { font-style: italic; color: var(--gold); }
.ph-sub {
  font-size: 0.95rem; font-weight: 300;
  color: rgba(255,255,255,0.75); line-height: 1.9;
  max-width: 520px; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.ph-meta {
  display: flex; gap: 3rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.55s forwards;
}
.pm-item {}
.pm-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.8rem; font-weight: 300; color: var(--gold); line-height: 1;
}
.pm-label {
  font-size: 0.7rem; font-weight: 300;
  color: rgba(255,255,255,0.60); letter-spacing: 0.06em; margin-top: 0.3rem;
}

/* ══════════════════════
   BUNDLE SECTION
══════════════════════ */
.section-bundle {
  background: var(--gold-pale);
  border-bottom: 0.5px solid var(--gold-light);
  padding: 5rem 3rem;
}
.bundle-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.bundle-left {}
.bundle-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.25rem;
}
.bundle-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; line-height: 1.2; color: var(--ink); margin-bottom: 1rem;
}
.bundle-title em { font-style: italic; color: var(--gold); }
.bundle-desc {
  font-size: 0.88rem; font-weight: 300; color: var(--mist);
  line-height: 1.9; margin-bottom: 2rem;
}
.bundle-includes {
  display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2.5rem;
}
.bi-row {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.82rem; font-weight: 300; color: var(--ink-soft);
}
.bi-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 500; color: var(--white);
}
.bundle-price-row {
  display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem;
}
.bundle-price {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 300;
  color: var(--ink); font-style: italic;
}
.bundle-price-orig {
  font-size: 1rem; font-weight: 300; color: var(--mist);
  text-decoration: line-through; letter-spacing: 0.02em;
}
.bundle-save {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--white); background: var(--teal);
  padding: 0.25rem 0.65rem; border-radius: 1px;
}
.btn-bundle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: var(--white); border: none;
  border-radius: 1px; padding: 1rem 2.5rem;
  font-family: var(--sans); font-size: 0.85rem;
  font-weight: 400; letter-spacing: 0.12em; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-bundle:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-bundle .ext { font-size: 0.8rem; opacity: 0.6; }
.bundle-note {
  margin-top: 0.85rem; font-size: 0.72rem; font-weight: 300;
  color: var(--mist); letter-spacing: 0.03em;
}

.bundle-right {}
.bundle-stack {
  position: relative; height: 340px;
}
.bs-card {
  position: absolute;
  background: var(--white); border: 0.5px solid var(--silver);
  border-radius: 8px; padding: 1.5rem 1.75rem;
  width: 200px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.bs-card:nth-child(1) { top: 0;    left: 20px;  transform: rotate(-3deg); }
.bs-card:nth-child(2) { top: 30px; left: 60px;  transform: rotate(-1deg); }
.bs-card:nth-child(3) { top: 55px; left: 100px; transform: rotate(1deg); }
.bs-card:nth-child(4) { top: 75px; left: 140px; transform: rotate(2.5deg); }
.bs-card:nth-child(5) { top: 90px; left: 180px; transform: rotate(3.5deg); }
.bs-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.4rem; font-weight: 300; line-height: 1; margin-bottom: 0.4rem;
}
.bs-title {
  font-family: var(--serif); font-size: 0.9rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.2rem;
}
.bs-pages {
  font-size: 0.68rem; font-weight: 300; color: var(--mist); letter-spacing: 0.04em;
}

/* ══════════════════════
   WORKBOOKS GRID
══════════════════════ */
.section-workbooks {
  padding: 7rem 3rem;
  max-width: 1100px; margin: 0 auto;
}
.sw-header { margin-bottom: 4rem; }
.sw-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.25rem;
}
.sw-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.2; color: var(--ink);
}
.sw-title em { font-style: italic; color: var(--gold); }

.workbooks-grid {
  display: flex; flex-direction: column; gap: 1.5rem;
}

.wb-card {
  background: var(--white);
  border: 0.5px solid var(--silver);
  border-radius: 10px; overflow: hidden;
  display: grid; grid-template-columns: 280px 1fr auto;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.wb-card:hover {
  border-color: rgba(184,147,90,0.4);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.wb-cover {
  padding: 2rem 2rem 2rem 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 0.5px solid var(--silver);
  position: relative; overflow: hidden;
}
.wb-cover::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
}
.wb-num {
  font-family: var(--serif); font-style: italic;
  font-size: 3rem; font-weight: 300; line-height: 1;
  margin-bottom: 0.5rem;
}
.wb-domain {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.wb-title {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  color: var(--ink); line-height: 1.3; margin-bottom: 0.25rem;
}
.wb-subtitle {
  font-size: 0.75rem; font-weight: 300; color: var(--mist);
  line-height: 1.6;
}
.wb-pages {
  font-size: 0.68rem; font-weight: 300; color: var(--silver);
  letter-spacing: 0.06em; margin-top: 1.5rem;
}

.wb-body {
  padding: 2rem 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.wb-desc {
  font-size: 0.85rem; font-weight: 300; color: var(--mist);
  line-height: 1.85; margin-bottom: 1.5rem; max-width: 400px;
}
.wb-chapters { display: flex; flex-direction: column; gap: 0.45rem; }
.wb-ch {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 300; color: var(--ink-soft);
}
.wb-ch-num {
  font-family: var(--serif); font-style: italic;
  font-size: 0.75rem; color: var(--mist); min-width: 20px;
}

.wb-action {
  padding: 2rem 2.5rem 2rem 1rem;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between;
  min-width: 160px;
}
.wb-price {
  font-family: var(--serif); font-style: italic;
  font-size: 1.8rem; font-weight: 300; color: var(--ink);
  text-align: right;
}
.wb-price-label {
  font-size: 0.68rem; font-weight: 300; color: var(--mist);
  letter-spacing: 0.04em; text-align: right; margin-top: 0.2rem;
}
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 1px; padding: 0.75rem 1.5rem;
  font-family: var(--sans); font-size: 0.78rem;
  font-weight: 400; letter-spacing: 0.1em;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-buy-primary {
  background: var(--ink); color: var(--white);
}
.btn-buy-primary:hover { background: var(--ink-soft); }

.btn-buy-outline {
  background: transparent; color: var(--mist);
  border: 0.5px solid var(--silver);
  margin-top: 0.5rem;
}
.btn-buy-outline:hover { border-color: var(--ink); color: var(--ink); }

.gumroad-badge {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.65rem; font-weight: 300; color: var(--silver);
  letter-spacing: 0.04em; margin-top: 0.85rem;
}
.gumroad-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #ff90e8; flex-shrink: 0;
}

/* ══════════════════════
   HOW IT WORKS
══════════════════════ */
.section-how {
  background: var(--white);
  border-top: 0.5px solid var(--silver);
  border-bottom: 0.5px solid var(--silver);
  padding: 6rem 3rem;
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.25rem;
}
.how-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 300; color: var(--ink); margin-bottom: 3.5rem;
}
.how-title em { font-style: italic; color: var(--gold); }

.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute; top: 22px; left: 11%; right: 11%;
  height: 0.5px; background: var(--silver); z-index: 0;
}
.how-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 1;
}
.hs-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 0.5px solid var(--silver);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; font-weight: 300; color: var(--gold);
  transition: border-color 0.2s, background 0.2s;
}
.how-step:hover .hs-circle {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}
.hs-title {
  font-family: var(--serif); font-size: 1rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.5rem;
}
.hs-desc {
  font-size: 0.78rem; font-weight: 300; color: var(--mist); line-height: 1.7;
}

/* ══════════════════════
   FAQ
══════════════════════ */
.section-faq { padding: 6rem 3rem; max-width: 760px; margin: 0 auto; }
.faq-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.25rem;
}
.faq-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 300; color: var(--ink); margin-bottom: 3rem;
}
.faq-title em { font-style: italic; color: var(--gold); }

.faq-item {
  border-top: 0.5px solid var(--silver); overflow: hidden;
}
.faq-item:last-child { border-bottom: 0.5px solid var(--silver); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.4rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
  color: var(--ink);
}
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative; transition: transform 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute;
  background: var(--mist); border-radius: 1px;
  transition: opacity 0.3s, transform 0.3s;
}
.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.4rem; }
.faq-a-text {
  font-size: 0.85rem; font-weight: 300; color: var(--mist); line-height: 1.85;
}

/* ══════════════════════
   CTA
══════════════════════ */
.section-cta {
  background: var(--ink);
  padding: 7rem 3rem; text-align: center;
}
.sc-eyebrow {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: rgba(184,147,90,0.8); text-transform: uppercase; margin-bottom: 1.5rem;
}
.sc-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 1.25rem;
}
.sc-title em { font-style: italic; color: var(--gold); }
.sc-sub {
  font-size: 0.88rem; font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.8;
  max-width: 380px; margin: 0 auto 3rem;
}
.sc-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold); color: var(--white); border: none; border-radius: 1px;
  padding: 1rem 2.5rem; font-family: var(--sans); font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  text-decoration: none; transition: background 0.2s;
}
.btn-gold:hover { background: #a07a44; }
.btn-outline-w {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(255,255,255,0.45); border-radius: 1px;
  padding: 1rem 2.5rem; font-family: var(--sans); font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline-w:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ══════════════════════
   FOOTER
══════════════════════ */
footer {
  background: var(--ink);
  padding: 3rem 3rem 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.6); text-decoration: none;
}
.footer-logo em { font-style: italic; color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.75rem; font-weight: 300;
  color: rgba(255,255,255,0.60); text-decoration: none;
  letter-spacing: 0.08em; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  max-width: 1100px; margin: 1.5rem auto 0;
  font-size: 0.7rem; font-weight: 300;
  color: rgba(255,255,255,0.42); letter-spacing: 0.05em;
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .bundle-inner { grid-template-columns: 1fr; gap: 3rem; }
  .bundle-stack { height: 220px; }
  .section-workbooks { padding: 5rem 1.5rem; }
  .wb-card { grid-template-columns: 1fr; }
  .wb-cover { border-right: none; border-bottom: 0.5px solid var(--silver); }
  .wb-action {
    flex-direction: row; align-items: center;
    padding: 1.5rem 2rem; min-width: unset;
    border-top: 0.5px solid var(--silver);
  }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .how-steps::before { display: none; }
  .section-bundle { padding: 4rem 1.5rem; }
  .section-how { padding: 4rem 1.5rem; }
  .section-faq { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

/* ══════════════════════════════
   WORKBOOK MOBILE (≤600px)
══════════════════════════════ */
@media (max-width: 600px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 5.5rem 1.25rem 3.5rem; }
  .ph-title  { font-size: 2.2rem; }
  .ph-meta   { gap: 1.5rem; }

  .section-bundle { padding: 3.5rem 1.25rem; }
  .bundle-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .bundle-title { font-size: 1.75rem; }
  .bundle-stack { height: 200px; }
  .bs-card { width: 160px; }
  .btn-bundle { width: 100%; justify-content: center; }

  .section-workbooks { padding: 3.5rem 1.25rem; }
  .sw-heading { font-size: 1.75rem; }
  .wb-card { grid-template-columns: 1fr; }
  .wb-cover { border-right: none; border-bottom: 0.5px solid var(--silver); padding: 1.5rem 1.25rem; }
  .wb-body  { padding: 1.5rem 1.25rem; }
  .wb-action {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.25rem;
    border-top: 0.5px solid var(--silver); min-width: unset;
  }
  .btn-buy { padding: 0.7rem 1.25rem; font-size: 0.75rem; }

  .section-how { padding: 3.5rem 1.25rem; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .how-steps::before { display: none; }

  .section-faq { padding: 3.5rem 1.25rem; }

  .section-cta { padding: 4rem 1.25rem; }
  .sc-title { font-size: 1.9rem; }
  .sc-actions { flex-direction: column; align-items: stretch; }
  .sc-actions .btn-gold, .sc-actions .btn-outline-w { text-align: center; }

  footer { padding: 2rem 1.25rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem 1.5rem; }
}
