:root {
  --bg-main: #0f172a;
  --bg-alt: #020617;
  --bg-card: rgba(30, 41, 59, 0.42);
  --bg-card-solid: #111c33;
  --bg-nav: rgba(15, 23, 42, 0.92);
  --border: #1e293b;
  --border-soft: rgba(51, 65, 85, 0.65);
  --text-main: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --indigo-400: #818cf8;
  --radius-card: 24px;
  --radius-btn: 16px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-main);
  color: var(--text-main);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--blue-600);
  color: #ffffff;
}

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

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue-400);
  background: rgba(23, 37, 84, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 2px 8px;
  border-radius: 6px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-600);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--blue-500);
}

.mobile-subnav {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 20px 10px;
  border-top: 1px solid rgba(30, 41, 59, 0.7);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.mobile-subnav a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .nav-inner {
    padding: 16px 24px;
  }
  .nav-links {
    display: flex;
  }
  .mobile-subnav {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.12);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 22px;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  max-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 26px;
  border-radius: var(--radius-btn);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
  background: #273549;
  border-color: #475569;
}

@media (min-width: 640px) {
  .hero {
    padding: 88px 24px 96px;
  }
  .hero-actions {
    flex-direction: row;
  }
  .btn-primary,
  .btn-secondary {
    width: auto;
    max-width: none;
  }
}

/* Sections */
.section {
  border-top: 1px solid var(--border);
  padding: 72px 20px;
  scroll-margin-top: 64px;
}

.section-alt {
  background: var(--bg-alt);
}

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

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

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* How it works cards */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 900;
  color: var(--blue-400);
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #1e293b;
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.step-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  transition: background-color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(30, 41, 59, 0.45);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(90deg);
  color: var(--blue-400);
}

.faq-answer {
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(30, 41, 59, 0.85);
  background: rgba(2, 6, 23, 0.35);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Start CTA section */
.start-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.start-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 900;
  color: #ffffff;
}

.start-desc {
  margin: 0 auto;
  max-width: 520px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Document pages (/privacy/, /delete-account/) */
.doc-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.doc {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .doc {
    padding: 40px 36px;
  }
}

.doc h1 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3.6vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
}

.doc h2 {
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.doc h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #e2e8f0;
}

.doc p {
  margin: 0 0 14px;
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

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

.doc a {
  color: var(--blue-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc a:hover {
  color: #93c5fd;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.doc th,
.doc td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

@media (min-width: 640px) {
  .doc table {
    font-size: 14px;
  }
  .doc th,
  .doc td {
    padding: 11px 13px;
  }
}

.doc th:last-child,
.doc td:last-child {
  border-right: none;
}

.doc tr:last-child td {
  border-bottom: none;
}

.doc th {
  background: rgba(30, 41, 59, 0.85);
  color: #ffffff;
  font-weight: 800;
}

.doc td {
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-body);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-main);
  padding: 40px 20px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 4px;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--blue-400);
}

.site-footer p {
  margin: 0;
}

.footer-disclaimer {
  margin-top: 6px !important;
  font-size: 12px;
  color: var(--text-dim);
}
