/* ============================================
   이음ON AI 콘텐츠 멤버십 - Premium Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0d0f1a;
  --bg-secondary: #131625;
  --bg-card: #1a1d2e;
  --bg-card-hover: #1f2340;
  --bg-surface: #222640;

  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --gold-border: rgba(201, 168, 76, 0.3);

  --lavender: #8b7cf6;
  --lavender-light: #a99ef8;
  --lavender-dim: rgba(139, 124, 246, 0.15);

  --coral: #f07b5a;
  --coral-dim: rgba(240, 123, 90, 0.15);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a4b8;
  --text-muted: #6b6f84;
  --text-accent: #c9a84c;

  --border-subtle: rgba(255,255,255,0.07);
  --border-card: rgba(255,255,255,0.1);
  --border-gold: rgba(201, 168, 76, 0.4);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0d0f1a 0%, #1a1040 50%, #0d0f1a 100%);
  --gradient-gold: linear-gradient(135deg, #c9a84c, #e8c96a);
  --gradient-card: linear-gradient(180deg, #1a1d2e 0%, #131625 100%);
  --gradient-lavender: linear-gradient(135deg, #6c63ff, #8b7cf6);

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.5);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
.text-gold { color: var(--gold); }
.text-lavender { color: var(--lavender); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #1a1200;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-card);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-border);
}
.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn-copy {
  background: var(--lavender-dim);
  color: var(--lavender-light);
  border: 1px solid rgba(139,124,246,0.3);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
}
.btn-copy:hover { background: rgba(139,124,246,0.25); }

.btn-save {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
}
.btn-save:hover { background: rgba(201,168,76,0.25); }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all 0.35s ease;
}

#navbar.scrolled {
  background: rgba(13,15,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

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

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

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

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

.nav-avatar {
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #1a1200;
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  padding: 4px;
  cursor: pointer;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  z-index: 0;
}

.hero-bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4a35c8, transparent);
  top: -100px; left: -100px;
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #c9a84c, transparent);
  bottom: 50px; right: 100px;
}

.hero-bg-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #8b7cf6, transparent);
  top: 40%; left: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto 44px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: block;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ── Problem Section ── */
#problem {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.problem-card:hover {
  border-color: var(--coral);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.problem-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
}

.problem-card .check-later {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--coral);
}

/* ── Solution Section ── */
#solution {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.solution-text-block {
  max-width: 480px;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
}

.solution-list li .icon {
  width: 28px;
  height: 28px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-card-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 340px;
  box-shadow: var(--shadow-card);
}

.solution-card-visual .mini-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.solution-card-visual .mini-card:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.mini-card .mc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Services Section ── */
#services {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

/* ── Target Users Section ── */
#target {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.target-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.target-card:hover {
  border-color: var(--lavender);
  transform: translateY(-4px);
}

.target-emoji {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.target-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.target-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Results Section ── */
#results {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.result-item:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
}

.result-check {
  width: 28px;
  height: 28px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #1a1200;
  font-weight: 800;
}

.result-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 500;
}

/* ── Preview Section ── */
#preview {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.preview-card-header {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.preview-badge.free {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.preview-badge.member {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.preview-card-body {
  padding: 20px;
}

.preview-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.preview-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-chip {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.preview-card-actions {
  display: flex;
  gap: 8px;
}

.preview-blur {
  position: relative;
}

.preview-blur .preview-card-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.preview-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13,15,26,0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  z-index: 2;
}

.preview-lock .lock-icon { font-size: 24px; margin-bottom: 8px; }
.preview-lock .lock-text { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ── Pricing Section ── */
#pricing {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--gold-border);
  background: linear-gradient(180deg, #1f1c35 0%, #1a1d2e 100%);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: '가장 인기';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #1a1200;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-price .price-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  background: var(--gold-dim);
  color: var(--gold);
  padding: 3px 12px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  margin-top: 8px;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li .fi {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-features li.disabled .fi { color: var(--text-muted); }

/* ── FAQ Section ── */
#faq {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--gold-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold); }
.faq-item.open .faq-question { color: var(--gold); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--gold-dim);
  color: var(--gold);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Final CTA Section ── */
#final-cta {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#final-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ── Footer ── */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Auth Pages ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background: var(--gradient-hero);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-card);
}

.auth-logo { text-align: center; margin-bottom: 32px; }

.auth-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-input::placeholder { color: var(--text-muted); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-card);
}

.social-btn {
  width: 100%;
  padding: 13px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a { color: var(--gold); font-weight: 600; }

/* ── Dashboard ── */
.page-wrapper {
  min-height: 100vh;
  padding-top: 80px;
  background: var(--bg-primary);
}

.page-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

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

.page-breadcrumb a { color: var(--gold); }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 40px 0;
}

.dashboard-main { display: flex; flex-direction: column; gap: 32px; }
.dashboard-side { display: flex; flex-direction: column; gap: 24px; }

.dash-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

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

.stat-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Quick Category Grid */
.quick-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.quick-cat {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.quick-cat:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.quick-cat .cat-icon { font-size: 22px; display: block; margin-bottom: 6px; }
.quick-cat .cat-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

/* Horizontal card list */
.cards-h-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-surface) transparent;
}

