:root {
  --bg: #0b1220;
  --bg-soft: #111c31;
  --card: #16233c;
  --line: #24334f;
  --text: #e8eef8;
  --muted: #a8b6cd;
  --accent: #1a73ff;
  --accent-2: #00b46e;
  --gold: #f2b23c;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: #7fb0ff; }
a:hover { color: #a8c9ff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo { display: block; }

.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-name span { color: var(--muted); font-weight: 600; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
  background: transparent;
}

.lang-switch a.is-active {
  background: var(--accent);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; }

.btn-app { background: var(--accent-2); color: #fff; }
.btn-app:hover { color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 8px;
}

/* Hero */
.hero {
  padding: 54px 0 40px;
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(26, 115, 255, 0.22), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(0, 180, 110, 0.14), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(242, 178, 60, 0.35);
  background: rgba(242, 178, 60, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: 38px;
  line-height: 1.28;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.lead { font-size: 18px; color: #d6e0f0; margin: 0; }

h2 {
  font-size: 27px;
  line-height: 1.35;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  font-weight: 700;
}

p { margin: 0 0 16px; }

section.block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

section.block:last-of-type { border-bottom: none; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 18px 0 4px;
}

.card h3 { margin-top: 0; }

.card p:last-child { margin-bottom: 0; }

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}

/* CTA panel */
.cta-panel {
  background: linear-gradient(135deg, rgba(26, 115, 255, 0.18), rgba(0, 180, 110, 0.12));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 26px 0;
}

.cta-panel h2, .cta-panel h3 { margin-top: 0; }

.bonus-box {
  background: var(--bg-soft);
  border: 1px dashed rgba(242, 178, 60, 0.6);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 22px 0;
}

.bonus-code {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
  background: rgba(242, 178, 60, 0.1);
  border: 1px solid rgba(242, 178, 60, 0.45);
  border-radius: 10px;
  padding: 8px 20px;
  margin: 6px 0 12px;
  text-transform: uppercase;
}

/* Lists */
ul.clean, ol.clean {
  margin: 0 0 16px;
  padding-left: 22px;
}

ul.clean li, ol.clean li { margin-bottom: 8px; }

/* Table */
.table-wrap { overflow-x: auto; margin: 18px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 520px;
}

th, td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th { background: var(--bg-soft); font-weight: 700; }

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 12px;
}

details[open] { border-color: rgba(26, 115, 255, 0.55); }

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  outline: none;
}

summary::-webkit-details-marker { display: none; }

details p { margin: 12px 0 4px; color: #d6e0f0; }

/* TOC */
.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 26px 0 0;
}

.toc h2 { font-size: 19px; margin-bottom: 10px; }

.toc ol { margin: 0; padding-left: 20px; }

.toc li { margin-bottom: 6px; }

.toc a { text-decoration: none; }

.toc a:hover { text-decoration: underline; }

/* Keyword strip */
.kw {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  word-break: keep-all;
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 34px 0;
  font-size: 15px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.site-footer a { color: #9dbdf0; }

.disclaimer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand-name span { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  h2 { font-size: 22px; }
  .hero { padding: 32px 0 28px; }
  .header-inner { min-height: 0; gap: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 112px; height: 27px; }
  .brand-name { font-size: 14px; }
  .header-nav { gap: 8px; }
  .lang-switch a { padding: 5px 11px; font-size: 13px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; padding: 7px 14px; font-size: 13px; }
  .card, .cta-panel, .toc, .bonus-box { padding: 18px; }
  .bonus-code { font-size: 19px; letter-spacing: 2px; padding: 7px 16px; }
  table { font-size: 15px; }
  th, td { padding: 10px 11px; }
}

@media (max-width: 400px) {
  .brand-name { display: none; }
}
