/* ===== SUB-PAGES SHARED STYLES ===== */

.subpage-hero {
  background: linear-gradient(135deg, #082845 0%, #0f3d6e 50%, #0a2640 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.subpage-hero .mesh-blob { opacity: 0.08; }
.subpage-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
}
.subpage-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.subpage-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.subpage-hero .breadcrumb a { color: var(--orange); text-decoration: none; }
.subpage-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

/* Content Area */
.subpage-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 64px);
}
.subpage-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.subpage-content h2:first-of-type { margin-top: 0; }
.subpage-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}
.subpage-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.subpage-content ul, .subpage-content ol {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}
.subpage-content li { margin-bottom: 8px; }
.subpage-content a { color: var(--brand); text-decoration: underline; }
.subpage-content a:hover { color: var(--orange); }
.subpage-content strong { color: var(--ink); }

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.contact-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--orange));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.contact-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.contact-card a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--orange); }

/* FAQ / Support Accordion */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
}
.faq-question:hover { background: rgba(22, 181, 233, 0.04); }
.faq-icon { font-size: 1.2rem; color: var(--brand); transition: transform 300ms ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, padding 400ms ease;
  padding: 0 24px;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* Developer Info Box */
.dev-info-box {
  background: linear-gradient(135deg, #f0f7ff, #fff5eb);
  border: 1px solid rgba(22, 181, 233, 0.15);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}
.dev-info-box h3 { margin-top: 0; color: var(--ink); }
.dev-info-row { display: flex; gap: 12px; margin-bottom: 8px; }
.dev-info-label { font-weight: 700; color: var(--ink); min-width: 120px; font-size: 0.9rem; }
.dev-info-value { color: var(--muted); font-size: 0.9rem; }

/* Last Updated badge */
.last-updated {
  display: inline-block;
  background: rgba(22, 181, 233, 0.1);
  color: var(--brand);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 32px;
}

@media (max-width: 540px) {
  .subpage-hero h1 { font-size: 2rem; }
  .subpage-hero { padding: 120px 20px 60px; }
  .subpage-content { padding: 40px 20px; }
  .dev-info-row { flex-direction: column; gap: 2px; }
  .dev-info-label { min-width: 0; }
}
