/* ── Guide Page Styles ───────────────────────────────────────────────────── */

.guide-container {
  max-width: 800px;
}

/* Hero */
.guide-hero {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.guide-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  -webkit-text-fill-color: unset;
  background: none;
}

.guide-hero .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide-hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Table of Contents */
.guide-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.guide-toc h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.guide-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}

.guide-toc li {
  padding: 6px 0;
  break-inside: avoid;
}

.guide-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-toc a:hover {
  color: var(--primary);
}

.guide-toc a::before {
  content: '→';
  color: var(--primary);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
}

.guide-toc a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Sections */
.guide-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.guide-section:last-of-type {
  border-bottom: none;
}

.guide-section-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.guide-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.guide-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 10px;
}

.guide-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.guide-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.guide-section li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.guide-section li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-weight: 700;
}

.guide-section li strong {
  color: var(--text-primary);
}

.guide-section em {
  color: var(--text-muted);
  font-style: italic;
}

/* Onboarding Steps */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.guide-step:hover {
  border-color: var(--primary);
}

.step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg);
}

.step-content {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-content strong {
  color: var(--text-primary);
}

/* Method Cards */
.guide-method {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 20px 0;
  transition: border-color 0.3s;
}

.guide-method:hover {
  border-color: rgba(204, 255, 0, 0.3);
}

.guide-method h3 {
  margin-top: 0;
  font-size: 20px;
}

.guide-method ul {
  margin-bottom: 12px;
}

/* Lifestyle Grid */
.guide-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.guide-lifestyle-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.guide-lifestyle-item span {
  font-size: 20px;
}

.guide-lifestyle-item strong {
  color: var(--text-primary);
}

/* Pro Tips */
.guide-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-tip {
  padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.guide-tip strong {
  color: var(--text-primary);
}

/* CTA */
.guide-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.05), rgba(0, 229, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-top: 48px;
}

.guide-cta h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.guide-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 640px) {
  .guide-toc ol {
    columns: 1;
  }

  .guide-method {
    padding: 18px 20px;
  }

  .guide-lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .guide-cta {
    padding: 32px 20px;
  }
}
