/*
  hero-v2.css — 新First View（プレビュー専用）
  本番の styles.css には影響しないよう、すべて `.herov2` 名前空間で定義。
  採用が決まったら index.html に組み込み、styles.css へ統合する。
*/

@media (max-width: 980px) {
  body { overflow-x: hidden; }
}

.herov2 {
  position: relative;
  overflow: clip;
  width: 100%;
  margin: 0;
  padding: clamp(96px, 12vh, 150px) clamp(20px, 6vw, 96px) clamp(64px, 9vh, 110px);
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(94, 204, 245, 0.22), transparent 60%),
    radial-gradient(820px 560px at 100% 0%, rgba(253, 123, 138, 0.18), transparent 58%),
    radial-gradient(760px 620px at 88% 110%, rgba(90, 85, 174, 0.16), transparent 60%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 72%);
}

/* dotted texture */
.herov2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(61, 114, 180, 0.16) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(900px 600px at 60% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.herov2-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

/* ---------- left copy ---------- */
.herov2-copy {
  max-width: 600px;
}

.herov2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(61, 114, 180, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(35, 58, 90, 0.08);
  color: var(--brand-dark, #121620);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.herov2-badge .dot {
  display: inline-flex;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #21c07a;
  box-shadow: 0 0 0 4px rgba(33, 192, 122, 0.18);
}

.herov2 h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #0c1322;
}

.herov2 h1 .nowrap {
  white-space: nowrap;
}

.herov2 h1 .grad {
  background: linear-gradient(115deg, #5a55ae 0%, #3d72b4 42%, #5eccf5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.herov2-lead {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: #3a4358;
}

.herov2-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.herov2-cta .button {
  font-size: 16px;
}

.herov2-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #5a55ae, #3d72b4 55%, #5eccf5);
  background-size: 180% 180%;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(61, 114, 180, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.5s ease;
}

.herov2-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 22px 44px rgba(61, 114, 180, 0.4);
}

.herov2-primary:focus-visible {
  outline: 3px solid #5eccf5;
  outline-offset: 3px;
}

.herov2-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  border: 1px solid rgba(61, 114, 180, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-dark, #121620);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.herov2-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--brand, #3d72b4);
  background: #fff;
  box-shadow: 0 10px 26px rgba(61, 114, 180, 0.14);
}

.herov2-secondary:focus-visible {
  outline: 3px solid #3d72b4;
  outline-offset: 3px;
}

.herov2-reassurance {
  margin: 16px 0 0;
  font-size: 13px;
  color: #6b7488;
}

.herov2-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(61, 114, 180, 0.14);
}

.herov2-trust div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.herov2-trust strong {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0c1322;
  white-space: nowrap;
}

.herov2-trust span {
  font-size: 12.5px;
  font-weight: 700;
  color: #6b7488;
}

/* ---------- right visual collage ---------- */
.herov2-stage {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.herov2-blob {
  position: absolute;
  z-index: 0;
  border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  filter: blur(2px);
  opacity: 0.85;
  animation: herov2Float 12s ease-in-out infinite alternate;
}

.herov2-blob.b1 {
  top: 4%;
  right: 8%;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at 30% 30%, rgba(94, 204, 245, 0.55), rgba(94, 204, 245, 0));
}

.herov2-blob.b2 {
  bottom: 0%;
  left: 2%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 40%, rgba(253, 123, 138, 0.42), rgba(253, 123, 138, 0));
  animation-delay: -4s;
}

/* main browser window */
.herov2-window {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 40px 90px rgba(20, 39, 74, 0.22);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.herov2-window:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
}

.herov2-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f7faff, #eef4fc);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.herov2-window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7dee8;
}
.herov2-window-bar i:nth-child(1) { background: #fd7b8a; }
.herov2-window-bar i:nth-child(2) { background: #f5c451; }
.herov2-window-bar i:nth-child(3) { background: #58c98c; }

.herov2-window-bar .url {
  margin-left: 10px;
  flex: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: #94a0b3;
  font-size: 11.5px;
  font-weight: 700;
}

.herov2-window img {
  display: block;
  width: 100%;
  height: auto;
}

/* floating glass cards */
.herov2-float {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 50px rgba(20, 39, 74, 0.18);
  backdrop-filter: blur(10px);
  animation: herov2Bob 6s ease-in-out infinite alternate;
}

.herov2-float .ftitle {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #8a93a6;
}

/* card: AI risk */
.herov2-float.f-risk {
  top: 6%;
  left: -4%;
  width: 210px;
}

.herov2-float.f-risk .rrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
}
.herov2-float.f-risk .rrow strong {
  font-size: 19px;
  color: #0c1322;
  letter-spacing: -0.02em;
}
.herov2-float.f-risk .rrow em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #21c07a;
}

.herov2-spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin-top: 10px;
}
.herov2-spark span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #5eccf5, #3d72b4);
  opacity: 0.85;
}

