/*!
 * Copyright (c) 2026 Tekantis Limited. All rights reserved.
 * Proprietary and confidential. This file and the methods in it are not licensed for copying,
 * modification, reuse or redistribution, in whole or in part, without written permission from
 * Tekantis Limited.
 */
/* Home page: the three Power BI visuals (Pro, Slicer, Lite) and "Which one do I need?".
   Class prefix hv- keeps it clear of style.css. Each product keeps its own accent
   (Pro blue, Slicer teal, Lite gold), used sparingly on a light page. */

.hv {
  --hv-text: #0f1a38;
  --hv-sub: #4a5680;
  --hv-border: #e2e8f5;
  --hv-font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  position: relative;
  /* Full-bleed grey band from inside main.content */
  width: 100vw;
  margin: 72px calc(50% - 50vw) 0;
  padding: 72px 0 60px;
  color: var(--hv-text);
  font-family: var(--hv-font);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(900px 500px at 0% 100%, rgba(12, 98, 166, 0.06), transparent 65%),
    radial-gradient(900px 500px at 100% 100%, rgba(183, 121, 31, 0.05), transparent 65%),
    linear-gradient(180deg, #f4f6fa 0%, #e8ecf3 100%);
  border-top: 1px solid #e2e7f0;
  border-bottom: 1px solid #e2e7f0;
  overflow: hidden;
}

/* Faint hex texture, the Icon Map motif */
.hv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%230f1a38' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  pointer-events: none;
}

.hv-wrap {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hv *,
.hv *::before,
.hv *::after {
  box-sizing: border-box;
}

.hv-head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.hv-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0c62a6;
}

.hv-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: var(--hv-text);
  text-wrap: balance;
}

.hv-sub {
  margin: 0 auto;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--hv-sub);
  text-wrap: balance;
}

.hv-sub strong {
  color: var(--hv-text);
  font-weight: 650;
}

/* ---------- Cards ---------- */
.hv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.hv-card {
  --hv-accent: #0c62a6;
  --hv-accent-rgb: 12, 98, 166;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hv-border);
  box-shadow: 0 14px 36px rgba(7, 17, 46, 0.09);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hv-card--slicer {
  --hv-accent: #0f766e;
  --hv-accent-rgb: 15, 118, 110;
}

.hv-card--lite {
  --hv-accent: #b7791f;
  --hv-accent-rgb: 183, 121, 31;
}

.hv-card:hover,
.hv-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--hv-accent-rgb), 0.35);
  box-shadow: 0 22px 50px rgba(7, 17, 46, 0.12);
}

/* Accent rule across the top */
.hv-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hv-accent);
}

.hv-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f9;
}

.hv-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hv-card:hover .hv-media img {
  transform: scale(1.04);
}

/* What the picture shows */
.hv-role {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--hv-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(7, 17, 46, 0.18);
  backdrop-filter: blur(6px);
}

.hv-role svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--hv-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.hv-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.hv-id img {
  width: 50px;
  height: 50px;
  flex: none;
  object-fit: contain;
}

.hv-id h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: var(--hv-text);
}

.hv-kicker {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--hv-accent);
}

.hv-pitch {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #24305a;
}

.hv-points {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hv-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--hv-sub);
}

.hv-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--hv-accent);
}

.hv-points strong {
  color: var(--hv-text);
  font-weight: 650;
}

.hv-offer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hv-text);
}

.hv-offer svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--hv-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv-offer a,
.hv-offer a:visited {
  color: var(--hv-accent);
  text-decoration: underline;
  text-decoration-color: rgba(var(--hv-accent-rgb), 0.4);
  text-underline-offset: 3px;
}

.hv-offer a:hover {
  text-decoration-color: currentColor;
}

.hv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hv-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--hv-border);
  background: #fff;
  padding: 0 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hv-badge img {
  display: block;
  height: 42px;
  width: auto;
}

.hv-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 17, 46, 0.12);
}

.hv-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14.5px;
  white-space: nowrap;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  background: var(--hv-accent);
  transition: filter 0.15s ease;
}

.hv-more:visited {
  color: #fff;
}

.hv-more::after {
  content: "\2192";
  transition: transform 0.15s ease;
}

.hv-more:hover {
  filter: brightness(1.12);
}

.hv-more:hover::after {
  transform: translateX(3px);
}

.hv-badge:focus-visible,
.hv-more:focus-visible,
.hv-media:focus-visible {
  outline: 2px solid var(--hv-accent);
  outline-offset: 3px;
}

.hv-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  font-size: 15px;
  color: var(--hv-sub);
  text-align: center;
}

.hv-pair svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: #0c62a6;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv-mark {
  margin-left: 1px;
  font-size: 0.75em;
  color: var(--hv-sub);
}

.hv-fine {
  margin: 16px auto 0;
  max-width: 1000px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hv-sub);
  text-align: center;
}

