/* Shared styles for /feature-list/ hub and category pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a0615 0%, #1a0b2e 50%, #2d1b4e 100%);
  color: #fff; min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,6,21,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: #a78bfa; }
.nav-cta { background: linear-gradient(135deg,#8b5cf6,#6d28d9); color: #fff !important; border-radius: 8px; padding: 8px 20px; font-size: 13px; font-weight: 700; margin-left: 16px; }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; background: rgba(10,6,21,0.98); border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 24px; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu .mob-cta { display: block; background: linear-gradient(135deg,#8b5cf6,#6d28d9); color: #fff; border-radius: 8px; padding: 12px 20px; font-size: 14px; font-weight: 700; text-align: center; margin-top: 12px; border: none; }

.breadcrumb { max-width: 900px; margin: 0 auto; padding: 96px 24px 0; font-size: 13px; color: rgba(255,255,255,0.45); }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: #a78bfa; }

.hero { padding: 18px 24px 28px; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800; margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: clamp(15px, 2vw, 17px); color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 760px; }

/* Hero variant for hub (centered) */
.hero.center { padding: 130px 24px 40px; text-align: center; max-width: 860px; }
.hero.center p { margin: 0 auto; }
.hero .meta { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; }

/* HUB: TOC */
.toc-wrap { max-width: 980px; margin: 0 auto; padding: 8px 24px 16px; }
.toc { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 22px 26px; }
.toc h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.toc ol { list-style: none; counter-reset: toc-counter; columns: 2; column-gap: 32px; }
.toc ol li { counter-increment: toc-counter; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.75); break-inside: avoid; }
.toc ol li::before { content: counter(toc-counter) ". "; color: #a78bfa; font-weight: 800; margin-right: 6px; }
.toc ol li a { color: rgba(255,255,255,0.85); }
.toc ol li a:hover { color: #a78bfa; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* HUB: main feature blocks */
.feature-block { max-width: 980px; margin: 0 auto; padding: 28px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.feature-block:first-of-type { border-top: none; }
.feat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.feat-num { font-size: clamp(28px, 4vw, 38px); font-weight: 900; color: #a78bfa; min-width: 48px; }
.feat-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.feat-desc { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 6px; padding-left: 62px; }
.feat-where { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #c4b5fd; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3); border-radius: 999px; padding: 4px 12px; margin-left: 62px; margin-bottom: 22px; }

.sub-list { list-style: none; padding-left: 62px; counter-reset: sub-counter; }
.sub-item { counter-increment: sub-counter; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; transition: border-color 0.2s, background 0.2s; position: relative; }
.sub-item:hover { border-color: rgba(139,92,246,0.3); background: rgba(255,255,255,0.045); }
.sub-item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.sub-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; background: rgba(139,92,246,0.18); border: 1px solid rgba(139,92,246,0.4); border-radius: 8px; color: #c4b5fd; font-weight: 800; font-size: 13px; }
.sub-letter::before { content: counter(sub-counter, upper-alpha); }
.sub-name { font-size: 16px; font-weight: 700; color: #fff; }
.sub-name a { color: #fff; border-bottom: 1px dotted rgba(167,139,250,0.5); }
.sub-name a:hover { color: #a78bfa; border-bottom-color: #a78bfa; }
.guide-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(109,40,217,0.25)); border: 1px solid rgba(139,92,246,0.4); color: #ddd6fe; border-radius: 999px; padding: 3px 10px; margin-left: 4px; }
.guide-tag.soon { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.1); }
.sub-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.sub-where { font-size: 12px; color: rgba(167,139,250,0.85); margin-top: 6px; font-weight: 600; }
.sub-where::before { content: "📍 "; margin-right: 2px; }

@media (max-width: 700px) {
  .feat-desc, .feat-where, .sub-list { padding-left: 0; }
  .feat-where { margin-left: 0; }
  .feat-num { font-size: 26px; min-width: 36px; }
}

/* CATEGORY PAGES: shared starting flow card */
.shared-flow { max-width: 900px; margin: 8px auto 32px; padding: 0 24px; }
.shared-card { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.25); border-radius: 16px; padding: 22px 26px; }
.shared-card h2 { font-size: 16px; font-weight: 800; margin-bottom: 10px; color: #c4b5fd; text-transform: uppercase; letter-spacing: 1px; }
.shared-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.kbd { display: inline-block; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 1px 8px; font-size: 13px; font-weight: 700; color: #fff; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }

/* CATEGORY PAGES: format sections */
.format-section { max-width: 900px; margin: 0 auto; padding: 32px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.format-section:first-of-type { border-top: none; }
.format-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.format-emoji { font-size: 36px; }
.format-section h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.format-section .intro { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }

/* Flow cards */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 22px 24px; }
.flow-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: #c4b5fd; }
.flow-card h3 .flow-icon { font-size: 18px; }
.flow-card ol { list-style: none; counter-reset: step; padding: 0; }
.flow-card ol li { counter-increment: step; padding-left: 32px; position: relative; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.flow-card ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(139,92,246,0.25); border: 1px solid rgba(139,92,246,0.5); color: #ddd6fe; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Options/settings list */
.options-block { background: rgba(0,0,0,0.2); border-left: 3px solid rgba(139,92,246,0.5); border-radius: 0 12px 12px 0; padding: 18px 22px; margin-top: 22px; }
.options-block h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #a78bfa; margin-bottom: 10px; }
.options-block ul { list-style: none; padding: 0; }
.options-block li { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; padding: 4px 0; }
.options-block li strong { color: #fff; font-weight: 700; }
.options-block ul ul { padding-left: 18px; margin-top: 6px; }

.tip { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); border-radius: 12px; padding: 14px 18px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.tip strong { color: #86efac; }

/* Quick jump chips */
.quick-jump { max-width: 900px; margin: 0 auto 8px; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-jump a { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3); border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: #c4b5fd; }
.quick-jump a:hover { background: rgba(139,92,246,0.22); }

/* CTA + footer (shared) */
.cta-section { max-width: 800px; margin: 0 auto; padding: 48px 24px 100px; text-align: center; }
.cta-box { background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(109,40,217,0.15) 100%); border: 1px solid rgba(139,92,246,0.25); border-radius: 24px; padding: clamp(32px, 6vw, 56px); }
.cta-box h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 800; margin-bottom: 16px; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 32px; line-height: 1.6; }
.btn-primary { display: inline-block; background: linear-gradient(135deg,#8b5cf6,#6d28d9); color: #fff; border-radius: 12px; padding: 16px 40px; font-size: 17px; font-weight: 700; box-shadow: 0 4px 20px rgba(139,92,246,0.4); }

footer { background: rgba(0,0,0,0.4); border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 24px 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.6; }
.footer-grid a { display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: #a78bfa; }
.footer-grid img { height: 32px; margin-bottom: 12px; }
.footer-cta { display: inline-block; background: linear-gradient(135deg,#8b5cf6,#6d28d9); color: #fff; border-radius: 8px; padding: 10px 24px; font-size: 13px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; color: rgba(255,255,255,0.3); font-size: 12px; max-width: 1200px; margin: 0 auto; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open { display: block; }
  .feature-content { grid-template-columns: 1fr; }
}