/* card: recognition */
.herov2-float.f-praise {
  top: 2%;
  right: -6%;
  width: 200px;
  animation-delay: -2s;
}
.herov2-praise-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.herov2-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid #fff;
}
.herov2-ava.a1 { background: linear-gradient(135deg, #5a55ae, #3d72b4); }
.herov2-ava.a2 { background: linear-gradient(135deg, #fd7b8a, #f5a04f); margin-left: -10px; }
.herov2-praise-head .pill {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(33, 192, 122, 0.14);
  color: #1c9c63;
  font-size: 11px;
  font-weight: 900;
}
.herov2-float.f-praise p {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #51596b;
}

/* card: survey gauge */
.herov2-float.f-survey {
  bottom: 4%;
  right: -2%;
  width: 184px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -3.5s;
}
.herov2-gauge {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: conic-gradient(#5eccf5 0 86%, #e6edf6 86% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.herov2-gauge::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: #fff;
}
.herov2-gauge b {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #0c1322;
}
.herov2-float.f-survey .stxt strong {
  display: block;
  font-size: 13px;
  color: #0c1322;
}
.herov2-float.f-survey .stxt span {
  font-size: 11px;
  color: #8a93a6;
  font-weight: 700;
}

/* card: org node */
.herov2-float.f-org {
  bottom: -2%;
  left: -2%;
  width: 196px;
  animation-delay: -1s;
}
.herov2-org-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.herov2-org-row + .herov2-org-row { margin-top: 8px; }
.herov2-org-chip {
  flex: 1;
  padding: 7px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(94, 204, 245, 0.16), rgba(90, 85, 174, 0.1));
  border: 1px solid rgba(61, 114, 180, 0.18);
  font-size: 11.5px;
  font-weight: 800;
  color: #2b3445;
}
.herov2-org-chip.sub { margin-left: 16px; opacity: 0.9; }

/* ---------- usecases chips ---------- */
.herov2-usecases {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: min(1240px, 100%);
  margin: clamp(40px, 6vh, 72px) auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(61, 114, 180, 0.14);
}
.herov2-usecases .label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #8a93a6;
  margin-right: 4px;
}
.herov2-usecases a {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(61, 114, 180, 0.2);
  background: #fff;
  color: var(--brand-dark, #121620);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.herov2-usecases a:hover {
  transform: translateY(-2px);
  border-color: var(--brand, #3d72b4);
  color: var(--brand, #3d72b4);
}

/* ---------- value props band ---------- */
.herov2-value {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: clamp(36px, 5vh, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.herov2-vcard {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(61, 114, 180, 0.16);
  background: linear-gradient(165deg, #ffffff, #f6faff);
  box-shadow: 0 18px 44px rgba(35, 58, 90, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.herov2-vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(35, 58, 90, 0.14);
}

.herov2-vcard.is-accent {
  border-color: rgba(90, 85, 174, 0.32);
  background: linear-gradient(160deg, rgba(94, 204, 245, 0.12), rgba(90, 85, 174, 0.1));
}

.herov2-vcard .vicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 204, 245, 0.22), rgba(90, 85, 174, 0.18));
  font-size: 22px;
}

.herov2-vcard h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #0c1322;
}

.herov2-vcard p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #3a4358;
}

.herov2-vcard .vtag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5a55ae, #3d72b4 60%, #5eccf5);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .herov2-value {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* =====================================================================
   Lower sections redesign (preview) — `.lo-` namespace
   ヒーロー直下の冗長な10セクションを3つに凝縮・スタイリッシュ化
   ===================================================================== */
.lo-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.lo-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vh, 96px) 0 0;
}

.lo-section:last-child {
  padding-bottom: clamp(56px, 8vh, 96px);
}

.lo-head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vh, 44px);
  text-align: center;
}

.lo-eyebrow {
  margin: 0 0 12px;
  color: var(--brand, #3d72b4);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lo-head h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #0c1322;
}

.lo-head p {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.85;
  color: #51596b;
}

/* ---- problems → solution ---- */
.lo-prob-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lo-prob {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(61, 114, 180, 0.14);
  box-shadow: 0 18px 44px rgba(35, 58, 90, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lo-prob:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(35, 58, 90, 0.13);
}

.lo-prob-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253, 123, 138, 0.18), rgba(245, 160, 79, 0.16));
  font-size: 22px;
}

