/* ================================================== */
/* 기본 변수 */
/* ================================================== */
:root {
  --bg: #0b0c0f;
  --panel: #12141a;
  --panel2: #161a23;
  --text: #f3f5f7;
  --muted: rgba(243, 245, 247, 0.72);
  --line: rgba(243, 245, 247, 0.14);
  --accent: #5ea2ff;
  --accent2: #7cf2c3;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius2: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --panel: #ffffff;
    --panel2: #ffffff;
    --text: #0b0c0f;
    --muted: rgba(11, 12, 15, 0.68);
    --line: rgba(11, 12, 15, 0.12);
    --accent: #1e6dff;
    --accent2: #00a37a;
    --shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }
}

/* ================================================== */
/* 리셋 */
/* ================================================== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", Arial,
    sans-serif;
  background: radial-gradient(1200px 600px at 15% 10%, rgba(94, 162, 255, 0.18), transparent 60%),
    radial-gradient(1000px 520px at 85% 0%, rgba(124, 242, 195, 0.12), transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(94, 162, 255, 0.6);
  outline-offset: 2px;
  border-radius: 10px;
}

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

/* ================================================== */
/* 상단 바 */
/* ================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 15, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

@media (prefers-color-scheme: light) {
  .topbar {
    background: rgba(246, 247, 251, 0.7);
  }
}

.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(94, 162, 255, 0.18), rgba(124, 242, 195, 0.1));
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

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

.lang {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: rgba(94, 162, 255, 0.2);
  color: var(--text);
}

/* ================================================== */
/* 히어로 */
/* ================================================== */
.hero {
  padding: 54px 0 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 14px;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn.primary {
  border-color: rgba(94, 162, 255, 0.5);
  background: linear-gradient(90deg, rgba(94, 162, 255, 0.24), rgba(124, 242, 195, 0.12));
}

.note {
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.note strong {
  color: var(--text);
  margin-right: 6px;
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-k {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.stat-v {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ================================================== */
/* 섹션 */
/* ================================================== */
.section {
  padding: 26px 0;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
}

.section-head p {
  margin: 8px 0 0;
}

.muted {
  color: var(--muted);
}

/* ================================================== */
/* 카드 */
/* ================================================== */
.cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.placeholder-icon {
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--muted);
}

.card-title h3 {
  margin: 0;
  font-size: 18px;
}

.card-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag li {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.placeholder {
  opacity: 0.9;
}

/* ================================================== */
/* 지원 */
/* ================================================== */
.support-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  box-shadow: var(--shadow);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.support-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(94, 162, 255, 0.6);
  text-underline-offset: 4px;
}

.contact {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ================================================== */
/* 고지 */
/* ================================================== */
.disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
}

.disclaimer p {
  margin: 0 0 10px;
}

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

/* ================================================== */
/* 푸터 */
/* ================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.footer-brand {
  font-weight: 900;
  margin-bottom: 4px;
}

.footer-muted {
  color: var(--muted);
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 14px;
}

.footer-link {
  color: var(--muted);
  font-size: 14px;
}

.footer-link:hover {
  color: var(--text);
}
