/* ════════════════════════════════════════════════════════
   about-v2.css  v1  —  premium About page
   Leans heavily on ref- classes; ab- prefix for new rules
════════════════════════════════════════════════════════ */

body.ab-page { background: #040d1a !important; }

/* ── Hero: gold accent ── */
.ab-hero { background: #040d1a; }

.ab-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.26);
  backdrop-filter: blur(12px);
  color: #fbbf24;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 28px;
}
.ab-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f59e0b; box-shadow: 0 0 9px #f59e0b;
  animation: live-pulse 1.8s ease-in-out infinite;
}

/* Gold gradient headline */
.ab-hero-h1 .grad-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 35%, #fde68a 60%, #fbbf24 80%, #f59e0b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  display: inline-block;
}

/* Dark section header overrides */
.ab-dark-hd.ref-section-hd .ref-section-title { color: #fff; }
.ab-dark-hd.ref-section-hd .ref-section-sub   { color: rgba(255,255,255,.46); }
.ab-dark-hd.ref-section-hd .ref-label-pill {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  color: #fbbf24;
}
.ab-indigo-hd.ref-section-hd .ref-label-pill {
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  color: #a5b4fc;
}
.ab-green-hd.ref-section-hd .ref-label-pill {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  color: #34d399;
}

/* ══════════════════════════════════════════════════
   IMPACT COUNTERS
══════════════════════════════════════════════════ */
.ab-impact-section {
  background: #060f22;
  padding: 90px 28px;
  position: relative; overflow: hidden;
}
.ab-impact-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(245,158,11,.055), transparent 70%);
  pointer-events: none;
}
.ab-impact-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}
.ab-impact-card {
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 32px 20px;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.ab-impact-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--ic, #f59e0b);
  border-radius: 20px 20px 0 0;
}
.ab-impact-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--ic, #f59e0b) 10%, transparent), transparent 65%);
  pointer-events: none;
}
.ab-impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px var(--ic, #f59e0b), 0 20px 60px rgba(0,0,0,.4);
}
.ab-impact-num {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 900; letter-spacing: -.5px; line-height: 1;
  color: color-mix(in srgb, var(--ic, #f59e0b) 72%, #fff);
  margin-bottom: 9px; position: relative; z-index: 1;
}
.ab-impact-label {
  display: block; font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.36);
  text-transform: uppercase; letter-spacing: .7px;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════
   OUR STORY  (2-column: text + image)
══════════════════════════════════════════════════ */
.ab-story-section {
  background: #040d1a; padding: 100px 28px;
  overflow: hidden; position: relative;
}
.ab-story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; max-width: 1100px; margin: 0 auto; align-items: center;
}
.ab-story-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.22);
  color: #a5b4fc; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.ab-story-title {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem); font-weight: 900;
  color: #fff; line-height: 1.2; letter-spacing: -.4px; margin-bottom: 18px;
}
.ab-story-title .grad-indigo {
  background: linear-gradient(135deg, #818cf8 0%, #a5b4fc 50%, #c7d2fe 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-story-body {
  font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 30px;
}
.ab-story-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.ab-story-point { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.5; }
.ab-sp-icon {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.22);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* Right: image + floating badge */
.ab-story-visual { position: relative; }
.ab-story-img-wrap { border-radius: 24px; overflow: hidden; position: relative; }
.ab-story-img-wrap img {
  width: 100%; height: 400px; object-fit: cover; display: block;
  filter: brightness(.68) saturate(.75);
}
.ab-story-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4,13,26,.88) 100%);
}
.ab-story-float {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(10,22,40,.9); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.ab-float-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.25);
  display: flex; align-items: center; justify-content: center;
}
.ab-float-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.35); display: block; margin-bottom: 3px; }
.ab-float-val { font-size: 20px; font-weight: 900; color: #fbbf24; letter-spacing: -.3px; line-height: 1; display: block; }

/* ══════════════════════════════════════════════════
   FEATURE CARDS  (3 × 2 grid)
══════════════════════════════════════════════════ */
.ab-features-section { background: #040d1a; }

.ab-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.ab-feat-card {
  background: #0a1628; border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px; padding: 34px 26px 30px;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.ab-feat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--fc, #6366f1); border-radius: 24px 24px 0 0;
}
.ab-feat-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, color-mix(in srgb, var(--fc, #6366f1) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.ab-feat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 0 1px var(--fc, #6366f1),
              0 20px 60px rgba(0,0,0,.4),
              0 0 40px color-mix(in srgb, var(--fc, #6366f1) 18%, transparent);
}
.ab-feat-icon-wrap {
  width: 54px; height: 54px; border-radius: 14px;
  background: color-mix(in srgb, var(--fc, #6366f1) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc, #6366f1) 22%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; position: relative; z-index: 1;
}
.ab-feat-title {
  font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 10px;
  position: relative; z-index: 1;
}
.ab-feat-body {
  font-size: 13.5px; color: rgba(255,255,255,.44); line-height: 1.72; margin: 0;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════
   TEAM CARDS
══════════════════════════════════════════════════ */
.ab-team-section { background: #060f22; padding: 100px 28px; }

.ab-team-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 26px; max-width: 900px; margin: 0 auto;
}
.ab-team-card {
  background: #0a1628; border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px; padding: 36px 26px 30px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.ab-team-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, color-mix(in srgb, var(--tc, #f59e0b) 8%, transparent), transparent 65%);
  pointer-events: none;
}
.ab-team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.ab-team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tc, #f59e0b), color-mix(in srgb, var(--tc, #f59e0b) 55%, #fff));
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #040d1a;
  position: relative; z-index: 1;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--tc, #f59e0b) 32%, transparent);
}
.ab-team-name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px; position: relative; z-index: 1; }
.ab-team-role { font-size: 11px; font-weight: 700; color: var(--tc, #f59e0b); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; position: relative; z-index: 1; }
.ab-team-bio { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.68; margin: 0; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.ab-testi-section { background: #040d1a; padding: 100px 28px; }

.ab-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.ab-testi-card {
  background: #0a1628; border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.ab-testi-card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(0,0,0,.38); }
.ab-testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.ab-testi-quote {
  font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.75;
  margin: 0 0 22px; font-style: italic;
  position: relative; z-index: 1;
}
.ab-testi-author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.ab-testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #040d1a;
  background: linear-gradient(135deg, var(--av, #f59e0b), color-mix(in srgb, var(--av, #f59e0b) 55%, #fff));
}
.ab-testi-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; display: block; }
.ab-testi-role { font-size: 11px; color: rgba(255,255,255,.3); display: block; }
.ab-testi-mark {
  position: absolute; top: 16px; right: 20px;
  font-size: 78px; line-height: 1;
  color: rgba(255,255,255,.04);
  font-family: Georgia, serif; user-select: none; pointer-events: none;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .ab-impact-grid { grid-template-columns: repeat(2,1fr); }
  .ab-story-grid  { grid-template-columns: 1fr; gap: 48px; }
  .ab-feature-grid { grid-template-columns: 1fr 1fr; }
  .ab-team-grid   { grid-template-columns: 1fr; max-width: 400px; }
  .ab-testi-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ab-feature-grid { grid-template-columns: 1fr; }
  .ab-impact-grid  { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .ab-story-float  { display: none; }

  /* Reduce large section padding on mobile — but NOT the hero */
  .ab-impact-section,
  .ab-story-section,
  .ab-feature-section,
  .ab-team-section,
  .ab-testi-section {
    padding: 52px 16px !important;
  }
  /* Hero: keep proper top spacing so badge doesn't touch sticky header */
  /* ref-hero already provides 90px at 768px; reduce slightly on phones */
  .ref-hero.ab-hero {
    padding: 72px 16px 52px !important;
    min-height: auto !important;
  }
}

@media (max-width: 480px) {
  .ab-impact-grid { grid-template-columns: 1fr; }
}
