:root {
  --bg-canvas: #0A0B0E;
  --bg-surface: #13151B;
  --bg-well: #1C1F27;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 168, 83, 0.35);
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --accent-gold: #D4A853;
  --accent-gold-soft: rgba(212, 168, 83, 0.12);
  --accent-red: #E5484D;
  --accent-green: #10B981;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 860px;
}

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

html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard", "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Language Toggle Visibility */
html[data-lang="en"] [data-i18n="ko"] { display: none !important; }
html[data-lang="ko"] [data-i18n="en"] { display: none !important; }

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

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-well);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-switch button.active {
  background: var(--bg-surface);
  color: var(--accent-gold);
}

/* Main Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 80px;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Cards Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.card h2, .card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "—";
  color: var(--accent-gold);
  margin-right: 8px;
}

/* Document / Legal Content */
.doc-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-header .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.doc-header h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

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

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-section ul {
  margin-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.callout {
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-primary);
}

.callout strong {
  color: var(--accent-gold);
}

/* FAQ */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 14px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #0A0B0E;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  margin-top: 12px;
  transition: opacity 0.15s ease;
}

.cta-button:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .nav-group {
    width: 100%;
    justify-content: space-between;
  }
  .nav-links {
    gap: 12px;
    font-size: 12px;
  }
}
