.page-products {
  --products-tilt: -1.6deg;
  --products-glow-line: linear-gradient(135deg, rgba(255, 45, 120, 0.28), rgba(155, 48, 255, 0.18), rgba(0, 229, 255, 0.12));
}

.page-products .page-hero__title {
  text-shadow: 0 0 20px rgba(255, 45, 120, 0.25), 0 0 60px rgba(155, 48, 255, 0.15);
}

.page-products .products-hero {
  position: relative;
  overflow: hidden;
}

.page-products .products-hero::before {
  content: '';
  position: absolute;
  right: -24%;
  top: -18%;
  width: 65%;
  height: 150%;
  background: linear-gradient(135deg, transparent 47%, rgba(155, 48, 255, 0.10) 49%, rgba(155, 48, 255, 0.10) 51%, transparent 53%);
  transform: rotate(14deg);
  pointer-events: none;
}

.page-products .products-hero__grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-products .products-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.page-products .products-hero__meta {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  position: relative;
  padding-left: 18px;
}

.page-products .products-hero__meta::before {
  content: '▲';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--neon-green);
  font-size: 9px;
}

.page-products .products-hero__device {
  position: relative;
  max-width: 240px;
  margin: 0 auto;
}

.page-products .products-hero__device::before {
  content: '';
  position: absolute;
  inset: -10px;
  background:
    linear-gradient(135deg, rgba(255, 45, 120, 0.22), transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(155, 48, 255, 0.18));
  clip-path: polygon(8% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 8%);
  z-index: 0;
}

.page-products .products-hero__device::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 28px;
  width: 70px;
  height: 70px;
  border-right: 1px solid rgba(0, 229, 255, 0.4);
  border-top: 1px solid rgba(0, 229, 255, 0.4);
  z-index: 2;
}

.page-products .products-hero__device-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
}

.page-products .products-feature-filter {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 24px;
}

.page-products .products-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .products-feature-card {
  position: relative;
}

.page-products .products-terminal {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.page-products .products-feature-card--tilt-left .products-terminal {
  transform: rotate(var(--products-tilt));
}

.page-products .products-feature-card--tilt-right .products-terminal {
  transform: rotate(calc(var(--products-tilt) * -1));
}

.page-products .products-feature-card--tilt-left .products-terminal:hover {
  box-shadow: var(--glow-pink), var(--glow-purple);
}

.page-products .products-feature-card--tilt-right .products-terminal:hover {
  box-shadow: var(--glow-purple), var(--glow-cyan);
}

.page-products .products-terminal__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--line);
}

.page-products .products-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
}

.page-products .products-terminal__dot--pink { background: var(--neon-pink); }
.page-products .products-terminal__dot--purple { background: var(--neon-purple); }
.page-products .products-terminal__dot--cyan { background: var(--neon-cyan); }

.page-products .products-terminal__title {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-dim);
}

.page-products .products-terminal__content {
  padding: 18px;
}

.page-products .products-feature-card__media {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel-2);
}

.page-products .products-feature-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-products .products-feature-card__code {
  color: var(--neon-cyan);
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.page-products .products-feature-card__info h3 {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-shadow: 0 0 18px rgba(255, 45, 120, 0.18);
}

.page-products .products-feature-card__info > p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 14px;
}

.page-products .products-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-products .products-ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.8;
}

.page-products .products-ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--neon-pink);
  font-family: var(--font-mono);
}

.page-products .products-download__grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-products .products-download__panel {
  border-radius: 0;
  background: linear-gradient(135deg, rgba(26, 26, 36, 0.92), rgba(20, 20, 28, 0.94));
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-products .products-download__panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--neon-pink);
  border-left: 2px solid var(--neon-pink);
  opacity: 0.7;
}

.page-products .products-download__panel:hover {
  border-color: var(--neon-purple);
  transform: rotate(-0.4deg);
}

.page-products .products-download__panel h3 {
  font-family: var(--font-head);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.page-products .products-download__panel p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.page-products .products-download__note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-panel-2);
  border-left: 2px solid var(--neon-cyan);
}

.page-products .products-download__note p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

.page-products .products-download__note a {
  color: var(--neon-pink);
  text-decoration: none;
}

.page-products .products-download__note a:hover {
  text-decoration: underline;
}

.page-products .products-download__btn {
  margin-top: 14px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-products .products-download__btn:hover {
  box-shadow: var(--glow-pink), var(--glow-purple);
  transform: translateY(-2px);
}

.page-products .products-version-filter {
  margin-top: 24px;
}

.page-products .products-timeline {
  margin-top: 22px;
  position: relative;
  padding-left: 26px;
}

.page-products .products-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--neon-pink), var(--neon-purple) 60%, var(--neon-cyan));
  opacity: 0.45;
}

.page-products .products-timeline .timeline__item {
  position: relative;
  padding-bottom: 26px;
}

.page-products .products-timeline .timeline__item:last-child {
  padding-bottom: 0;
}

.page-products .products-timeline .timeline__item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
  transform: rotate(45deg);
}

.page-products .products-timeline .timeline__item.is-live::before {
  background: var(--neon-green);
  box-shadow: var(--glow-cyan);
}

.page-products .products-timeline .timeline__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-pink);
  margin-bottom: 4px;
}

.page-products .products-timeline .timeline__title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.page-products .products-timeline .timeline__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.page-products .products-security__grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-products .products-security__col {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
}

.page-products .products-security__col::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
  opacity: 0.8;
}

.page-products .products-security__col h3 {
  font-family: var(--font-head);
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.page-products .products-perm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-products .products-perm-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.page-products .products-perm-list li:last-child {
  border-bottom: none;
}

.page-products .products-perm__name {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-products .products-perm__desc {
  color: var(--text-dim);
  font-size: 13px;
  text-align: right;
  line-height: 1.5;
}

.page-products .products-security__note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

.page-products .products-security__note a {
  color: var(--neon-pink);
  text-decoration: none;
}

.page-products .products-security__note a:hover {
  text-decoration: underline;
}

.page-products .is-filtered {
  display: none;
}

@media (min-width: 768px) {
  .page-products .products-hero__grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 40px;
  }

  .page-products .products-hero__device {
    max-width: 320px;
    margin-right: 0;
  }

  .page-products .products-download__grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .page-products .products-terminal__content--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .page-products .products-feature-card--tilt-right .products-feature-card__media {
    order: 2;
  }

  .page-products .products-feature-card__media {
    margin-bottom: 0;
  }
}
