/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans KR', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #0b1220;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

header.scrolled {
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(24px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

nav a:hover {
  color: #60a5fa;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(96, 165, 250, 0.1);
  padding: 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-copyright {
  color: #475569;
  font-size: 0.875rem;
}

/* === SUB PAGE LAYOUT === */
.page-main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem 4rem;
}

.page-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(12px);
}

.page-card h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-card .date {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.page-card hr {
  border: none;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  margin: 2rem 0;
}

.page-card h2 {
  font-size: 1.5rem;
  color: #60a5fa;
  margin: 2rem 0 1rem;
}

.page-card h3 {
  font-size: 1.1rem;
  color: #a78bfa;
  margin: 1.25rem 0 0.75rem;
}

.page-card p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.page-card ol,
.page-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-card li {
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.page-card b,
.page-card strong {
  color: #60a5fa;
  font-weight: 600;
}

.page-card a {
  color: #60a5fa;
  text-decoration: none;
}

.page-card a:hover {
  text-decoration: underline;
}

.page-card table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}

.page-card th,
.page-card td {
  padding: 1rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  text-align: left;
}

.page-card th {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  font-weight: 600;
}

.page-card td {
  color: #cbd5e1;
}

/* === INFO BOX === */
.info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(96, 165, 250, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-top: 1.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }

  nav a:not(.cta-button) {
    display: none;
  }

  .page-card {
    padding: 2rem 1.5rem;
  }

  .page-card h1 {
    font-size: 2rem;
  }

  .footer-links {
    gap: 1rem;
  }
}
