/**
 * LoveJili Functional Gateway Guide Styles V2.0
 * Mobile-First, Accessible, Anti-Template Architecture
 * Brand Signature: Passion Ruby (#FF2D6C) & Sunburst Amber (#FFB703) on Velvet Obsidian (#0E0B16)
 */

.guide-wrapper {
  padding: 14px;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.guide-breadcrumb a {
  color: var(--accent-gold);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  text-decoration: underline;
}

.guide-breadcrumb span {
  opacity: 0.5;
}

.guide-h1 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFF;
  margin-bottom: 12px;
}

.guide-h1 span {
  color: var(--accent-gold);
}

.viewport-hook-box {
  background: linear-gradient(135deg, rgba(34, 16, 30, 0.95) 0%, rgba(18, 11, 24, 0.9) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), -4px 0 12px rgba(255, 45, 108, 0.25);
}

.viewport-hook-box p {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #FFF;
}

.viewport-hook-box strong {
  color: var(--accent-gold);
}

/* Headings: Never start with numbers */
.guide-h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-h2 .h2-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.guide-h3 {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 16px 0 8px;
}

.guide-p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* 3-Sentence Screen Limit Callout / Step Cards */
.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid rgba(255, 45, 108, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  border-color: var(--primary);
  border-left-color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 45, 108, 0.2);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.step-badge {
  background: rgba(255, 45, 108, 0.18);
  border: 1px solid var(--primary);
  color: #FF759E;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Dual CTA Blocks */
.dual-cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 18px;
}

.btn-dual-action {
  background: linear-gradient(135deg, #FF2D6C 0%, #FF5A43 50%, #FFB703 100%);
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 10px 8px;
  text-align: center;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(255, 45, 108, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-dual-action:active {
  transform: scale(0.97);
}

.btn-dual-guide {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 8px;
  text-align: center;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 45, 108, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-dual-guide:hover {
  background: rgba(255, 45, 108, 0.12);
  border-color: rgba(255, 45, 108, 0.45);
}

/* Mobile-First 2-Column Key-Value Tables */
.keyval-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 0.8125rem;
}

.keyval-table th {
  background: rgba(14, 10, 22, 0.85);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  text-align: left;
  padding: 8px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 45, 108, 0.2);
}

.keyval-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  line-height: 1.4;
}

.keyval-table tr:last-child td {
  border-bottom: none;
}

.keyval-table td strong {
  color: #FFF;
}

/* Troubleshooting Card */
.troubleshoot-card {
  background: rgba(255, 45, 108, 0.08);
  border: 1px solid rgba(255, 45, 108, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.troubleshoot-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FF759E;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.troubleshoot-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* FAQ Accordion Styling */
.faq-wrap {
  margin: 18px 0 20px;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(255, 45, 108, 0.25);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.faq-chevron {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  color: var(--accent-gold);
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-card .faq-answer {
  display: none;
  padding: 0 14px 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 8px;
}

.faq-card.open .faq-answer {
  display: block;
}