/* ── Library / Browse Page ── */
.library-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
}

.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  margin-top: 20px;
}

.sidebar h3:first-child { margin-top: 0; }

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-dim);
  color: var(--gold);
}

.filter-btn .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

.search-box {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--text-muted); }

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.library-content { display: flex; flex-direction: column; gap: 24px; }

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
}

.filter-chip .remove { font-size: 14px; }

/* Content Cards Grid */
.content-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.content-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.content-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.difficulty-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.difficulty-beginner {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
}

.difficulty-intermediate {
  background: rgba(250,204,21,0.12);
  color: #facc15;
  border: 1px solid rgba(250,204,21,0.25);
}

.difficulty-advanced {
  background: rgba(240,123,90,0.12);
  color: var(--coral);
  border: 1px solid rgba(240,123,90,0.25);
}

.content-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.content-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.content-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ── Detail Page ── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 40px 0;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.copy-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.copy-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
}

.copy-box-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.copy-box-content {
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  white-space: pre-wrap;
  font-family: 'Noto Sans KR', sans-serif;
}

.detail-side { display: flex; flex-direction: column; gap: 20px; }

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

.side-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.related-item:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
}

.related-item .ri-icon { font-size: 18px; }
.related-item .ri-title { font-size: 13px; color: var(--text-secondary); flex: 1; }

/* Lock overlay for member content */
.lock-overlay {
  position: relative;
}

.lock-overlay-inner {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.lock-overlay-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13,15,26,0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  text-align: center;
  z-index: 10;
  width: 300px;
  box-shadow: var(--shadow-gold);
}

.lock-overlay-cta .lock-icon { font-size: 32px; margin-bottom: 12px; }
.lock-overlay-cta h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lock-overlay-cta p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Membership Page ── */
.membership-page {
  min-height: 100vh;
  padding-top: 80px;
}

/* ── Admin Page ── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 80px);
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.admin-sidebar .admin-section {
  padding: 8px 16px;
  margin-bottom: 8px;
}

.admin-sidebar .admin-section h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px;
  margin-bottom: 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.admin-nav-link:hover, .admin-nav-link.active {
  background: var(--gold-dim);
  color: var(--gold);
}

.admin-content {
  padding: 32px 40px;
  overflow-y: auto;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.status-active {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
}

.status-member {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.status-free {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-form-grid.full { grid-template-columns: 1fr; }

.form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.form-select:focus { border-color: var(--gold); }

.form-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
}

.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle-input { display: none; }

.toggle-slider {
  width: 44px;
  height: 24px;
  background: var(--bg-surface);
  border-radius: 100px;
  position: relative;
  transition: background 0.2s;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}

.toggle-input:checked + .toggle-slider {
  background: var(--gold);
}

.toggle-input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

/* ── Notices Page ── */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.notice-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
}

.notice-type {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.notice-update { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.notice-tip { background: var(--lavender-dim); color: var(--lavender-light); border: 1px solid rgba(139,124,246,0.3); }
.notice-event { background: var(--coral-dim); color: var(--coral); border: 1px solid rgba(240,123,90,0.3); }

.notice-body { flex: 1; }
.notice-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.notice-summary { font-size: 13px; color: var(--text-muted); }

.notice-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* ── Account Page ── */
.account-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 40px 0;
}

.account-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
}

.account-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #1a1200;
  margin: 0 auto 16px;
}

.account-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.account-email { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.membership-status {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 20px;
}

.membership-status .ms-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.membership-status .ms-value { font-size: 16px; font-weight: 700; color: var(--gold); }
.membership-status .ms-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.account-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.account-stat .as-val { font-size: 22px; font-weight: 800; color: var(--gold); }
.account-stat .as-label { font-size: 12px; color: var(--text-muted); }

.account-right { display: flex; flex-direction: column; gap: 20px; }

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

.settings-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Saved Items Page ── */
.saved-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Utility ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-cat {
  background: var(--lavender-dim);
  color: var(--lavender-light);
  border: 1px solid rgba(139,124,246,0.3);
}

.badge-new {
  background: var(--coral-dim);
  color: var(--coral);
  border: 1px solid rgba(240,123,90,0.3);
}

.badge-hot {
  background: rgba(248,113,113,0.12);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.25);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state .es-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-muted); }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 4px;
  width: fit-content;
}

.tab-btn {
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Paginator */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-btn:hover, .page-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-card);
  z-index: 1100;
  transition: right 0.35s ease;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.open { right: 0; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 900px) {
  :root { --section-py: 72px; }
  .library-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .content-cards { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .stat-cards-row { grid-template-columns: repeat(2, 1fr); }
  .quick-cats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 34px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .auth-card { padding: 32px 24px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .saved-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .hero-divider { display: none; }
  .quick-cats { grid-template-columns: repeat(3, 1fr); }
  .solution-visual { flex-direction: column; gap: 32px; }
  .solution-card-visual { width: 100%; }
}

@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .saved-grid { grid-template-columns: 1fr; }
  .quick-cats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 16px 28px; font-size: 16px; }
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
