/* ===================
   REUSABLE SECTIONS
   Hero, CTA, Trust, Split
   =================== */

/* HERO */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(88, 119, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(88, 119, 255, 0.08), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(210, 216, 244, 0.9);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--color-accent-strong);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-metadata {
  margin-top: 1.2rem;
}

.meta-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Centered Hero (Option A) */
.hero-centered .hero-inner {
  display: block !important;
  text-align: center;
}

.hero-centered .hero-copy {
  max-width: 100%;
  margin: 0 auto;
}

.hero-centered h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  margin-bottom: 1.2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-subtitle {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-centered .hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* McKinsey-style authority statement */
.hero-statement {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}

/* Founder mini-bio (Option D) */
.hero-founder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(46, 92, 255, 0.1);
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(46, 92, 255, 0.15);
}

.founder-info {
  text-align: left;
}

.founder-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.founder-creds {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}

.cred-line {
  display: block;
}

.cred-line:first-child {
  margin-bottom: 0.3rem;
}

.cred-subtle {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Stats + Credentials Hybrid (Option E) */
.hero-stats .hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-stats .hero-copy {
  max-width: 560px;
}

.hero-stats-card {
  background: linear-gradient(145deg, #ffffff, #f8f9ff);
  border: 1px solid rgba(207, 214, 244, 0.9);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 24px rgba(30, 35, 77, 0.06);
}

.stats-section {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(207, 214, 244, 0.5);
}

.stats-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.stats-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stats-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(46, 92, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(46, 92, 255, 0.1);
}

@media (max-width: 900px) {
  .hero-stats .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats-card {
    max-width: 400px;
  }
}

/* Credential bar */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(46, 92, 255, 0.12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.credential-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-right: 0.3rem;
}

.credential-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.credential-separator {
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* Split Hero with Badges (Option B) */
.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-split .hero-copy {
  max-width: 580px;
}

.hero-badges {
  display: flex;
  justify-content: flex-end;
}

.badge-card {
  background: linear-gradient(145deg, #ffffff, #f8f9ff);
  border: 1px solid rgba(207, 214, 244, 0.8);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 4px 24px rgba(30, 35, 77, 0.06);
}

.badge-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.badge-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(46, 92, 255, 0.06);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(46, 92, 255, 0.1);
}

@media (max-width: 900px) {
  .hero-split .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .badge-card {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-panel-card {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #ffffff, #f4f6ff);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(207, 214, 244, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-panel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(46, 92, 255, 0.15),
    transparent 60%
  );
  opacity: 0.8;
  pointer-events: none;
}

.hero-panel-card p {
  font-size: 0.92rem;
  color: #252844;
}

.panel-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(200, 208, 246, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-strong);
  margin-bottom: 0.8rem;
}

.panel-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.panel-metric {
  position: relative;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.97);
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.metric-value {
  font-weight: 600;
  font-size: 1.02rem;
}

.panel-footnote {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* TRUST */
.trust {
  padding: 1.5rem 0 1.1rem;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.86rem;
}

/* SPLIT SECTION */
.split-section {
  padding: 4rem 0;
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.split-aside {
  display: flex;
  justify-content: flex-end;
}

/* ABOUT PREVIEW (Homepage) */
.about-preview {
  padding: 3.6rem 0 3rem;
}

.about-preview-inner {
  max-width: 1000px;
}

.about-preview .about-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.values-grid {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 2rem 0;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0 2rem;
  border-left: 1px solid var(--color-border);
}

.value-item:first-child {
  padding-left: 0;
  border-left: none;
}

.value-item strong {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.value-item span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

@media (max-width: 768px) {
  .values-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .value-item {
    padding: 0;
    border-left: none;
  }
}

@media (max-width: 600px) {
  .about-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* CTA */
.cta {
  position: relative;
  padding: 3.8rem 0 3rem;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(46, 92, 255, 0.25),
      transparent 55%
    ),
    linear-gradient(135deg, #1f2352, #0e1025);
  opacity: 0.96;
  z-index: -1;
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  color: #ffffff;
}

.cta-inner p {
  color: rgba(244, 246, 255, 0.82);
  margin-bottom: 1.3rem;
}

/* Hero Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .split-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-centered h1 {
    font-size: 2rem;
  }

  .hero-credentials {
    gap: 0.4rem 0.5rem;
  }

  .credential-item {
    font-size: 0.8rem;
  }
}
