/* Why block — step 1.6.5, mobile-first */

@import url('../_tokens.css');

@import url('../_motion.css');
.why {
  background:
    linear-gradient(180deg, #05080f 0%, #050812 100%);
  padding: clamp(50px, 10vh, 100px) clamp(16px, 5vw, 40px);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.25), transparent);
}

.why__inner {
  max-width: 1080px;
  text-align: center;
}

.why__kicker {
  display: inline-block;
  font-size: clamp(11px, 2.4vw, 13px);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  padding: 5px 14px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 20px;
  margin-bottom: clamp(28px, 6vh, 48px);
  text-transform: uppercase;
  background: rgba(var(--gold-rgb), 0.05);
}

.why__grid {
  display: grid;
  gap: clamp(14px, 2.5vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: left;
}

.why__card {
  position: relative;
  background: linear-gradient(160deg, rgba(20,30,50,0.9) 0%, rgba(8,12,24,0.9) 100%);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 28px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(var(--white-rgb), 0.14) 0%, transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.why__card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--white-rgb), 0.18);
}

.why__card--blue   { box-shadow: 0 0 60px -20px rgba(var(--accent-rgb), 0.3); }
.why__card--blue:hover   { box-shadow: 0 0 80px -15px rgba(var(--accent-rgb), 0.5); }
.why__card--gold   { box-shadow: 0 0 60px -20px rgba(var(--gold-rgb), 0.3); }
.why__card--gold:hover   { box-shadow: 0 0 80px -15px rgba(var(--gold-rgb), 0.5); }
.why__card--green  { box-shadow: 0 0 60px -20px rgba(var(--green-rgb), 0.3); }
.why__card--green:hover  { box-shadow: 0 0 80px -15px rgba(var(--green-rgb), 0.5); }

.why__icon {
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(var(--white-rgb), 0.1));
}

.why__title {
  font-size: clamp(17px, 3.8vw, 21px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.why__card--blue  .why__title { color: #a6c8ff; }
.why__card--gold  .why__title { color: #ffd17a; }
.why__card--green .why__title { color: #a6d3ad; }

.why__text {
  font-size: clamp(14px, 3.2vw, 16px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.why__text b {
  color: var(--text);
  font-weight: 700;
}

.why__note {
  max-width: 640px;
  margin: clamp(28px, 5vh, 44px) auto 0;
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.55;
  color: var(--muted-2);
  text-align: center;
  font-style: italic;
  opacity: 0.8;
}
