/* ============================================================
   pages.css — real. Sub-Page Styles
   About, Imprint, Privacy, T&C, Payment Success
   ============================================================ */

/* ─── Page Hero (sub-pages) ─────────────────────────────── */
.page-hero {
  padding-block: calc(var(--section-y) + 5rem) var(--section-y);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 60% -10%, rgba(255,81,0,0.07) 0%, transparent 70%);
}

.page-hero__eyebrow {
  margin-bottom: var(--space-4);
}

.page-hero__headline {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.page-hero__sub {
  max-width: 580px;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ─── About: Mission ────────────────────────────────────── */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-mission__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-mission__heading {
  color: var(--color-text);
}

.about-mission__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.about-mission__visual {
  position: relative;
}

.about-mission__card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-mission__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-warm);
}

.about-mission__stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-mission__stat-num {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-accent);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.about-mission__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

/* ─── About: Values ─────────────────────────────────────── */
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.about-values__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-values__icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-values__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.about-values__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ─── About: Founder ────────────────────────────────────── */
.about-founder {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-founder__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.about-founder__photo span {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: var(--weight-medium);
}

.about-founder__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-founder__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.about-founder__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.about-founder__bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.about-founder__socials {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.about-founder__social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-card);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.about-founder__social:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── Legal Pages ───────────────────────────────────────── */
.legal-page {
  padding-block: calc(var(--section-y) + 5rem) var(--section-y);
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.legal-content .legal-date {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-12);
  display: block;
}

.legal-content h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-content li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--color-accent-hover);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--color-border-warm);
  margin-block: var(--space-8);
}

.legal-placeholder {
  background-color: var(--color-card);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-block: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.legal-placeholder__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
}

.legal-placeholder__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ─── Payment Success ───────────────────────────────────── */
.success-page {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding-block: var(--section-y);
}

.success-page__inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.success-page__icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: success-pop 0.5s var(--ease-out) both;
}

@keyframes success-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-page__heading {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-text);
}

.success-page__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.success-page__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: var(--space-2);
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-mission {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-founder {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }

  .about-founder__photo {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding-block: calc(var(--section-y) + 3rem) var(--section-y);
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .success-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .success-page__actions .btn {
    justify-content: center;
  }
}
