.page-products {
  --prod-orange: #FF6B35;
  --prod-gold: #FFD700;
  --prod-green: #0B3D2E;
  --prod-panel: #145A43;
  --prod-dark: #071F16;
  --prod-line: rgba(255, 255, 255, 0.2);
  --prod-line-strong: rgba(255, 255, 255, 0.38);
  --prod-sand: #F2E9D8;
  --prod-gray: #A8A29E;
  --prod-mono: 'JetBrains Mono', 'Roboto Mono', 'SFMono-Regular', monospace;
  --prod-head: 'Barlow Condensed', 'Rajdhani', 'Noto Sans SC', sans-serif;

  background: var(--prod-dark);
  color: var(--prod-sand);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 60px;
}

.prod-breadcrumb-wrap {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 16px 20px 4px;
}

.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--prod-mono);
  color: var(--prod-gray);
}

.page-products .breadcrumb a {
  color: var(--prod-sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-products .breadcrumb a:hover {
  border-bottom-color: var(--prod-orange);
  color: var(--prod-orange);
}

.page-products .breadcrumb .is-current {
  color: var(--prod-orange);
}

.prod-showcase {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

.prod-showcase-copy {
  position: relative;
  z-index: 2;
}

.prod-showcase-title {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 12px 0 16px;
  color: var(--prod-sand);
  text-transform: uppercase;
}

.prod-showcase-title::first-line {
  color: var(--prod-sand);
}

.prod-showcase .lede {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 22px;
  max-width: 28em;
  color: var(--sand);
}

.prod-showcase-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.prod-showcase-note {
  margin-top: 14px;
  font-size: 12px;
  border-left: 2px solid var(--prod-orange);
  padding-left: 10px;
}

.prod-showcase-device {
  position: relative;
  padding: 20px 12px 40px;
}

.prod-device-img {
  display: block;
  width: 72%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--prod-line-strong);
  transform: perspective(900px) rotateY(-10deg) rotateZ(5deg) scale(0.96);
  transform-origin: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.prod-device-glass {
  position: absolute;
  inset: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.22), rgba(255, 255, 255, 0.04) 45%, rgba(255, 107, 53, 0.1));
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.prod-device-serial {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--prod-gray);
  opacity: 0.7;
}

.prod-showcase-device::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(115deg, transparent 70%, rgba(255, 107, 53, 0.16) 70%, rgba(255, 107, 53, 0.16) 72%, transparent 72%);
  pointer-events: none;
}

.prod-version {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.prod-version-frame {
  background: var(--prod-green);
  border: 1px solid var(--prod-line);
  padding: 28px 22px 30px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.prod-version-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--prod-orange), var(--prod-gold), transparent);
  opacity: 0.85;
}

.prod-version-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.prod-version-head h2 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--prod-sand);
  margin: 0;
}

.prod-version-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.prod-version-copy p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 14px;
  color: var(--sand);
}

.prod-version-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--prod-line);
  padding-top: 18px;
}

.prod-version-item {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--prod-orange);
  padding: 14px 12px;
  min-height: 70px;
}

.prod-version-num {
  display: block;
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--prod-gold);
  margin-bottom: 6px;
}

.prod-version-label {
  font-size: 12px;
  color: var(--prod-gray);
  letter-spacing: 0.06em;
}

.prod-matrix {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 20px 64px;
  position: relative;
}

.prod-matrix-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 30px;
}

.prod-matrix-heading {
  position: relative;
}

.prod-matrix-heading h2 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 12px 0 8px;
  color: var(--prod-sand);
}

.prod-matrix-heading p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sand);
  max-width: 36em;
}

.prod-matrix-figure {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  border: 1px solid var(--prod-line);
}

.prod-matrix-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  background-color: var(--prod-green);
}

.prod-tactics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
  padding: 32px 14px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.14), rgba(255, 255, 255, 0.02) 50%, rgba(255, 107, 53, 0.08));
  border-top: 1px solid var(--prod-line);
  border-bottom: 1px solid var(--prod-line);
}

.prod-tactic-card {
  position: relative;
  background: rgba(16, 58, 43, 0.9);
  border: 1px solid var(--prod-line);
  padding: 22px 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 190px;
}

