/* ============================================================
   v3-circles — Circles page (extends v3-pp-circles base)
   ============================================================ */

/* === HERO === */
.v3-cx-hero {
  position: relative;
  padding: 28px 56px 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f6f3 0%, #efeee9 100%);
}
.v3-cx-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
.v3-cx-hero-glow {
  position: absolute;
  top: -200px; right: -160px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,65,233,0.04), transparent 65%);
  filter: blur(40px);
}
.v3-cx-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(36,36,36,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 70%);
}

.v3-cx-hero-bar {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 4px;
  margin-bottom: 56px;
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.v3-cx-hero-bar .back {
  color: #0d0c10;
  font-weight: 600;
  border-bottom: 1px solid rgba(36,36,36,0.2);
  padding-bottom: 1px;
  text-decoration: none;
  transition: 0.15s;
}
.v3-cx-hero-bar .back:hover { border-bottom-color: #9441e9; }
.v3-cx-hero-bar .sep { color: rgba(36,36,36,0.25); }
.v3-cx-hero-bar .kind { color: #9441e9; font-weight: 600; }
.v3-cx-hero-bar .status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: rgba(148,65,233,0.1);
  color: #9441e9;
  font-weight: 600;
  border-radius: 100px;
}
.v3-cx-hero-bar .status .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9441e9;
  box-shadow: 0 0 0 4px rgba(148,65,233,0.2);
}

.v3-cx-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.v3-cx-hero-stamp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: rgba(13,12,16,0.04);
  border: 1px dashed rgba(13,12,16,0.2);
  border-radius: 6px;
  margin-bottom: 28px;
}
.v3-cx-hero-stamp .get {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(13,12,16,0.55);
  text-transform: uppercase;
  font-weight: 500;
}
.v3-cx-hero-stamp .tough {
  font-size: 22px;
  font-weight: 700;
  color: #9441e9;
  letter-spacing: -0.02em;
  font-style: italic;
}

