:root {
  --v18-blue: #377cff;
  --v18-navy: #031126;
  --v18-line: #dbe4f1;
}

/* V18 hero: the product is presented inside a real laptop silhouette. */
.hero {
  min-height: 820px;
}

.heroContent {
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.heroProduct {
  padding: 0 10px 38px;
  transform-style: preserve-3d;
}

.dashboardShell {
  border: 7px solid #0a1425;
  border-bottom-width: 12px;
  border-radius: 19px 19px 10px 10px;
  transform: rotateY(-2deg) rotateX(1deg);
  box-shadow: 0 0 0 1px rgba(141, 174, 231, .35), 0 35px 90px rgba(0, 0, 0, .72), 0 0 75px rgba(38, 108, 255, .19);
}

.heroProduct::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: -2%;
  right: -2%;
  bottom: 23px;
  height: 15px;
  border-radius: 3px 3px 16px 16px;
  background: linear-gradient(180deg, #d9e2ee 0%, #718096 26%, #1c2635 38%, #080d15 100%);
  box-shadow: 0 20px 22px rgba(0, 0, 0, .55), 0 0 36px rgba(61, 124, 255, .22);
  transform: perspective(380px) rotateX(48deg);
}

.heroProduct::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 40%;
  right: 40%;
  bottom: 27px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: #a9b5c5;
}

.floatPillTwo { bottom: 47px; }

.pillarGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pillarCard {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 30px 27px;
  border: 1px solid var(--v18-line);
  border-radius: 17px;
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.pillarCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #2769ed, #6b9dff);
}

.pillarCard:hover {
  transform: translateY(-5px);
  border-color: #b8cdf3;
  box-shadow: 0 20px 45px rgba(21, 61, 132, .1);
}

.pillarWord {
  margin-top: 25px;
  color: #2467e8;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pillarCard h3 {
  margin: 14px 0 13px;
  color: #0b1830;
  font-size: 21px;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.pillarCard p {
  margin: 0;
  color: #607089;
  font-size: 16px;
  line-height: 1.68;
}

.pillarCard > a {
  display: inline-block;
  margin-top: 22px;
  color: #1f62de;
  font-size: 14px;
  font-weight: 760;
}

.serviceLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.serviceLinks a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 21px 23px;
  border: 1px solid var(--v18-line);
  border-radius: 13px;
  background: #f8faff;
}

.serviceLinks strong { font-size: 16px; }
.serviceLinks span { color: #68768b; font-size: 14px; }

/* Product action tells one understandable story rather than moving for decoration. */
@media (prefers-reduced-motion: no-preference) {
  .dashboardShell { animation: laptopBreathe 5.5s ease-in-out infinite; }
  .chartLine { stroke-dasharray: 720; stroke-dashoffset: 720; animation: drawTrend 2.4s .5s ease forwards, trendPulse 6s 3s ease-in-out infinite; }
  .chartArea { opacity: 0; animation: revealArea 1.2s 1.6s ease forwards; }
  .scoreRing { animation: scoreGlow 4s ease-in-out infinite; }
  .responseBadge::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #48dd82; box-shadow: 0 0 0 0 rgba(72, 221, 130, .5); animation: responsePulse 1.8s infinite; }
  .riskList p:first-of-type { animation: workRow 6s ease-in-out infinite; }
  @keyframes laptopBreathe { 50% { transform: rotateY(-1deg) rotateX(.4deg) translateY(-4px); box-shadow: 0 0 0 1px rgba(141,174,231,.4),0 42px 100px rgba(0,0,0,.72),0 0 95px rgba(38,108,255,.25); } }
  @keyframes drawTrend { to { stroke-dashoffset: 0; } }
  @keyframes trendPulse { 50% { opacity: .62; } }
  @keyframes revealArea { to { opacity: 1; } }
  @keyframes scoreGlow { 50% { filter: drop-shadow(0 0 8px rgba(81, 223, 125, .28)); } }
  @keyframes responsePulse { 70% { box-shadow: 0 0 0 7px rgba(72,221,130,0); } 100% { box-shadow: 0 0 0 0 rgba(72,221,130,0); } }
  @keyframes workRow { 45%, 70% { color: #d6e3f7; background: rgba(47, 111, 242, .09); } }
}

@media (max-width: 1100px) {
  .pillarGrid { grid-template-columns: repeat(2, 1fr); }
  .pillarCard { min-height: 330px; }
}

@media (max-width: 900px) {
  .heroContent { grid-template-columns: 1fr; }
  .heroProduct { max-width: 740px; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: 49px; }
  .heroProduct { padding: 0 3px 26px; }
  .dashboardShell { border-width: 5px; border-bottom-width: 9px; }
  .heroProduct::before { bottom: 15px; height: 11px; }
  .heroProduct::after { bottom: 18px; }
  .pillarGrid, .serviceLinks { grid-template-columns: 1fr; }
  .pillarCard { min-height: auto; padding: 26px 23px; }
}
