:root {
  --ink: #0b0815;
  --paper: #f8f5ff;
  --cream: #efe9fb;
  --accent: #ff4f9f;
  --accent2: #7d5cff;
  --accent3: #d56eff;
  --light-border: #ddd4f1;
  --muted: #6d6586;
  --section-pad: 104px;
  --shadow: 0 24px 64px rgba(33, 24, 66, 0.12);
  --soft-shadow: 0 18px 42px rgba(49, 35, 92, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top left, rgba(125, 92, 255, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 79, 159, 0.14), transparent 28%),
    linear-gradient(180deg, #fcfaff 0%, #f7f3ff 44%, #faf8ff 100%);
  color: var(--ink);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 8, 21, 0.88);
  color: #fff;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 79, 159, 0.3);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(8, 6, 18, 0.28);
}

.logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo span {
  background: linear-gradient(135deg, #ff7fc0 0%, #b884ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav { display: flex; gap: 28px; }

nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.45px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

nav a:hover,
nav a.active { color: #fff; }

nav a:hover::after,
nav a.active::after { transform: scaleX(1); }

.hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 159, 0.28), transparent 20%),
    radial-gradient(circle at 84% 16%, rgba(125, 92, 255, 0.36), transparent 24%),
    linear-gradient(135deg, #090713 0%, #17112d 54%, #130e24 100%);
  color: #fff;
  padding: 112px 40px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  background: linear-gradient(135deg, rgba(125, 92, 255, 0.92) 0%, rgba(255, 79, 159, 0.72) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.92;
}

.hero::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 201, 0.68) 0%, rgba(255, 130, 201, 0) 72%);
  filter: blur(12px);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 160, 214, 0.4);
  color: #ffe5f2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 7px 15px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(10, 7, 22, 0.24);
}

.hero h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  max-width: 760px;
}

.hero h1 em {
  color: #ff9bd0;
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 54px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-item {
  min-width: 220px;
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(10, 8, 22, 0.22);
  backdrop-filter: blur(8px);
}

.stat-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

section {
  padding: var(--section-pad) 40px;
  scroll-margin-top: 92px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
}

.requirements-eyebrow { color: #ffc2ea; }

.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.9;
  margin-bottom: 56px;
}

#why { background: transparent; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cmp-col {
  padding: 40px 36px;
  border-radius: 28px;
  border: 1px solid var(--light-border);
  box-shadow: var(--soft-shadow);
}

.cmp-col.bad {
  background: linear-gradient(180deg, #fff4fb 0%, #ffffff 100%);
  border-color: rgba(255, 79, 159, 0.18);
}

.cmp-col.good {
  background: linear-gradient(180deg, #f3efff 0%, #ffffff 100%);
  border-color: rgba(125, 92, 255, 0.2);
}

.cmp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid currentColor;
}

.cmp-col.bad .cmp-label { color: var(--accent); }
.cmp-col.good .cmp-label { color: var(--accent2); }

.cmp-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.cmp-item:last-child { margin-bottom: 0; }

.cmp-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 10px 20px rgba(38, 23, 74, 0.12);
}

.bad .cmp-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #ff88c5 100%);
  color: #fff;
}

.good .cmp-icon {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent3) 100%);
  color: #fff;
}

.cmp-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.cmp-text span {
  font-size: 13px;
  color: var(--muted);
}

#requirements {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 79, 159, 0.18), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(125, 92, 255, 0.22), transparent 22%),
    linear-gradient(180deg, #110d20 0%, #17112f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#requirements .section-title { color: #fff; }
#requirements .section-lead { color: rgba(255, 255, 255, 0.62); }

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.req-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px 36px;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 20px 44px rgba(7, 5, 17, 0.24);
}

.req-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 160, 214, 0.28);
}

.req-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.req-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255, 155, 208, 0.4);
  color: #ffd8ee;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin-bottom: 20px;
}

