/* ==========================================================================
   UNIT 9 · PROOF AND EARLY ACCESS
   --------------------------------------------------------------------------
   Navy → deep-teal authority field, two halves:
   • Proof: accreditation seal + statement, and a metric panel with a
     count-up "6M+" and a rising bar chart.
   • Early access: a "Founding Members" membership card (3D tilt toward the
     pointer, light sheen on entrance) layered over a warm teamwork photo,
     followed by the full offer sentence.
   Static fallback: final values shown, card flat.
   ========================================================================== */

.proof {
  background: linear-gradient(200deg, var(--c-deep-teal) 0%, #04204E 40%, var(--c-navy) 100%);
}

.proof__decor {
  background:
    radial-gradient(ellipse 45% 50% at 80% 40%, rgba(0, 169, 182, 0.20), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(0, 169, 182, 0.08), transparent 70%);
}

[dir="rtl"] .proof__decor {
  scale: -1 1;
}

/* Soft concentric "signal" arcs behind the card (no grids) */
.proof__arcs {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -14rem;
  inline-size: 44rem;
  block-size: 44rem;
  translate: 0 -50%;
  color: rgba(255, 255, 255, 0.06);
}

.proof__grid {
  display: grid;
  gap: clamp(3.5rem, 7vw, 5rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .proof__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------------------------
   Proof half
   --------------------------------------------------------------------------- */
.proof__left {
  display: grid;
  gap: var(--space-xl);
  justify-items: center;
  text-align: center;
}

@media (min-width: 48rem) {
  .proof__left {
    justify-items: start;
    text-align: start;
  }
}

.proof__accredited {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-inline-size: 30rem;
  text-align: start;
}

/* Accreditation seal (static, scalloped badge with check) */
.seal {
  flex-shrink: 0;
  inline-size: 4.5rem;
  block-size: 4.5rem;
  color: var(--c-teal);
}

.proof__accredited p {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--c-on-dark);
}

/* Metric panel */
.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: var(--space-lg);
  inline-size: 100%;
  max-inline-size: 30rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-panel);
  border: 1px solid var(--c-glass-border);
  background-color: var(--c-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: start;
}

.metric__value {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-on-dark);
  font-variant-numeric: tabular-nums;
}

.metric__label {
  display: block;
  margin-block-start: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--c-on-dark-body);
}

/* Rising bar chart */
.metric__bars {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.375rem;
  block-size: 4.5rem;
}

.metric__bars span {
  flex: 1;
  max-inline-size: 1.125rem;
  block-size: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--c-teal), rgba(0, 169, 182, 0.25));
  transform-origin: 50% 100%;
}

.metric__bars span:last-child {
  background: var(--c-teal);
  box-shadow: 0 0 18px rgba(0, 169, 182, 0.6);
}

/* ---------------------------------------------------------------------------
   Early-access half
   --------------------------------------------------------------------------- */
.proof__right {
  display: grid;
  gap: var(--space-xl);
  justify-items: center;
}

.proof__stage {
  position: relative;
  inline-size: min(100% - 1rem, 26rem);
  padding-block-end: 2.5rem;
  perspective: 1000px;
}

/* Warm photo behind the card */
.proof__photo {
  overflow: hidden;
  inline-size: 78%;
  aspect-ratio: 9 / 7;
  margin-inline-start: auto;
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-lg);
}

.proof__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

/* Membership card */
.member-card {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 82%;
  aspect-ratio: 1.586;           /* ID-1 card proportion */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 3vw, 1.375rem);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(0, 169, 182, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 70% at 0% 100%, rgba(1, 62, 106, 0.9), transparent 70%),
    #031A4A;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: var(--c-on-dark);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Light sheen that sweeps across once on entrance (GSAP moves --sheen) */
.member-card::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  translate: var(--sheen, 100%) 0;
  pointer-events: none;
}

.member-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-card__mark {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  padding: 0.3rem;
  border-radius: 9px;
  background-color: var(--c-white);
}

/* Contactless-style signal glyph */
.member-card__signal {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

[dir="rtl"] .member-card__signal {
  scale: -1 1;
}

.member-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Three benefit glyphs along the card's foot */
.member-card__perks {
  display: flex;
  gap: var(--space-xs);
}

.member-card__perk {
  display: grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--c-teal);
}

.member-card__perk svg {
  inline-size: 1rem;
  block-size: 1rem;
}

/* Offer sentence */
.proof__offer {
  max-inline-size: 30rem;
  color: var(--c-on-dark-body);
  text-align: center;
}

@media (min-width: 48rem) {
  .proof__offer {
    text-align: start;
  }
}

.proof__offer strong {
  color: var(--c-teal);
  font-weight: 600;
}
