/* ========================================
   ARCHE — Community Page Styles
   ======================================== */

/* ---- HERO ---- */

.community-hero {
  position: relative;
  overflow: hidden;
}

.community-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  right: -200px;
  top: -200px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--sage);
  right: 100px;
  bottom: -100px;
}

/* ---- COMMUNITY INTRO ---- */

.community-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 40px;
  border-left: 2px solid var(--border-dark);
}

.stat-item {}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---- YAG FEATURES ---- */

.yag-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.yag-feature {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid var(--border-dark);
  transition: all 0.3s var(--ease-out);
}

.yag-feature:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}

.yag-feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,169,110,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}

.yag-feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.yag-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- LIFE STAGES ---- */

.life-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.life-stage-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  transition: all 0.3s var(--ease-out);
}

.life-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.08);
  border-color: rgba(201,169,110,0.25);
}

.life-stage-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

.life-stage-body {
  padding: 32px 28px;
}

.life-stage-emoji {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1;
}

.life-stage-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.life-stage-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.life-stage-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- CTA SECTION ---- */

.community-cta-section {
  position: relative;
  overflow: hidden;
}

.community-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.06), transparent 70%);
  pointer-events: none;
}

.community-cta-section .container-sm {
  position: relative;
  z-index: 1;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .yag-features,
  .life-stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .community-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .community-stats {
    padding-left: 0;
    border-left: none;
    padding-top: 32px;
    border-top: 2px solid var(--border-dark);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .yag-features,
  .life-stages {
    grid-template-columns: 1fr;
  }

  .stat-number { font-size: 40px; }
}
