/* ─── SUBPAGE LAYOUT ─── */
.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-50) 0%, #FFFFFF 100%);
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate-900);
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.page-hero p {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  font-size: 17px;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-content ul li {
  font-size: 17px;
  color: var(--slate-700);
  line-height: 1.7;
  padding: 8px 0 8px 28px;
  position: relative;
}

.page-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

.page-screenshot {
  text-align: center;
  margin: 40px 0;
}

.page-screenshot img {
  max-width: 280px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.page-cta {
  background: var(--blue-50);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  margin: 48px 0;
}

.page-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.page-cta p {
  font-size: 16px;
  color: var(--slate-500);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-600);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.page-cta a:hover {
  background: var(--blue-700);
}

.page-cta a svg {
  width: 20px;
  height: 20px;
}

/* Cross-links */
.cross-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 48px 0;
}

.cross-link-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cross-link-card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.cross-link-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.cross-link-card p {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}

/* FAQ on subpages */
.page-faq {
  margin: 48px 0;
}

.page-faq h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.page-faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}

.page-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-800);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}

.page-faq-q:hover {
  background: var(--slate-50);
}

.page-faq-q svg {
  width: 20px;
  height: 20px;
  stroke: var(--slate-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.page-faq-item.open .page-faq-q svg {
  transform: rotate(180deg);
}

.page-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.page-faq-item.open .page-faq-a {
  max-height: 500px;
}

.page-faq-a-inner {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* SEO Footer */
.seo-footer {
  background: var(--slate-900);
  padding: 48px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.seo-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}

.seo-footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.seo-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-footer ul li {
  margin-bottom: 6px;
}

.seo-footer ul li::before {
  display: none;
}

.seo-footer a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.seo-footer a:hover {
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .page-content h2 {
    font-size: 24px;
  }
  .cross-links {
    grid-template-columns: 1fr;
  }
}
