.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero-copy h1 em {
  color: transparent;
  font-style: normal;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
}

.home-hero-visual {
  position: relative;
  isolation: isolate;
}

.home-hero-visual::before {
  position: absolute;
  inset: 7% 2%;
  z-index: -1;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(51, 150, 255, 0.13), transparent 68%);
  content: "";
  filter: blur(20px);
}

.product-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(105, 174, 255, 0.4);
  border-radius: 23px;
  background: rgba(2, 8, 17, 0.92);
  box-shadow: var(--shadow-large), 0 0 70px rgba(31, 155, 255, 0.09);
  transform: none;
}

.product-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0 45%, rgba(57, 216, 255, 0.06) 48%, rgba(57, 216, 255, 0.22) 49.5%, rgba(202, 249, 255, 0.78) 50%, rgba(113, 148, 255, 0.2) 50.6%, rgba(57, 216, 255, 0.07) 54%, transparent 59%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -70%, 0);
  animation: product-frame-scan 8s ease-in-out infinite;
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-line);
  background: #091322;
  color: var(--color-text-soft);
  font-size: 0.74rem;
  font-weight: 750;
}

.frame-brand,
.frame-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.frame-brand img {
  width: 29px;
  height: 29px;
}

.frame-status {
  color: #a8f2da;
}

.frame-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}

.product-frame > img {
  width: 100%;
  height: auto;
  opacity: 0.94;
}

@keyframes product-frame-scan {
  0%,
  34% {
    opacity: 0;
    transform: translate3d(0, -76%, 0);
  }

  44%,
  67% {
    opacity: 0.9;
  }

  78%,
  100% {
    opacity: 0;
    transform: translate3d(0, 76%, 0);
  }
}

.floating-note {
  position: absolute;
  right: 7%;
  bottom: -28px;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(105, 174, 255, 0.34);
  border-radius: 15px;
  background: rgba(7, 17, 31, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.floating-note span {
  color: var(--color-text-muted);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.floating-note strong {
  font-size: 0.82rem;
}

.product-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(17, 35, 61, 0.88), rgba(6, 15, 28, 0.92));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.product-card.primary-product {
  border-color: rgba(56, 213, 255, 0.3);
}

.product-card::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 200, 255, 0.14), transparent 66%);
  content: "";
  pointer-events: none;
}

.product-card.future-product::after {
  background: radial-gradient(circle, rgba(111, 143, 255, 0.18), transparent 66%);
}

.product-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 50px;
}

.product-card-icon {
  display: grid;
  width: 68px;
  height: 68px;
  padding: 9px;
  place-items: center;
  border: 1px solid rgba(94, 210, 255, 0.29);
  border-radius: 19px;
  background: rgba(4, 14, 27, 0.72);
  color: var(--color-blue);
  object-fit: contain;
}

.product-card-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.product-card-body {
  position: relative;
  z-index: 1;
}

.product-card h2,
.product-card h3 {
  margin-bottom: 17px;
  font-size: clamp(2.45rem, 4vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.product-card p {
  max-width: 560px;
  color: var(--color-text-soft);
}

.product-card .feature-list {
  margin: 26px 0 34px;
}

.service-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(430px, 1.15fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: center;
}

.service-panel {
  overflow: hidden;
  border: 1px solid rgba(113, 148, 255, 0.28);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 100% 0%, rgba(113, 148, 255, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(16, 33, 59, 0.88), rgba(6, 15, 28, 0.92));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.service-panel header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--color-line);
}

.service-panel dl {
  margin: 0;
}

.service-panel dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 24px;
  padding: 21px 28px;
  border-bottom: 1px solid var(--color-line);
}

.service-panel dt {
  color: var(--color-text-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-panel dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .product-frame {
    transform: none;
  }

  .product-directory,
  .service-preview {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .floating-note {
    display: none;
  }

  .product-card {
    padding: 25px;
  }

  .product-card-head {
    align-items: center;
    margin-bottom: 40px;
  }

  .product-card-icon {
    width: 58px;
    height: 58px;
  }

  .service-panel header {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-panel dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-frame::after {
    display: none;
    animation: none;
  }
}

@media (forced-colors: active) {
  .product-frame::after {
    display: none;
  }
}