.lo-prob h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #0c1322;
}

.lo-prob > p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b7488;
}

.lo-prob-sol {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px dashed rgba(61, 114, 180, 0.22);
  font-size: 13.5px !important;
  font-weight: 700;
  line-height: 1.65 !important;
  color: #234 !important;
}

.lo-prob-sol::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5a55ae, #3d72b4 60%, #5eccf5);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lo-prob-sol a {
  color: var(--brand, #3d72b4);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- lifecycle ---- */
.lo-flow {
  margin: 0 auto;
  width: min(960px, 100%);
}

.lo-flow img {
  display: block;
  width: 100%;
  height: auto;
}

.lo-flow figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #6b7488;
}

.lo-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vh, 44px);
}

.lo-stat {
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff, #f3f8ff);
  border: 1px solid rgba(61, 114, 180, 0.14);
  text-align: center;
}

.lo-stat strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0c1322;
}

.lo-stat strong small {
  font-size: 0.5em;
  font-weight: 800;
  color: #6b7488;
}

.lo-stat p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #6b7488;
}

.lo-stat p a {
  color: var(--brand, #3d72b4);
  font-weight: 700;
}

/* ---- persona ---- */
.lo-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lo-persona-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(61, 114, 180, 0.14);
  box-shadow: 0 16px 40px rgba(35, 58, 90, 0.07);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lo-persona-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 114, 180, 0.3);
  box-shadow: 0 26px 56px rgba(35, 58, 90, 0.13);
}

.lo-persona-card .role {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(94, 204, 245, 0.18), rgba(90, 85, 174, 0.14));
  color: var(--brand-dark, #121620);
  font-size: 12px;
  font-weight: 800;
}

.lo-persona-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #0c1322;
}

.lo-persona-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b7488;
}

.lo-persona-card .go {
  margin-top: auto;
  color: var(--brand, #3d72b4);
  font-size: 13.5px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .lo-prob-grid,
  .lo-persona-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lo-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .lo-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .lo-stat {
    padding: 18px 16px;
  }
}

/* ---------- animations ---------- */
@keyframes herov2Float {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-22px) scale(1.05); }
}
@keyframes herov2Bob {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .herov2-blob,
  .herov2-float { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .herov2-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .herov2-copy { max-width: 640px; margin: 0 auto; text-align: center; }
  .herov2-cta { justify-content: center; }
  .herov2-trust { justify-content: center; }
  .herov2-stage { min-height: 420px; }
}

@media (max-width: 560px) {
  .herov2 { padding-top: 84px; }
  .herov2-window { transform: none; }
  .herov2-window:hover { transform: none; }
  .herov2-float.f-risk { left: -2%; top: -3%; width: 168px; }
  .herov2-float.f-praise { right: -2%; width: 168px; }
  .herov2-float.f-survey { right: 0; bottom: -3%; }
  .herov2-float.f-org { left: -2%; bottom: -8%; width: 168px; }
  .herov2-trust { gap: 14px 20px; }
}

/* ---------- diagnosis nudge (below hero CTAs) ---------- */
.herov2-diag-nudge {
  margin: 14px 0 0;
  font-size: 13px;
  color: #6b7488;
}
.herov2-diag-nudge a {
  color: var(--brand, #3d72b4);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.herov2-diag-nudge a:hover {
  color: #5a55ae;
}

/* ---------- diagnosis strip (between value props and usecases) ---------- */
.herov2-diag-strip {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: clamp(32px, 4vh, 52px) auto 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(90, 85, 174, 0.07), rgba(94, 204, 245, 0.1));
  border: 1px solid rgba(61, 114, 180, 0.18);
}

.herov2-diag-strip-label {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #5a55ae;
  text-transform: uppercase;
}

.herov2-diag-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.herov2-diag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(61, 114, 180, 0.18);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  backdrop-filter: blur(4px);
}

.herov2-diag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(61, 114, 180, 0.16);
  border-color: var(--brand, #3d72b4);
}

.herov2-diag-card.hdc-featured {
  border-color: rgba(90, 85, 174, 0.4);
  background: linear-gradient(145deg, #fff, rgba(90, 85, 174, 0.05));
}

.herov2-diag-card strong {
  display: block;
  font-size: 13.5px;
  color: #0c1322;
  line-height: 1.4;
}

.herov2-diag-card small {
  font-size: 11.5px;
  color: #6b7488;
  font-weight: 600;
}

.hdc-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5a55ae, #3d72b4);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  width: fit-content;
}

@media (max-width: 760px) {
  .herov2-diag-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .herov2-diag-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .herov2-diag-strip {
    padding: 18px 16px;
  }
}