.req-card h3 {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.req-threshold {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Noto Serif KR', serif;
  color: #ff9ed1;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.req-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.78;
}

.req-warning {
  background: linear-gradient(135deg, var(--accent) 0%, #a155ff 100%);
  padding: 26px 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(43, 18, 70, 0.24);
}

.req-warning .warn-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.req-warning p {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.req-warning strong {
  font-size: 17px;
  font-weight: 700;
}

#rates { background: linear-gradient(180deg, #f1ebff 0%, #faf7ff 100%); }

.rate-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.rate-table th {
  background: linear-gradient(135deg, #140f27 0%, #22163c 100%);
  color: #fff;
  padding: 18px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.rate-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--light-border);
  font-size: 15px;
}

.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:nth-child(even) td { background: #fcfaff; }

.rate-old { color: var(--muted); text-decoration: line-through; }
.rate-new { color: var(--accent); font-weight: 700; font-size: 18px; }
.rate-new-2026 { color: var(--accent2); font-weight: 700; font-size: 18px; }

.rate-badge-up {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7bc0 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 10px 22px rgba(255, 79, 159, 0.24);
}

.rate-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

#restrictions { background: transparent; }

.restrict-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.restrict-item {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--accent2);
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow: var(--soft-shadow);
}

.restrict-wide { grid-column: 1 / -1; }

.restrict-item h4 {
  font-family: 'Noto Serif KR', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.restrict-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cream);
  gap: 16px;
}

.restrict-row:last-child { border-bottom: none; }
.restrict-label { color: var(--muted); }
.restrict-before { text-decoration: line-through; color: #aaa; }
.restrict-after { color: var(--accent); font-weight: 700; }

#strategy {
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 79, 159, 0.16), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(125, 92, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #17112f 0%, #211742 56%, #2d1652 100%);
  color: #fff;
}

#strategy .section-title { color: #fff; }
#strategy .section-lead { color: rgba(255, 255, 255, 0.64); }
#strategy .section-eyebrow { color: #f4b9ff; }
#strategy .section-eyebrow::after { background: linear-gradient(135deg, #f4b9ff 0%, #9d83ff 100%); }

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strategy-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 36px 28px;
  box-shadow: 0 18px 42px rgba(10, 8, 20, 0.24);
}

.strategy-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 44px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.16);
  line-height: 1;
  margin-bottom: 16px;
}

.strategy-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.strategy-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.strategy-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 52px;
}

.flow-step {
  flex: 1;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  text-align: center;
  min-width: 220px;
  position: relative;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #f3c5ff;
  z-index: 2;
  font-weight: 900;
}

.flow-step-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.flow-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 12px;
  color: var(--muted);
}

#checklist { background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%); }

.checklist-box {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(125, 92, 255, 0.12);
}

.checklist-head {
  background: linear-gradient(135deg, #130f25 0%, #20153a 100%);
  color: #fff;
  padding: 22px 32px;
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.checklist-body { padding: 32px; }

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream);
  cursor: pointer;
}

.check-item:last-of-type { border-bottom: none; }

.check-label strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.check-label span {
  font-size: 13px;
  color: var(--muted);
}

.check-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border: 2px solid var(--light-border);
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent2);
  margin-top: 2px;
}

.check-result {
  margin-top: 24px;
  padding: 18px 22px;
  background: #f3eeff;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.check-result.danger {
  background: #fff0f7;
  color: #e0317a;
  font-weight: 600;
}

.check-result.warning {
  background: #fff6e6;
  color: #9b6100;
  font-weight: 600;
}

.check-result.safe {
  background: #f4efff;
  color: #6a45dc;
  font-weight: 600;
}

footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 159, 0.14), transparent 18%),
    linear-gradient(180deg, #0d0919 0%, #120d21 100%);
  color: rgba(255, 255, 255, 0.5);
  padding: 54px 40px 60px;
  text-align: center;
  font-size: 13px;
  line-height: 2;
}

footer strong { color: rgba(255, 255, 255, 0.84); }

.footer-pdf {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 34px;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(80, 49, 188, 0.24);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-pdf:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .req-grid,
  .strategy-grid,
  .restrict-list { grid-template-columns: 1fr 1fr; }

  .req-grid > .req-card:last-child,
  .strategy-grid > .strategy-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  nav { display: none; }

  .comparison-grid,
  .req-grid,
  .restrict-list,
  .strategy-grid { grid-template-columns: 1fr; }

  .restrict-wide { grid-column: auto; }
  .flow { flex-direction: column; }

  .flow-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    top: auto;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
  }

  section { padding: 72px 24px; }
  header { padding: 0 20px; }
  .hero { padding: 92px 24px 80px; }
  .hero::before { width: 100%; clip-path: polygon(56% 0, 100% 0, 100% 100%, 12% 100%); opacity: 0.38; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .stat-item { min-width: 100%; }
}
