﻿/* layout.css — layout, hero, grids (header moved to header.css) */
.hero-banner {
  width: 100%;
  position: relative;
  isolation: isolate;
  padding: 72px 0 88px;
  background: transparent;
  box-shadow: 0 42px 70px -58px rgba(0, 0, 0, 0.95);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(980px 520px at 50% 12%, rgba(33, 183, 219, 0.055), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 56%);
  pointer-events: none;
}

.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 72px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent);
  pointer-events: none;
}

.hero-banner h1 {
  width: 100%;
  max-width: none;

  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;

  text-align: center;
}

.hero-points {
  margin-top: 18px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;

  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-points span {
  color: rgba(255,255,255,.75);
}

.hero-points strong {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
}

.hero-banner.is-visible .hero-points strong {
  animation: bezBounce .8s ease-out;
  animation-fill-mode: both;
}

.hero-banner.is-visible .hero-points span:nth-child(1) strong {
  animation-delay: .2s;
}

.hero-banner.is-visible .hero-points span:nth-child(2) strong {
  animation-delay: .45s;
}

.hero-banner.is-visible .hero-points span:nth-child(3) strong {
  animation-delay: .7s;
}

@keyframes bezBounce {
  0% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(-8px) scale(1.12);
  }

  60% {
    transform: translateY(2px) scale(.98);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  max-width: 860px;
  margin: 14px auto 18px;
  font-size: 58px;
  line-height: 1.06;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.hero-banner .sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.value-section {
  padding-top: 86px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
  justify-items: center;
}

.value-block {
  position: relative;
  width: min(100%, 520px);
  min-height: 100%;
  padding: 30px 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 21, 46, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.value-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.9;
  filter: blur(0.2px);
}

.value-block:first-child::before {
  background: linear-gradient(90deg, rgba(255, 119, 119, 0), rgba(255, 119, 119, 0.95), rgba(255, 119, 119, 0));
}

.value-block:last-child::before {
  background: linear-gradient(90deg, rgba(85, 242, 173, 0), rgba(85, 242, 173, 0.95), rgba(85, 242, 173, 0));
}

.value-block h2 {
  min-height: 78px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.15;
  text-align: center;
}

.signal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: fit-content;
  max-width: 100%;
}

.signal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #f5f8fd;
  font-size: 18px;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.signal-list li:hover {
  color: #fff;
  transform: translateX(3px);
}

.signal-list li::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin-top: 1px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 16px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signal-list li:hover::before {
  transform: scale(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.problem-list li::before {
  content: "−";
  color: #ffc2c2;
  background: linear-gradient(145deg, rgba(255, 119, 119, 0.28), rgba(255, 80, 80, 0.1));
  border: 1px solid rgba(255, 119, 119, 0.38);
}

.benefit-list li::before {
  content: "+";
  color: #c5ffe3;
  background: linear-gradient(145deg, rgba(85, 242, 173, 0.28), rgba(35, 208, 165, 0.1));
  border: 1px solid rgba(85, 242, 173, 0.38);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.panel h3 {
  margin-top: 0;
  font-size: 24px;
}
