/*
  REVALYTICS — ABOUT PAGE
  Page-specific styles: hero, eyebrow, section header, artifact strip,
  JASMIN section, values grid, CTA, belief section.
*/

/* ─── Hero ────────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-section-backgroud-blue-gradient.webp');
  background-size: cover;
  background-position: center center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4,18,45,0.82) 0%, rgba(4,18,45,0.68) 35%, rgba(4,18,45,0.35) 65%, rgba(4,18,45,0.55) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,18,45,0.35) 0%, transparent 25%, transparent 75%, rgba(4,18,45,0.25) 100%);
  z-index: 2;
}

.hero {
  position: relative;
  margin: 90px 30px 0;
  border-radius: 25px;
  box-shadow: var(--rev-shadow-card);
  overflow: hidden;
  background-color: var(--rev-navy-900);
  background-image: var(--rev-hero-gradient);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 0;
  padding: clamp(16px, 2vw, 28px) clamp(32px, 6vw, 80px) 36px;
}

@media (max-width: 720px) {
  .hero {
    margin: 16px 12px;
    padding: 40px 24px 60px;
    min-height: 0;
    border-radius: 20px;
  }
  .hero-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-lede {
    text-align: center;
  }
  .hero-cta-btns {
    justify-content: center;
  }
  .hero-eyebrow {
    display: flex !important;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rev-blue-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 32px;
}

.hero-eyebrow .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-pos);
  animation: wire-pulse 1.4s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 28px;
  max-width: 850px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue-300);
}

.hero-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-grid-left {
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-question {
    margin-top: 20px !important;
  }
}

.hero-lede {
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  margin: 0;
}

.hero-lede em {
  font-style: italic;
  color: #fff;
  font-weight: 500;
}

.hero-question {
  background: rgba(4,18,45,0.55);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  margin-top: -60px;
}

.hero-question .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-blue-300);
  margin: 0 0 14px;
}

.hero-question .q {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-question .q em {
  font-style: italic;
  color: var(--rev-blue-300);
}

.hero-question p {
  margin: 16px 0 0;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.hero-cta-btns {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

/* ─── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rev-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ─── Section header ──────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.sec-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--rev-text);
  margin: 22px 0 0;
}

.sec-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue);
}

.sec-side {
  font-size: 18px;
  line-height: 1.45;
  color: var(--rev-text-light);
  font-weight: 500;
  margin: 0;
}

.sec-body {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--rev-text-body);
  max-width: 720px;
}

.sec-body + .sec-body { margin-top: 18px; }

.sec-quote {
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  font-weight: 600;
  color: var(--rev-blue);
  line-height: 1.35;
  padding-left: 20px;
  border-left: 3px solid var(--rev-blue);
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .sec-quote {
    font-size: clamp(18px, 4.5vw, 22px);
    padding-left: 14px;
    border-left-width: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.sec-body strong {
  font-weight: 700;
  color: var(--rev-text);
}

/* ─── Artifact stat strip ─────────────────────────────── */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

@media (max-width: 900px) {
  .artifact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.artifact {
  background: var(--rev-blue-25);
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: var(--rev-shadow-tile);
}

.artifact .label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rev-text-muted);
  margin: 0 0 18px;
}

.artifact .value {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 500;
  color: var(--rev-text);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0;
}