.v3-cx-hero-h1 {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 28px;
  color: #0d0c10;
}
.v3-cx-hero-h1 > span {
  display: inline-block;
  background: linear-gradient(135deg, #9441e9 0%, #fd5924 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.v3-cx-hero-h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  line-height: 1.1;
  color: rgba(13,12,16,0.55);
  margin-top: 16px;
  letter-spacing: -0.02em;
  -webkit-text-fill-color: rgba(13,12,16,0.55);
}

.v3-cx-hero-lede {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(13,12,16,0.7);
  max-width: 580px;
  margin: 0 0 32px;
}
.v3-cx-hero-lede strong { color: #0d0c10; font-weight: 600; }

.v3-cx-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.v3-cx-hero-cta .primary {
  background: #0d0c10;
  color: #f6f6f3;
  padding: 16px 24px;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: 0.2s;
}
.v3-cx-hero-cta .primary:hover { background: #9441e9; }
.v3-cx-hero-cta .secondary {
  background: transparent;
  color: #0d0c10;
  padding: 16px 22px;
  border: 1.5px solid rgba(13,12,16,0.15);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: 0.2s;
}
.v3-cx-hero-cta .secondary:hover { border-color: #0d0c10; background: rgba(13,12,16,0.04); }

/* Hero aside — photo collage + meta */
.v3-cx-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.v3-cx-hero-collage {
  position: relative;
  height: 460px;
}
.v3-cx-hero-photo {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(13,12,16,0.16);
}
.v3-cx-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15);
}
.v3-cx-hero-photo.p1 { top: 8px; left: 0; width: 160px; height: 200px; transform: rotate(-3deg); z-index: 2; }
.v3-cx-hero-photo.p2 { top: 0; right: 12px; width: 140px; height: 180px; transform: rotate(4deg); z-index: 1; }
.v3-cx-hero-photo.p3 { bottom: 12px; left: 24px; width: 130px; height: 160px; transform: rotate(-2deg); z-index: 1; }
.v3-cx-hero-photo.p4 { bottom: 0; right: 0; width: 150px; height: 180px; transform: rotate(5deg); z-index: 1; }

.v3-cx-hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  width: 280px;
  background: #fff;
  border: 1px solid rgba(13,12,16,0.08);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 48px rgba(13,12,16,0.18);
  z-index: 3;
}
.v3-cx-hero-card-tag {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9441e9;
  font-weight: 600;
  margin-bottom: 8px;
}
.v3-cx-hero-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.v3-cx-hero-card-meta {
  display: flex; align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(13,12,16,0.55);
  margin-bottom: 14px;
}
.v3-cx-hero-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(13,12,16,0.3); }
.v3-cx-hero-card-meta strong { color: #0d0c10; font-weight: 700; }
.v3-cx-hero-card-stack {
  display: flex;
  padding-top: 12px;
  border-top: 1px dashed rgba(13,12,16,0.15);
}
.v3-cx-hero-card-stack img {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -6px;
}
.v3-cx-hero-card-stack img:first-child { margin-left: 0; }

.v3-cx-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid rgba(13,12,16,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.v3-cx-hero-stat {
  padding: 16px 14px;
  border-right: 1px solid rgba(13,12,16,0.06);
}
.v3-cx-hero-stat:last-child { border-right: 0; }
.v3-cx-hero-stat .n {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d0c10;
  line-height: 1;
}
.v3-cx-hero-stat .n em {
  font-style: normal;
  color: #9441e9;
  font-size: 0.7em;
  margin-left: 1px;
}
.v3-cx-hero-stat .l {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13,12,16,0.5);
  margin-top: 8px;
}

/* === WHAT TO EXPECT === */
.v3-cx-expect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(13,12,16,0.08);
  border: 1px solid rgba(13,12,16,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.v3-cx-expect-card {
  background: #fff;
  padding: 32px;
  transition: 0.15s;
}
.v3-cx-expect-card:hover { background: #faf9f5; }
.v3-cx-expect-n {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #9441e9;
  font-weight: 600;
  margin-bottom: 18px;
}
.v3-cx-expect-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #0d0c10;
}
.v3-cx-expect-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(13,12,16,0.6);
  margin: 0;
}

/* === UPCOMING CIRCLES === */
.v3-cx-tabs {
  display: inline-flex;
  background: rgba(13,12,16,0.05);
  border: 1px solid rgba(13,12,16,0.08);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.v3-cx-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font-family: inherit;
  cursor: pointer;
  color: rgba(13,12,16,0.55);
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.15s;
}
.v3-cx-tab .num {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 11px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,12,16,0.08);
  border-radius: 5px;
}
.v3-cx-tab .ct {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: rgba(13,12,16,0.45);
  letter-spacing: 0.06em;
}
.v3-cx-tab:hover { color: #0d0c10; }
.v3-cx-tab.active {
  background: rgba(253,89,36,0.1);
  color: #fd5924;
}
.v3-cx-tab.active .num { background: rgba(253,89,36,0.2); color: #fd5924; }
.v3-cx-tab.active .ct { color: rgba(253,89,36,0.7); }
.v3-cx-tab.active.leader {
  background: rgba(148,65,233,0.12);
  color: #9441e9;
}
.v3-cx-tab.active.leader .num { background: rgba(148,65,233,0.22); color: #9441e9; }
.v3-cx-tab.active.leader .ct { color: rgba(148,65,233,0.7); }

.v3-cx-track-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13,12,16,0.55);
}
.v3-cx-track-meta .kicker { color: #0d0c10; font-weight: 700; }
.v3-cx-track-meta .sep { color: rgba(13,12,16,0.25); }

.v3-cx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.v3-cx-card {
  background: #fff;
  border: 1px solid rgba(13,12,16,0.08);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.2s;
  color: inherit;
  text-decoration: none;
}
.v3-cx-card:hover {
  background: #fff;
  border-color: #fd5924;
  box-shadow: 0 12px 32px rgba(13,12,16,0.06);
  transform: translateY(-2px);
}
.v3-cx-card.leader:hover { border-color: #9441e9; }
.v3-cx-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.v3-cx-card .code {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #fd5924;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.v3-cx-card.leader .code { color: #9441e9; }
.v3-cx-card .status {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13,12,16,0.55);
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(13,12,16,0.05);
  border-radius: 100px;
}
.v3-cx-card.closed .status { color: rgba(13,12,16,0.4); }
.v3-cx-card h4 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: #0d0c10;
}
.v3-cx-card .sub {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(13,12,16,0.55);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.v3-cx-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(13,12,16,0.7);
  margin: 0;
  flex: 1;
}
.v3-cx-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fd5924;
  text-decoration: none;
  padding-top: 12px;
  border-top: 1px dashed rgba(13,12,16,0.12);
  margin-top: auto;
  transition: 0.15s;
}
.v3-cx-card.leader .cta { color: #9441e9; }
.v3-cx-card .cta span { transition: 0.15s; }
.v3-cx-card .cta:hover span { transform: translateX(3px); }
.v3-cx-card.closed { opacity: 0.7; }
.v3-cx-card.closed .cta { color: rgba(13,12,16,0.5); }
.v3-cx-card.upcoming { background: #faf9f5; border-style: dashed; }

/* Founder vs Leader kind badge */
.v3-cx-card .kind {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  border: 1px solid;
}
.v3-cx-card .kind.founder { color: #fd5924; border-color: rgba(253,89,36,0.3); background: rgba(253,89,36,0.06); }
.v3-cx-card .kind.leader  { color: #9441e9; border-color: rgba(148,65,233,0.3); background: rgba(148,65,233,0.06); }

/* Status toggle (Ongoing / Upcoming) */
.v3-cx-status-toggle {
  display: inline-flex;
  gap: 0;
  margin: 0 0 32px;
  padding: 4px;
  background: rgba(13,12,16,0.04);
  border-radius: 100px;
  align-self: flex-start;
}
.v3-cx-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 0;
  background: transparent;
  color: rgba(13,12,16,0.55);
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}
.v3-cx-status-btn:hover { color: #0d0c10; }
.v3-cx-status-btn.active {
  background: #fff;
  color: #0d0c10;
  box-shadow: 0 1px 2px rgba(13,12,16,0.08), 0 0 0 1px rgba(13,12,16,0.06);
}
.v3-cx-status-btn .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.v3-cx-status-btn .dot.ongoing { background: #1f8a5b; box-shadow: 0 0 0 3px rgba(31,138,91,0.18); }
.v3-cx-status-btn .dot.upcoming { background: rgba(13,12,16,0.35); }
.v3-cx-status-btn .ct {
  font-size: 10.5px;
  background: rgba(13,12,16,0.06);
  padding: 2px 7px;
  border-radius: 100px;
  color: rgba(13,12,16,0.6);
  letter-spacing: 0;
}
.v3-cx-status-btn.active .ct { background: rgba(13,12,16,0.08); color: #0d0c10; }

/* Member avatar stack */
.v3-cx-card-members {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 4px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(13,12,16,0.06);
}
.v3-cx-card-members .avatars {
  display: flex;
  align-items: center;
}
.v3-cx-card-members .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  background: #faf9f5;
  margin-left: -8px;
  box-shadow: 0 1px 2px rgba(13,12,16,0.12);
  flex-shrink: 0;
}
.v3-cx-card-members .av:first-child { margin-left: 0; }
.v3-cx-card-members .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v3-cx-card-members .count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: 'Fira Mono', ui-monospace, monospace;
}
.v3-cx-card-members .count strong {
  font-size: 13px;
  font-weight: 700;
  color: #0d0c10;
}
.v3-cx-card-members .count span {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13,12,16,0.5);
}
.v3-cx-card.closed .v3-cx-card-members { opacity: 0.85; }

/* === AGENDA === */
.v3-section.dark .v3-cx-agenda { border-left-color: rgba(246,246,243,0.15); }
.v3-section.dark .v3-cx-agenda-row { border-bottom-color: rgba(246,246,243,0.1); }
.v3-section.dark .v3-cx-agenda-row::before { background: #0d0c10; }
.v3-section.dark .v3-cx-agenda-row .body h4 { color: #f6f6f3; }
.v3-section.dark .v3-cx-agenda-row .body p { color: rgba(246,246,243,0.7); }

.v3-cx-agenda {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(13,12,16,0.1);
  padding-left: 32px;
  gap: 0;
}
.v3-cx-agenda-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(13,12,16,0.08);
  position: relative;
}
.v3-cx-agenda-row:last-child { border-bottom: 0; }
.v3-cx-agenda-row::before {
  content: '';
  position: absolute;
  left: -41px; top: 32px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f6f6f3;
  border: 2px solid #9441e9;
}
.v3-cx-agenda-row:first-child::before { background: #9441e9; }
.v3-cx-agenda-row .time {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #9441e9;
  white-space: nowrap;
  padding-top: 2px;
}
.v3-cx-agenda-row .body h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #0d0c10;
}
.v3-cx-agenda-row .body p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(13,12,16,0.6);
  margin: 0;
  max-width: 560px;
}

/* === FAQ === */
.v3-cx-faq {
  border-top: 1px solid rgba(13,12,16,0.1);
}
.v3-cx-faq-item {
  border-bottom: 1px solid rgba(13,12,16,0.1);
}
.v3-cx-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: #0d0c10;
  transition: 0.15s;
}
.v3-cx-faq-q:hover { color: #9441e9; }
.v3-cx-faq-q .n {
  font-family: 'Fira Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(13,12,16,0.35);
  letter-spacing: 0.08em;
}
.v3-cx-faq-q .t {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.v3-cx-faq-q .chev {
  font-size: 28px;
  font-weight: 300;
  color: rgba(13,12,16,0.4);
  line-height: 0.5;
  text-align: center;
}
.v3-cx-faq-item.open .v3-cx-faq-q .chev { color: #9441e9; }
.v3-cx-faq-a {
  padding: 0 4px 28px 84px;
}
.v3-cx-faq-a p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(13,12,16,0.65);
  margin: 0;
  max-width: 760px;
}

/* === Responsive === */
@media (max-width: 1100px) {
  .v3-cx-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .v3-cx-hero-aside { order: -1; }
  .v3-cx-hero-collage { height: 380px; max-width: 460px; }
  .v3-cx-expect { grid-template-columns: 1fr 1fr; }
  .v3-cx-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .v3-cx-hero { padding: 24px 24px 64px; }
  .v3-cx-expect { grid-template-columns: 1fr; }
  .v3-cx-cards { grid-template-columns: 1fr; }
  .v3-cx-hero-meta { grid-template-columns: 1fr 1fr; }
  .v3-cx-hero-meta .v3-cx-hero-stat:nth-child(2) { border-right: 0; }
  .v3-cx-agenda-row { grid-template-columns: 1fr; gap: 8px; }
  .v3-cx-agenda { padding-left: 24px; }
  .v3-cx-agenda-row::before { left: -33px; }
  .v3-cx-faq-q { grid-template-columns: 1fr 32px; }
  .v3-cx-faq-q .n { display: none; }
  .v3-cx-faq-a { padding-left: 4px; }
}
