/* ===== Resume Examples — shared page styles ===== */

/* Hero header */
.gd-hero {
  background: linear-gradient(180deg, #0a0e27 0%, #151b3d 100%);
  padding: 48px 20px 52px;
  margin-bottom: 0;
}
.gd-hero-inner {
  max-width: 760px; margin: 0 auto;
}
.gd-crumb { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.gd-crumb a { color: rgba(255,255,255,.5); transition: color .15s; }
.gd-crumb a:hover { color: #a5b4fc; }
.gd-crumb span { color: rgba(255,255,255,.35); margin: 0 4px; }
.gd-hero h1 {
  font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -.8px;
  line-height: 1.12; color: #fff; margin: 0 0 14px;
}
.gd-meta { color: rgba(255,255,255,.45); font-size: 13px; }
.gd-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* Main content wrapper */
.gd-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }

/* GEO answer box */
.gd-answer {
  margin: -26px 0 0; padding: 22px 24px; position: relative; z-index: 1;
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--r-lg); background: var(--bg-1);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  font-size: 16px; line-height: 1.7; color: var(--text);
}

/* Sections */
.gd-section { margin-top: 44px; }
.gd-section h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -.4px;
  margin-bottom: 16px; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.gd-section h2::before {
  content: ''; display: inline-block; width: 4px; height: 24px;
  border-radius: 2px; background: var(--accent); flex-shrink: 0;
}
.gd-section p, .gd-section li {
  color: var(--text); line-height: 1.8; font-size: 15.5px;
}
.gd-section ul, .gd-section ol { padding-left: 0; list-style: none; }
.gd-section li {
  margin-bottom: 10px; padding: 12px 16px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 15px; line-height: 1.7;
  transition: border-color .15s;
}
.gd-section li:hover { border-color: var(--accent); }
.gd-section li::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); margin-right: 10px;
  vertical-align: 2px; flex-shrink: 0;
}
.gd-section a { color: var(--accent); }
.gd-section a:hover { text-decoration: underline; }

/* Resume example block */
.gd-example {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-1); padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  font-size: 15.5px; line-height: 1.75; color: var(--text);
  position: relative;
}
.gd-example::before {
  content: '"'; position: absolute; top: 8px; left: 16px;
  font-size: 48px; color: var(--accent); opacity: .2;
  font-family: Georgia, serif; line-height: 1;
}
.gd-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; font-style: italic; }

/* Skills chips */
.gd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-chip {
  font-size: 13px; font-weight: 600;
  color: var(--accent); background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.18);
  border-radius: 999px; padding: 7px 16px;
  transition: background .15s, border-color .15s, transform .15s;
}
.gd-chip:hover {
  background: rgba(99,102,241,.15); border-color: rgba(99,102,241,.35);
  transform: translateY(-1px);
}

/* FAQ */
.gd-faq { margin-top: 48px; }
.gd-faq h2 {
  font-size: 24px; font-weight: 800; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.gd-faq h2::before {
  content: ''; display: inline-block; width: 4px; height: 24px;
  border-radius: 2px; background: var(--accent); flex-shrink: 0;
}
.gd-faq details {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-1); margin-bottom: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.gd-faq details:hover { border-color: rgba(99,102,241,.3); }
.gd-faq details[open] { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.gd-faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after {
  content: '+'; font-size: 20px; font-weight: 300; color: var(--muted);
  transition: transform .2s;
}
.gd-faq details[open] summary::after { content: '−'; }
.gd-faq p {
  margin: 0; padding: 0 20px 18px; color: var(--muted);
  line-height: 1.7; font-size: 14.5px;
}

/* Related links */
.gd-rel { margin-top: 48px; }
.gd-rel h2 {
  font-size: 20px; font-weight: 800; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.gd-rel h2::before {
  content: ''; display: inline-block; width: 4px; height: 20px;
  border-radius: 2px; background: var(--accent); flex-shrink: 0;
}
.gd-rel a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 10px; background: var(--bg-1);
  transition: border-color .15s, transform .15s, box-shadow .15s;
  font-weight: 600; font-size: 14.5px;
}
.gd-rel a:hover {
  border-color: var(--accent); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,.12);
}
.gd-rel a::before {
  content: '→'; color: var(--accent); font-size: 16px; flex-shrink: 0;
}

/* Final CTA */
.gd-final {
  margin-top: 52px; text-align: center; padding: 44px 28px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(99,102,241,.06), var(--bg-1));
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.gd-final h2 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.gd-final p { color: var(--muted); margin: 10px 0 20px; font-size: 15px; line-height: 1.6; }

/* Resume preview frame */
.rp-section { margin: 36px 0; }
.rp-section h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; }
.rp-frame-outer {
  position: relative; width: 100%; max-width: 680px;
  aspect-ratio: 8.5/11; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.2), 0 0 0 1px var(--border);
}
.rp-frame-inner {
  position: absolute; top: 0; left: 0; width: 816px; height: 1056px;
  border: none; transform-origin: top left;
}
.rp-cta-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.rp-cta-note { font-size: 13px; color: var(--muted); }

/* Related example cards (used on index) */
.gd-cards a {
  display: block; padding: 16px 20px; border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 10px; background: var(--bg-1);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.gd-cards a:hover {
  border-color: var(--accent); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,.12);
}
.gd-cards .t { font-weight: 700; font-size: 15px; }
.gd-cards .d { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }

/* Mobile */
@media (max-width: 600px) {
  .gd-hero { padding: 36px 16px 40px; }
  .gd-hero h1 { font-size: 28px; }
  .gd-wrap { padding: 0 16px 60px; }
  .gd-answer { padding: 18px 16px; margin-top: -20px; }
  .gd-section h2 { font-size: 20px; }
  .gd-example { padding: 20px 18px; }
  .gd-final { padding: 32px 20px; }
}
