.page-products {
  --p-gold: #f5c518;
  --p-neon: #39ff14;
  --p-deep: #0a0e27;
  --p-card: #151b3a;
  --p-text: #e8e9f0;
  --p-muted: #a0a4b8;
  --p-line: rgba(232, 233, 240, 0.12);
  --p-radius: 12px;
  background: var(--p-deep);
  color: var(--p-text);
  overflow-x: hidden;
}

.page-products .products-breadcrumb-wrap {
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 8px;
}

.page-products .products-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(26, 35, 126, 0.55), transparent 70%),
    linear-gradient(135deg, #0a0e27 0%, #0d1230 55%, #101534 100%);
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 64px;
}

.page-products .products-hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.page-products .products-hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

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

.page-products .products-hero-copy .eyebrow {
  margin-top: 12px;
}

.page-products .products-hero-copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--p-text);
}

.page-products .products-hero-lead {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--p-gold);
}

.page-products .products-hero-desc {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--p-muted);
  line-height: 1.8;
}

.page-products .products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-products .products-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  max-width: 480px;
}

.page-products .products-metric-item {
  margin: 0;
  padding: 14px 12px;
  background: rgba(16, 21, 52, 0.7);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  border-top: 2px solid var(--p-gold);
  text-align: center;
}

.page-products .products-metric-value {
  margin: 0;
  font-family: var(--font-data);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: var(--p-text);
}

.page-products .products-metric-value::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto 0;
  background: var(--p-neon);
}

.page-products .products-metric-label {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--p-muted);
}

.page-products .products-hero-device {
  position: relative;
  justify-self: center;
  max-width: 300px;
  width: 100%;
}

.page-products .products-device-shell {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(245, 197, 24, 0.35), rgba(16, 21, 52, 0.9) 40%, rgba(16, 21, 52, 0.9) 70%, rgba(245, 197, 24, 0.25));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-products .products-device-shell::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 26px;
  background: #0a0e27;
  z-index: 1;
}

.page-products .products-device-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #0a0e27;
  border-radius: 12px;
  z-index: 3;
}

.page-products .products-device-screen {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  z-index: 2;
  object-fit: cover;
  aspect-ratio: 375 / 812;
}

.page-products .products-device-shell-small {
  max-width: 260px;
  transform: rotate(1.5deg);
}

.page-products .products-hero-float {
  position: absolute;
  z-index: 4;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(16, 21, 52, 0.92);
  border: 1px solid var(--p-line);
  font-size: 0.78rem;
  color: var(--p-text);
  box-shadow: var(--shadow);
}

.page-products .products-hero-float-a {
  top: 8%;
  left: -12px;
  border-left: 2px solid var(--p-neon);
}

.page-products .products-hero-float-b {
  bottom: 6%;
  right: -12px;
  border-left: 2px solid var(--p-gold);
}

.page-products .products-section-head {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 3px solid var(--p-gold);
}

.page-products .products-section-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--p-text);
}

.page-products .products-section-desc {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.7;
  max-width: 640px;
}

.page-products .products-matrix {
  background:
    linear-gradient(rgba(10, 14, 39, 0.9), rgba(10, 14, 39, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(245, 197, 24, 0.04) 60px 61px);
}

.page-products .products-matrix-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .products-matrix-list {
  display: grid;
  gap: 20px;
}

.page-products .products-matrix-item {
  padding: 24px;
}

.page-products .products-matrix-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.page-products .products-matrix-version {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border: 1px solid var(--p-gold);
  border-radius: 4px;
  color: var(--p-gold);
}

.page-products .products-matrix-item h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--p-text);
}

.page-products .products-matrix-item > p {
  color: var(--p-muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-products .products-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .products-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--p-text);
  line-height: 1.6;
  font-size: 0.92rem;
}

.page-products .products-check-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--p-neon);
  font-size: 0.8rem;
}

.page-products .products-ui-window {
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--p-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-products .products-ui-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(10, 14, 39, 0.6);
  border-bottom: 1px solid var(--p-line);
}

.page-products .products-ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.4);
}

.page-products .products-ui-dot:first-child {
  background: rgba(57, 255, 20, 0.7);
}

.page-products .products-ui-address {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--p-muted);
  font-family: var(--font-data);
}

.page-products .products-ui-navbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 12px 16px;
  background: rgba(21, 27, 58, 0.9);
}

.page-products .products-ui-nav {
  text-align: center;
  padding: 6px 4px;
  font-size: 0.78rem;
  color: var(--p-muted);
  border-radius: 6px;
}

.page-products .products-ui-nav.is-active {
  background: rgba(245, 197, 24, 0.14);
  color: var(--p-gold);
}

.page-products .products-ui-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.page-products .products-ui-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--p-line);
  border-radius: 10px;
  background: rgba(10, 14, 39, 0.4);
}

.page-products .products-ui-tag {
  font-size: 0.82rem;
  color: var(--p-text);
}