.prod-tactic-1 {
  transform: translateX(0) rotate(-0.5deg);
}
.prod-tactic-2 {
  transform: translateX(8px) rotate(1deg);
}
.prod-tactic-3 {
  transform: translateX(-4px) rotate(-0.3deg);
}
.prod-tactic-4 {
  transform: translateX(12px) rotate(0.8deg);
}

.prod-tactic-card:hover {
  transform: translateY(-4px) rotate(0deg);
  border-color: var(--prod-orange);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.prod-card-index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--prod-orange);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--prod-line);
  padding-bottom: 6px;
}

.prod-card-inner h3 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--prod-sand);
}

.prod-card-desc {
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--sand);
}

.prod-card-steps {
  border-top: 1px dashed var(--prod-line);
  padding-top: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.3s ease, padding-top 0.3s ease;
  padding-left: 0;
  padding-right: 0;
}

.prod-tactic-card:hover .prod-card-steps,
.prod-tactic-card:focus-within .prod-card-steps {
  opacity: 1;
  max-height: 140px;
  padding-top: 10px;
}

.prod-card-steps p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 4px;
}

.prod-card-steps p:first-child {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prod-steps {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 20px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.prod-steps-copy h2 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 12px 0 8px;
  color: var(--prod-sand);
}

.prod-steps-lede {
  font-size: 14px;
  color: var(--sand);
  margin-bottom: 22px;
}

.prod-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.prod-step-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--prod-line);
  position: relative;
}

.prod-step-item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--prod-orange) 0%, var(--prod-line) 80%);
  opacity: 0.45;
}

.prod-step-item:last-child::before {
  display: none;
}

.prod-step-mark {
  font-family: var(--prod-mono);
  font-size: 12px;
  color: var(--prod-orange);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  position: relative;
  z-index: 1;
}

.prod-step-content h3 {
  font-family: var(--prod-head);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--prod-sand);
}

.prod-step-content p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  color: var(--gray);
}

.prod-steps-figure {
  position: relative;
  align-self: start;
  border: 1px solid var(--prod-line);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding-bottom: 8px;
}

.prod-steps-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  background-color: var(--prod-green);
}

.prod-steps-figure-note {
  font-size: 11px;
  text-align: right;
  padding: 10px 12px 0;
  margin: 0;
}

.prod-history {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 20px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.prod-history-figure {
  position: relative;
  border: 1px solid var(--prod-line);
  overflow: hidden;
  background-color: var(--prod-green);
  align-self: start;
}

.prod-history-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

.prod-history-copy h2 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 12px 0 8px;
  color: var(--prod-sand);
}

.prod-history-lede {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  color: var(--sand);
}

.prod-version-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--prod-line);
  margin-bottom: 12px;
}

.prod-version-toggle .tf-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
}

.prod-version-toggle .tf-head:hover {
  background: rgba(255, 107, 53, 0.08);
}

.prod-version-toggle .tf-arrow {
  color: var(--prod-orange);
  font-family: var(--prod-mono);
  font-size: 18px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--prod-line-strong);
  transition: transform 0.2s;
}

.prod-version-toggle .tf-title {
  font-family: var(--prod-mono);
  font-size: 14px;
  color: var(--prod-sand);
  flex: 1;
}

.prod-version-toggle .version-chip {
  background: transparent;
}

.prod-version-toggle .tf-panel {
  padding: 14px 18px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sand);
}

.prod-history-more {
  margin-top: 18px;
  font-size: 12px;
}

.prod-history-more a {
  color: var(--prod-orange);
  text-decoration: none;
  border-bottom: 1px solid var(--prod-orange);
}

.prod-history-more a:hover {
  color: var(--prod-gold);
  border-bottom-color: var(--prod-gold);
}

.prod-entry {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background:
    linear-gradient(115deg, transparent 82%, rgba(255, 107, 53, 0.12) 82%, rgba(255, 107, 53, 0.12) 84%, transparent 84%),
    linear-gradient(65deg, transparent 90%, rgba(255, 215, 0, 0.06) 90%, rgba(255, 215, 0, 0.06) 92%, transparent 92%);
  border-top: 1px solid var(--prod-line);
  padding-top: 48px;
}

.prod-entry-copy h2 {
  font-family: var(--prod-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 12px 0 12px;
  color: var(--prod-sand);
}

.prod-entry-copy > p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--sand);
  margin-bottom: 22px;
}

.prod-entry-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.prod-entry-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--prod-line);
}