.artifact.accent { background: var(--rev-blue); color: #fff; }
.artifact.accent .label { color: rgba(255,255,255,0.7); }
.artifact.accent .value { color: #fff; }

/* ─── JASMIN section ──────────────────────────────────── */
.jasmin {
  margin: 25px 30px;
  background: var(--rev-navy-900);
  color: #fff;
  border-radius: 25px;
  padding: clamp(60px, 7vw, 110px) clamp(28px, 5vw, 73px) clamp(40px, 5vw, 70px);
  box-shadow: var(--rev-shadow-card);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}

@media (max-width: 720px) {
  .jasmin {
    margin: 16px 12px;
    border-radius: 20px;
  }
}

.jasmin::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(75,133,234,0.15);
  filter: blur(60px);
  pointer-events: none;
}

.jasmin-eyebrow {
  color: var(--rev-blue-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}


.jasmin-title {
  margin: 28px 0 40px;
  font-size: clamp(54px, 9vw, 130px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
  position: relative;
}

.jasmin-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue-500);
}

.jasmin-left {
  display: flex;
  flex-direction: column;
}

.jasmin-grid { display: contents; }

@media (max-width: 900px) {
  .jasmin {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.jasmin-body p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 0 0 18px;
  max-width: 640px;
}

.jasmin-body p em {
  color: #fff;
  font-style: italic;
  font-weight: 500;
}

.jasmin-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Backronym ───────────────────────────────────────── */
.backronym {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 20px;
  padding: 30px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.backronym .head {
  color: var(--rev-blue-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.b-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.b-row:last-child { border-bottom: none; padding-bottom: 0; }
.b-row:first-child { padding-top: 0; }

.b-row .letter {
  font-size: 36px;
  font-weight: 500;
  color: var(--rev-blue-500);
  line-height: 1;
  letter-spacing: -0.02em;
}

.b-row .word {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}

/* ─── Values ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--rev-blue-25);
  border-radius: 20px;
  padding: 35px 35px 38px;
  box-shadow: var(--rev-shadow-tile);
  transition: background var(--rev-dur) var(--rev-ease);
}

.value-card:hover { background: var(--rev-blue-50); }

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--rev-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.value-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-blue);
  margin: 0 0 12px;
}

.value-card h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.0;
  margin: 0 0 16px;
  color: var(--rev-text);
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--rev-text-light);
  font-weight: 500;
  margin: 0;
}

/* ─── CTA ─────────────────────────────────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cta-box {
  background: var(--rev-cta-gradient);
  color: #fff;
  border-radius: 20px;
  padding: 35px 35px 30px;
  box-shadow: 0 20px 50px rgba(0,86,235,0.25);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(75,133,234,0.4);
  filter: blur(40px);
}

.cta-box .meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
}

.cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b85ea;
  box-shadow: 0 0 0 4px rgba(75,133,234,0.3);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(75,133,234,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(75,133,234,0); }
}

.cta-box h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-box p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin: 0 0 24px;
  position: relative;
}

.cta-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--rev-navy-900);
  font-size: 17px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--rev-dur) var(--rev-ease);
  position: relative;
}

@media (max-width: 900px) {
  .cta-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

.cta-button:hover { background: var(--rev-blue-25); }

.cta-fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin: 14px 0 0;
  letter-spacing: 0.01em;
}

.cta-fine span {
  white-space: nowrap;
}

/* ─── Belief section ──────────────────────────────────── */
.section.belief-section {
  background: var(--rev-navy-900);
  color: #fff;
}

.belief-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rev-blue-300);
  margin-bottom: 40px;
  display: block;
  font-weight: 700;
}

.belief-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 1000px;
  margin: 0;
}

.belief-title em {
  font-style: italic;
  color: var(--rev-blue);
}

.belief-sub {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-top: 12px;
}

.belief-sub em { font-style: italic; }

.belief-body-wrap {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.belief-body {
  grid-column: span 12;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  color: #EBE5DB;
  max-width: 700px;
}

@media (min-width: 1024px) {
  .belief-body { grid-column: span 7; }
}

/* ─── Section scaffold (about overrides) ─────────────── */
.section {
  margin: 25px 30px;
  background: #fff;
  border-radius: 25px;
  box-shadow: var(--rev-shadow-card);
  overflow: hidden;
}

.section-pad {
  padding: clamp(48px, 5vw, 80px) clamp(28px, 5vw, 80px);
}

/* ─── Mobile overrides (≤640px) ──────────────────────── */
@media (max-width: 640px) {
  .hero {
    margin: 78px 12px 0 !important;
    border-radius: 0 !important;
    padding: 32px 20px 40px !important;
    min-height: 0 !important;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px) !important;
    white-space: normal !important;
    line-height: 1.1 !important;
    text-wrap: balance !important;
    letter-spacing: -0.02em !important;
  }

  .sec-title {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.1 !important;
    text-wrap: balance !important;
    letter-spacing: -0.01em !important;
  }

  .artifact-grid { grid-template-columns: 1fr !important; }

  .belief-title {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
    text-wrap: balance !important;
  }

  .jasmin-title {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.0 !important;
    margin: 20px 0 24px !important;
    text-wrap: balance !important;
  }

  .section,
  .section-dark,
  .sec-wrap,
  .card-wrap,
  .about-card,
  .team-card,
  .value-card,
  .contact-card,
  .contact-form-wrap {
    margin: 20px 12px 0 !important;
    border-radius: 0 !important;
  }

  .jasmin {
    margin: 20px 12px 0 !important;
    border-radius: 0 !important;
  }
}
