:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.15);
  --accent-strong: #ffb86c;
  --text: #f5f5f7;
  --text-muted: #a0a3b1;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Pretendard",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: radial-gradient(circle at top, #1a1440 0, #050816 45%, #02010a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.96),
    rgba(5, 8, 22, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(124, 92, 255, 0.2), transparent),
    rgba(8, 10, 26, 0.9);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  padding: 60px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  color: #d5cffb;
  border: 1px solid rgba(124, 92, 255, 0.35);
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.25);
}

.hero h1 {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.25;
}

.highlight {
  background: linear-gradient(120deg, #7c5cff, #ffb86c);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #7c5cff, #ff7eb3);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.55);
}

.btn.ghost {
  background: rgba(6, 9, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
}

.btn.ghost:hover {
  background: rgba(20, 25, 60, 0.95);
  color: var(--text);
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  background: radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent),
    rgba(7, 8, 21, 0.98);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-card ol {
  margin: 0;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card li {
  margin-bottom: 6px;
}

.hero-card li span {
  color: #e5deff;
  font-weight: 500;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), transparent),
    linear-gradient(to bottom, rgba(7, 10, 25, 0.95), rgba(5, 6, 18, 1));
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.section-lead {
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(8, 9, 24, 0.96);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  border: 1px solid var(--border-subtle);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.month-card {
  margin-bottom: 26px;
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(124, 92, 255, 0.2), transparent),
    rgba(6, 7, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.month-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.month-label {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  color: #ddd5ff;
  border: 1px solid rgba(124, 92, 255, 0.4);
}

.month-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.month-goal {
  margin: 4px 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.week {
  border-radius: var(--radius-md);
  padding: 12px 12px 10px;
  background: rgba(3, 4, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.week h4 {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.week ul {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.week li {
  margin-bottom: 2px;
}

.output {
  margin: 0;
  font-size: 0.8rem;
  color: #a5b4fc;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(3, 4, 15, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 16px 0 24px;
  background: radial-gradient(circle at bottom, rgba(30, 64, 175, 0.35), transparent),
    #02010a;
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

  .hero-card {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .week-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }

  .month-card {
    padding: 14px 12px 16px;
  }

  .week {
    padding: 10px 10px 8px;
  }
}