.page-products .products-ui-score {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--p-gold);
}

.page-products .products-ui-highlight {
  border-color: rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.06);
}

.page-products .products-login {
  position: relative;
}

.page-products .products-diag-band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(44vw, 420px);
  background: linear-gradient(160deg, rgba(26, 35, 126, 0.35), transparent 75%);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  pointer-events: none;
}

.page-products .products-login .content-container {
  position: relative;
  z-index: 1;
}

.page-products .products-login-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-products .products-login-steps {
  min-width: 0;
}

.page-products .products-step-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .products-step-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
}

.page-products .products-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 4px;
  left: 19px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(245, 197, 24, 0.5), rgba(57, 255, 20, 0.2));
}

.page-products .products-step-item:last-child {
  padding-bottom: 0;
}

.page-products .products-step-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--p-gold);
  background: rgba(21, 27, 58, 0.9);
  border: 1px solid var(--p-gold);
  z-index: 1;
}

.page-products .products-step-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--p-text);
}

.page-products .products-step-copy p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.page-products .products-login-note {
  padding: 14px 16px;
  background: rgba(21, 27, 58, 0.6);
  border-radius: 10px;
  color: var(--p-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-products .products-login-note a {
  color: var(--p-neon);
  text-decoration: none;
}

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

.page-products .products-login-visual {
  display: flex;
  justify-content: center;
}

.page-products .products-features {
  background: linear-gradient(180deg, #0a0e27, #0d1230);
}

.page-products .products-features-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-products .products-feature-card {
  padding: 22px;
  border-top: 2px solid var(--p-gold);
}

.page-products .products-feature-card .ticket-tag {
  color: var(--p-neon);
  font-size: 0.72rem;
}

.page-products .products-feature-card h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p-text);
}

.page-products .products-feature-card p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.page-products .products-features-showcase {
  display: grid;
  gap: 16px;
}

.page-products .products-features-showcase img {
  width: 100%;
  height: auto;
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
}

.page-products .products-showcase-caption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(21, 27, 58, 0.7);
  border-radius: 10px;
}

.page-products .products-showcase-caption p {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-products .products-showcase-caption .ticket-tag {
  margin-top: 2px;
  color: var(--p-neon);
}

.page-products .products-history-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .products-history-copy > p {
  color: var(--p-muted);
  line-height: 1.8;
  margin: 0 0 20px;
}

.page-products .products-history-copy .products-check-list {
  margin-bottom: 24px;
}

.page-products .products-history-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
  box-shadow: var(--shadow);
}

.page-products .products-version {
  position: relative;
  background:
    radial-gradient(ellipse 70% 40% at 80% 10%, rgba(26, 35, 126, 0.5), transparent),
    var(--p-deep);
  overflow: hidden;
}

.page-products .products-version-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 197, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 24, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

.page-products .products-version-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .products-version-timeline {
  display: grid;
  gap: 0;
}

.page-products .products-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding-bottom: 24px;
}

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

.page-products .products-timeline-item::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 33px;
  bottom: 4px;
  width: 1px;
  background: var(--p-line);
}

.page-products .products-timeline-item:last-child::after {
  display: none;
}

.page-products .products-timeline-year {
  font-family: var(--font-data);
  font-size: 0.9rem;
  color: var(--p-gold);
  position: relative;
  z-index: 1;
  align-self: start;
  padding-top: 4px;
}

.page-products .products-timeline-year::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--p-gold);
  margin: 0 auto 8px;
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.16);
}

.page-products .products-timeline-body {
  padding-bottom: 8px;
}

.page-products .products-timeline-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--p-text);
}

.page-products .products-timeline-body p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.page-products .products-timeline-item.products-timeline-current .products-timeline-year {
  color: var(--p-neon);
}

.page-products .products-timeline-item.products-timeline-current .products-timeline-year::before {
  background: var(--p-neon);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.14);
}

.page-products .products-version-panel {
  display: grid;
  gap: 16px;
}

.page-products .products-version-panel img {
  width: 100%;
  height: auto;
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
}

@media (max-width: 767px) {
  .page-products .products-hero-float {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .page-products .products-hero-float-a {
    top: 8%;
    left: -8px;
  }

  .page-products .products-hero-float-b {
    bottom: 6%;
    right: -8px;
  }
}

@media (min-width: 768px) {
  .page-products .products-breadcrumb-wrap {
    padding-top: calc(var(--header-height) + 32px);
  }

  .page-products .products-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

  .page-products .products-hero-float-a {
    left: -64px;
  }

  .page-products .products-hero-float-b {
    right: -56px;
  }

  .page-products .products-matrix-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-products .products-login-layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 48px;
  }

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

  .page-products .products-features-showcase {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-products .products-history-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .page-products .products-version-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 1024px) {
  .page-products .products-hero {
    padding-top: 64px;
    padding-bottom: 96px;
  }
}
