/* Atlas — Why Us page styles */

/* ─── Hero ─────────────────────────────────────────────────── */
.wu-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 40px;
}
.wu-hero__inner {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.wu-hero__h {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.005em;
  max-width: 20ch;
  margin: 0;
}
.wu-hero__sub {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text);
  max-width: 62ch;
}

/* ─── Comparison table ─────────────────────────────────────── */
.vs { padding: clamp(60px, 9vw, 120px) 0; }
.vs__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
}
.vs__head h2 { font-size: clamp(40px, 5.4vw, 76px); }

.vs__table {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.vs__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.vs__row:last-child { border-bottom: 0; }

.vs__row--header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--blue);
}

.vs__cell {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  border-right: 1px solid var(--border);
  transition: background var(--t-med) var(--ease-out);
}
.vs__cell:last-child { border-right: 0; }

.vs__cell--label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(14, 21, 34, 0.5);
}
.vs__row--header .vs__cell--label { color: var(--blue); }

.vs__cell--atlas {
  color: var(--text);
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.05), rgba(0, 102, 255, 0.04));
  position: relative;
}
.vs__cell--atlas::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-bloom);
}
.vs__row--header .vs__cell--atlas {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.18), rgba(0, 102, 255, 0.08));
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.vs__cell--them {
  color: var(--text-muted);
  filter: saturate(0.6);
}
.vs__row--header .vs__cell--them {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.vs__row:not(.vs__row--header):hover .vs__cell--atlas {
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.1), rgba(0, 102, 255, 0.05));
}
.vs__row:not(.vs__row--header):hover .vs__cell--label {
  color: var(--text);
}

.vs__brand {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: 0.06em;
  color: var(--text);
}
.vs__brand--them {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(107, 127, 163, 0.4);
  text-decoration-thickness: 1px;
  letter-spacing: 0.04em;
}
.vs__brand-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.vs__row--header .vs__cell--atlas .vs__brand-sub {
  color: var(--blue);
}

/* Tick / cross icons */
.vs__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vs__icon--yes {
  background: rgba(0, 200, 255, 0.15);
  border: 1px solid var(--blue);
  box-shadow: 0 0 12px var(--blue-bloom-soft);
}
.vs__icon--yes::before {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(-45deg) translate(1px, -1px);
}
.vs__icon--no {
  background: rgba(107, 127, 163, 0.1);
  border: 1px solid var(--text-dim);
}
.vs__icon--no::before,
.vs__icon--no::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 1px;
}
.vs__icon--no::before { transform: rotate(45deg); }
.vs__icon--no::after { transform: rotate(-45deg); }

@media (max-width: 880px) {
  .vs__row { grid-template-columns: 1fr; }
  .vs__cell { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .vs__cell:last-child { border-bottom: 0; }
  .vs__cell--label {
    background: rgba(0, 200, 255, 0.06);
    color: var(--blue);
  }
  .vs__cell--atlas::before { width: 100%; height: 2px; top: auto; bottom: 0; }
  .vs__row--header .vs__cell { padding-top: 18px; padding-bottom: 18px; }
}

/* ─── Results / counters ───────────────────────────────────── */
.results { padding: clamp(80px, 12vw, 140px) 0; }
.results__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}
.results__head h2 { font-size: clamp(40px, 5.2vw, 72px); max-width: 20ch; }
.results__head p { max-width: 54ch; font-size: 15px; line-height: 1.6; }

.results__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .results__grid { grid-template-columns: 1fr; } }

.result {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  isolation: isolate;
  transition: border-color var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  min-height: 280px;
}
.result::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.4;
}
.result:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 24px 48px rgba(0, 102, 255, 0.18);
}

.result__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--text-muted);
}
.result__delta { color: var(--blue); }

.result__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  line-height: 0.92;
}
.result__prefix {
  font-size: clamp(36px, 3.6vw, 48px);
  color: var(--text);
  align-self: flex-start;
}
.result__val {
  font-size: clamp(60px, 6vw, 88px);
  text-shadow: 0 0 32px rgba(0, 200, 255, 0.35);
  letter-spacing: 0.01em;
}
.result__suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-left: 8px;
  align-self: center;
  text-transform: uppercase;
}

.result__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  max-width: 22ch;
}

.result__bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: auto;
}
.result__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  box-shadow: 0 0 8px var(--blue-bloom);
  border-radius: 4px;
  transition: width 1.6s var(--ease-out);
}
.result.is-in .result__bar span { width: var(--w); }

.result__foot {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

/* ─── Testimonials ─────────────────────────────────────────── */
.rev { padding: clamp(80px, 12vw, 140px) 0; }
.rev__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}
.rev__head h2 { font-size: clamp(40px, 5.2vw, 72px); }

.rev__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .rev__grid { grid-template-columns: 1fr; } }

.rev-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  transition: border-color var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  overflow: hidden;
}
.rev-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 102, 255, 0.14);
}
.rev-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 200, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.rev-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.rev-card__stars {
  display: inline-flex;
  gap: 4px;
}
.rev-card__stars span {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,2 15,9 22,9.5 17,14.5 18.5,22 12,18 5.5,22 7,14.5 2,9.5 9,9' fill='black'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='12,2 15,9 22,9.5 17,14.5 18.5,22 12,18 5.5,22 7,14.5 2,9.5 9,9' fill='black'/></svg>") center/contain no-repeat;
  filter: drop-shadow(0 0 6px var(--blue-bloom));
}

.rev-card__quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.7;
  color: var(--blue);
  opacity: 0.25;
  margin-right: -6px;
  margin-top: -10px;
}

.rev-card__quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  font-style: italic;
  font-weight: 400;
}

.rev-card__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.rev-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
  box-shadow: 0 0 12px var(--blue-bloom-soft);
}
.rev-card__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rev-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.rev-card__role {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--text-muted);
}

/* ─── Bottom CTA ───────────────────────────────────────────── */
.wu-bcta { padding: clamp(40px, 8vw, 100px) 0 clamp(80px, 12vw, 140px); }
.wu-bcta__inner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(48px, 8vw, 100px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.wu-bcta__overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  z-index: -1;
}
.wu-bcta__h {
  font-size: clamp(44px, 6.4vw, 92px);
  max-width: 18ch;
  margin: 12px 0;
}
.wu-bcta__p { max-width: 56ch; font-size: 16px; line-height: 1.6; margin-bottom: 14px; }
.wu-bcta__meta { font-size: 10px; letter-spacing: 0.28em; color: var(--text-muted); margin-top: 4px; }