.prod-entry-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 107, 53, 0.18);
  border: 1px solid rgba(255, 107, 53, 0.45);
  color: var(--prod-orange);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.prod-entry-list li h3 {
  font-family: var(--prod-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--prod-sand);
}

.prod-entry-list li p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--gray);
}

.prod-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.prod-entry-figure {
  position: relative;
  border: 1px solid var(--prod-line);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 4% 100%);
  background-color: var(--prod-green);
  align-self: start;
}

.prod-entry-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.prod-entry-note {
  font-size: 11px;
  text-align: left;
  padding: 10px 12px;
  margin: 0;
}

.page-products .entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--prod-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prod-orange);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-products .section-frame {
  position: relative;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--prod-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border: 1px solid var(--prod-line-strong);
  text-decoration: none;
  color: var(--prod-sand);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-products .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--prod-orange);
  color: var(--prod-orange);
}

.page-products .btn-primary {
  background: var(--prod-orange);
  border-color: var(--prod-orange);
  color: #071F16;
}

.page-products .btn-primary:hover {
  background: var(--prod-gold);
  border-color: var(--prod-gold);
  color: #071F16;
}

.page-products .version-chip {
  display: inline-block;
  font-family: var(--prod-mono);
  font-size: 13px;
  color: var(--prod-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 7px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  background: rgba(255, 215, 0, 0.06);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .prod-version-body {
    grid-template-columns: 3fr 2fr;
    gap: 30px;
  }

  .prod-version-data {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .prod-tactics {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 38px 26px;
  }

  .prod-tactic-2 {
    transform: translateY(18px) rotate(1deg);
  }

  .prod-tactic-4 {
    transform: translateY(18px) rotate(0.8deg);
  }

  .prod-tactic-card:hover {
    transform: translateY(-2px) rotate(0deg);
  }

  .prod-steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .prod-steps-figure {
    margin-top: 14px;
  }
}

@media (min-width: 960px) {
  .prod-breadcrumb-wrap {
    padding-top: 24px;
  }

  .prod-showcase {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    padding: 20px 24px 72px;
    min-height: 520px;
    align-items: center;
  }

  .prod-showcase-device {
    padding: 30px 20px 50px;
  }

  .prod-device-img {
    width: 76%;
    max-width: 420px;
    transform: perspective(1000px) rotateY(-16deg) rotateZ(8deg) scale(0.95);
  }

  .prod-showcase-device::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -20px;
    bottom: -30px;
    left: -20px;
    background:
      linear-gradient(120deg, transparent 78%, rgba(255, 107, 53, 0.18) 78%, rgba(255, 107, 53, 0.18) 80%, transparent 80%),
      radial-gradient(ellipse at 70% 20%, rgba(255, 215, 0, 0.12), transparent 50%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    pointer-events: none;
    z-index: 0;
  }

  .prod-version {
    padding-bottom: 80px;
  }

  .prod-version-frame {
    padding: 36px 40px 38px;
  }

  .prod-version-num {
    font-size: 40px;
  }

  .prod-matrix-head {
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 36px;
  }

  .prod-matrix-heading h2 {
    font-size: 38px;
  }

  .prod-matrix-figure img {
    min-height: 260px;
  }

  .prod-tactics {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 44px 30px;
  }

  .prod-tactic-2 {
    transform: translateY(24px) rotate(1deg);
  }

  .prod-tactic-4 {
    transform: translateY(24px) rotate(0.8deg);
  }

  .prod-tactic-card {
    min-height: 210px;
    padding: 26px 20px;
  }

  .prod-tactic-card:hover {
    transform: translateY(-4px) rotate(0deg);
  }

  .prod-steps {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }

  .prod-steps-copy h2,
  .prod-history-copy h2,
  .prod-entry-copy h2 {
    font-size: 38px;
  }

  .prod-history {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
  }

  .prod-history-figure {
    position: sticky;
    top: 100px;
  }

  .prod-entry {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 64px;
  }

  .prod-entry-figure {
    margin-top: 8px;
  }
}

@media (min-width: 1200px) {
  .prod-showcase,
  .prod-version,
  .prod-matrix,
  .prod-steps,
  .prod-history,
  .prod-entry,
  .prod-breadcrumb-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  .prod-showcase-title {
    font-size: 60px;
  }

  .prod-showcase-copy .lede {
    font-size: 16px;
  }
}