.hv-credit {
  margin: 6px 0 0;
  font-size: 12px;
  color: #8a94b0;
  text-align: center;
}

/* "Coming soon" corner ribbon on the Lite card (index.html removes it after its date) */
.hv-soon {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
}

.hv-soon span {
  position: absolute;
  top: 36px;
  right: -52px;
  width: 220px;
  padding: 9px 0 8px;
  transform: rotate(45deg);
  overflow: hidden;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a2500;
  background: linear-gradient(135deg, #ffe7a8 0%, #ffc94f 40%, #f0a92a 75%, #d98f16 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(120, 72, 0, 0.35);
  box-shadow: 0 8px 18px rgba(120, 72, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* A slow shine across the ribbon */
.hv-soon span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-20deg);
  animation: hv-shine 3.6s ease-in-out infinite;
}

@keyframes hv-shine {
  0%, 55% { left: -40%; }
  100% { left: 130%; }
}

/* ---------- Which one do I need? ---------- */
.hvc {
  margin: 64px auto 0;
  max-width: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}

.hvc-head {
  margin-bottom: 26px;
  text-align: center;
}

.hvc-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: #0f1a38;
}

.hvc-head p {
  margin: 0;
  font-size: 17px;
  color: #4a5680;
}

.hvc-scroll {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #e2e8f5;
  box-shadow: 0 18px 50px rgba(7, 17, 46, 0.08);
  background: #fff;
}

.hvc-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
  color: #0f1a38;
}

.hvc-table th,
.hvc-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid #eef2f9;
  vertical-align: middle;
}

.hvc-table tbody tr:last-child th,
.hvc-table tbody tr:last-child td {
  border-bottom: 0;
}

.hvc-table tbody th {
  width: 34%;
  text-align: left;
  font-weight: 600;
  color: #24305a;
}

.hvc-table thead td {
  background: #f5f7fb;
}

.hvc-table thead th {
  padding: 20px;
  font-size: 16px;
  font-weight: 750;
  background: #f5f7fb;
}

.hvc-table thead th span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hvc-pro span { color: #0c62a6; }
.hvc-slicer span { color: #0f766e; }
.hvc-lite span { color: #b7791f; }

.hvc-table tbody tr:hover {
  background: #fafbfe;
}

.hvc-yes,
.hvc-no {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
}

.hvc-yes {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    #0c62a6;
}

.hvc-no {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%238a94b0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    #eef2f9;
}

.hvc-txt {
  font-size: 14px;
  line-height: 1.45;
  color: #4a5680;
}

.hvc-txt a,
.hvc-txt a:visited {
  color: #0c62a6;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(12, 98, 166, 0.35);
  text-underline-offset: 3px;
}

.hvc-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 15px;
  color: #4a5680;
}

.hvc-note a {
  color: #0c62a6;
  font-weight: 650;
}

/* Shipped in a visual version not yet on AppSource: drop the tag when it is */
.hvc-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  vertical-align: 1px;
  color: #0c62a6;
  background: #e8f1fb;
  white-space: nowrap;
}

.sr-only-hv {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- "Looking for Icon Map v3?" ---------- */
.hv-v3 a,
.hv-v3 a:visited {
  color: #0c62a6;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(12, 98, 166, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hv-v3 a:hover,
.hv-v3 a:focus-visible {
  color: #094d84;
  text-decoration-color: currentColor;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hv-card--lite {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .hv-card--lite .hv-media {
    flex: 0 0 46%;
    aspect-ratio: auto;
  }
}

@media (max-width: 720px) {
  .hv {
    margin-top: 56px;
    padding: 56px 0 48px;
  }
  .hv-grid {
    grid-template-columns: 1fr;
  }
  .hv-card--lite {
    flex-direction: column;
  }
  .hv-card--lite .hv-media {
    flex: none;
    aspect-ratio: 16 / 10;
  }
  .hv-body {
    padding: 20px 20px 22px;
  }
  .hv-pair {
    flex-direction: column;
    gap: 6px;
  }
  /* The row labels stay put while the three product columns scroll */
  .hvc-table {
    min-width: 600px;
    font-size: 14px;
  }
  .hvc-table th,
  .hvc-table td {
    padding: 12px 12px;
  }
  .hvc-table tbody th,
  .hvc-table thead td {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 150px;
    min-width: 150px;
    box-shadow: 6px 0 10px -8px rgba(7, 17, 46, 0.25);
  }
  .hvc-table tbody th {
    background: #fff;
    font-size: 13.5px;
  }
  .hvc-table tbody tr:hover th {
    background: #fafbfe;
  }
  .hvc-txt {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv-soon span::after {
    animation: none;
    display: none;
  }
  .hv-card,
  .hv-media img,
  .hv-more::after,
  .hv-badge {
    transition: none;
  }
  .hv-card:hover,
  .hv-card:focus-within {
    transform: none;
  }
  .hv-card:hover .hv-media img {
    transform: none;
  }
}
