.product {
  padding: var(--section-py) 0;
  background: var(--black);
  color: var(--white);
}

.product__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
  gap: 20px;
}

.product__header-left h2 {
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-top: 12px;
}

.product__header-left .label {
  color: #555;
}

.product__header-right {
  max-width: 480px;
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

.product__hero-img {
  margin-bottom: 64px;
  border-radius: 12px;
  overflow: hidden;
}

.product__hero-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Live display ── */
.live-display {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 0 64px;
  perspective: 1400px;
}

.live-display__frame {
  width: 100%;
  max-width: 760px;
  position: relative;
  transform: rotateX(8deg) rotateY(-4deg);
  transform-style: preserve-3d;
  border-radius: 10px;
  box-shadow:
    0 0 0 10px #1a1a1a,
    0 0 0 12px #0a0a0a,
    0 40px 80px rgba(0,0,0,0.6),
    0 8px 20px rgba(0,0,0,0.4);
}

.live-display__screen {
  position: relative;
  aspect-ratio: 6 / 1;
  border-radius: 4px;
  overflow: hidden;
}

.live-display__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #ff8fab, #e879f9, #a78bfa, #60a5fa);
  background-size: 300% 300%;
  animation: screen-gradient 4s ease infinite;
}

@keyframes screen-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.live-display__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.live-display__text {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(14px, 2.2vw, 28px);
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.live-display__cursor {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(14px, 2.2vw, 28px);
  color: rgba(255,255,255,0.8);
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.live-display__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 3;
}

.live-display__edge {
  position: absolute;
  bottom: -8px;
  left: 4%;
  right: 4%;
  height: 8px;
  background: #111;
  border-radius: 0 0 6px 6px;
  transform: translateZ(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* ── Features grid ── */
.product__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #D8D8D8;
  border-left: 1px solid #D8D8D8;
  margin-bottom: 64px;
}

.product__feature {
  padding: 40px 36px;
  border-right: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
  background: #fff;
}

.product__feature-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #0A0A0A;
  margin-bottom: 14px;
}

.product__feature-text {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ── Model grid ── */
.product__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

.model-card {
  background: var(--black);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.model-card:hover {
  background: #111;
}

.model-card:hover::before {
  opacity: 1;
}

.model-card__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #555;
}

.model-card__size {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
  transition: letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.model-card:hover .model-card__size {
  letter-spacing: -0.5px;
}

.model-card__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.model-card__spec {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.model-card__spec-label {
  color: #555;
}

.model-card__spec-value {
  font-weight: 600;
  color: #ccc;
}

.model-card__best-for {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.model-card .btn-ghost {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  padding: 10px 20px;
  border-color: #333;
  color: #aaa;
}

.model-card .btn-ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Common specs ── */
.product__common {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.product__common-item {
  background: var(--black);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.product__common-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.product__common-title {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
}

@media (max-width: 1024px) {
  .product__header {
    flex-direction: column;
    align-items: center;
  }

  .product__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product {
    padding: var(--section-py-mobile) 0;
  }

  .product__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product__common {
    grid-template-columns: repeat(3, 1fr);
  }

  .product__common-item {
    padding: 24px 12px;
  }

  .product__common-title {
    font-size: 12px;
  }
}
