/* ===== GENERIC PAGE STYLES ===== */
/* Shared by stub pages: Partners, Affiliates, Testimonials, Insights, etc. */

.page-hero {
  padding: 160px 0 80px;
  background: var(--navy) url('/images/hex-hero-bg.jpg') center / cover no-repeat;
  position: relative;
}




.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  max-width: 660px;
  text-align: center;
  margin: 0 auto;
}

.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.page-hero-inner .hero-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Feature content block */
.page-content {
  max-width: 760px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content p {
  font-size: 15px;
  color: #5a6577;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.page-content ul li {
  font-size: 14px;
  color: #5a6577;
  line-height: 1.7;
  margin-bottom: 6px;
}

.page-content a {
  color: var(--blue);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* Benefit cards for partners/affiliates */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.benefit-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.benefit-card .material-symbols-outlined {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 10px;
}

.benefit-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 13px;
  color: #6b7a8d;
  line-height: 1.5;
}

/* Coming soon banner */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
}

.coming-soon .material-symbols-outlined {
  font-size: 48px;
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 16px;
}

.coming-soon h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.coming-soon p {
  font-size: 14px;
  color: #6b7a8d;
  margin-bottom: 20px;
}

/* Testimonial cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-quote {
  font-size: 14px;
  color: #5a6577;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 12px;
  color: #8a95a5;
}

/* Legal page styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  color: #4a5568;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30, 144, 255, 0.15);
  letter-spacing: -0.01em;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  line-height: 1.6;
}

.legal-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content p strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.legal-content ul li {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.legal-content a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.legal-content .last-updated {
  font-size: 13px;
  color: #8a95a5;
  margin-bottom: 36px;
  padding: 10px 16px;
  background: rgba(30, 144, 255, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  display: inline-block;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 28px 24px;
  }
}

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 20px 80px;
  background: var(--navy);
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.error-page p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
