.page-products {
  --phone-w: 290px;
  --phone-h: 600px;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.page-products .breadcrumb {
  margin-bottom: 28px;
}

.page-products .breadcrumb-sep {
  color: var(--neon);
  font-size: 0.7rem;
  padding: 0 6px;
}

.page-products .prod-btn-lg {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.page-products .btn--neon {
  background: linear-gradient(135deg, #39FF14, #1AF719);
  box-shadow: 0 0 24px rgba(26, 247, 25, 0.28);
}

.page-products .btn--ghost {
  border-color: rgba(0, 240, 255, 0.6);
}

.prod-hero {
  position: relative;
  padding: 140px 0 84px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 30%, rgba(0, 240, 255, 0.08), transparent 36%),
    linear-gradient(135deg, #0A0E17 0%, #102A43 100%);
  overflow: hidden;
}

.prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 247, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 247, 25, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}

.prod-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: 58%;
  height: 62%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), transparent);
  clip-path: polygon(20% 0%, 100% 30%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.prod-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.prod-hero__badge {
  margin-bottom: 16px;
}

.prod-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  color: var(--text-bright);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.prod-hero__title-sub {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.12em;
  color: var(--neon);
  text-transform: none;
  margin-top: 10px;
}

.prod-hero__lead {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 28px;
}

.prod-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.download-btn {
  position: relative;
  width: 100%;
}

.download-btn .btn {
  display: flex;
}

.download-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 5;
  padding: 8px 14px;
  background: var(--surface-raised);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
  pointer-events: none;
}

.download-btn:hover .download-tip,
.download-btn:focus-within .download-tip {
  opacity: 1;
  transform: translateY(0);
}

.prod-hero__tip {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-data);
}

.prod-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 20px;
  font-size: 0.85rem;
}

.prod-hero__anchors a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
  padding-bottom: 2px;
}

.prod-hero__anchors a:hover {
  color: var(--text-bright);
  border-color: var(--neon);
}

.prod-hero__anchors span {
  color: var(--text-dim);
}

.prod-hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: var(--phone-w);
  min-height: var(--phone-h);
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(160deg, #1E2735, #0D1420);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(26, 247, 25, 0.1);
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.phone-frame__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #0A0E17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.phone-frame__screen {
  position: relative;
  height: calc(var(--phone-h) - 20px);
  border-radius: 42px;
  overflow: hidden;
  background: #0A0E17;
  display: flex;
  align-items: stretch;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
}

.phone-screen-ui {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.94) 0%, rgba(10, 14, 23, 0.55) 40%, rgba(10, 14, 23, 0.2) 70%, transparent 100%);
}

.phone-ui-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 30px;
}

.phone-ui-clock {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--text-bright);
}

.phone-ui-live {
  margin-left: auto;
  color: var(--neon);
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 1px;
  padding: 3px 8px;
  border: 1px solid rgba(26, 247, 25, 0.5);
  border-radius: 999px;
  background: rgba(26, 247, 25, 0.08);
}

.phone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: rgba(17, 24, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 6px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.phone-tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.phone-tab-bar {
  display: flex;
  width: 100%;
  gap: 4px;
}

.phone-tab-label {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 0.78rem;
  font-family: var(--font-data);
  color: var(--text-dim);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

#ptab-injury:checked ~ .phone-tab-bar .phone-tab-label[for="ptab-injury"],
#ptab-team:checked ~ .phone-tab-bar .phone-tab-label[for="ptab-team"],
#ptab-expert:checked ~ .phone-tab-bar .phone-tab-label[for="ptab-expert"] {
  color: var(--blue);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

.phone-panel {
  display: none;
  width: 100%;
  margin-top: 8px;
  padding: 12px 10px;
  background: rgba(10, 14, 23, 0.72);
  border-radius: 12px;
  border-left: 2px solid var(--neon);
  flex-direction: column;
}

#ptab-injury:checked ~ .phone-panel--injury,
#ptab-team:checked ~ .phone-panel--team,
#ptab-expert:checked ~ .phone-panel--expert {
  display: flex;
  animation: panel-fade 0.35s ease;
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-panel__label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.phone-panel .data-num {
  font-size: 1.6rem;
  line-height: 1;
}

.phone-panel__meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.phone-float-tag {
  position: absolute;
  top: 30px;
  right: -12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 38, 0.9);
  border: 1px solid rgba(26, 247, 25, 0.5);
  color: var(--neon);
  font-family: var(--font-data);
  font-size: 0.78rem;
  box-shadow: 0 0 20px rgba(26, 247, 25, 0.2);
}

.prod-hero__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.platform-card {
  background: rgba(17, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.platform-card__os {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text-bright);
}

.platform-card__min {
  font-family: var(--font-data);
  color: var(--neon);
  font-size: 0.88rem;
  margin: 10px 0 4px;
}

.platform-card__note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}

.prod-hero-deco {
  position: absolute;
  z-index: 0;
  width: 110px;
  height: 110px;
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
  border-radius: 24px;
  max-width: 30vw;
}

.prod-hero-deco--left {
  left: -20px;
  bottom: 40px;
  transform: rotate(-12deg);
}

.prod-hero-deco--right {
  right: -20px;
  top: 18%;
  transform: rotate(8deg);
}

.data-stream {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--blue), transparent);
  background-size: 200% 100%;
  animation: stream-slide 4s linear infinite;
  z-index: 2;
}

@keyframes stream-slide {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.prod-features {
  position: relative;
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-features__layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 32px;
}

.prod-features__visual {
  display: flex;
  flex-direction: column;
}

.prod-sync-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface-raised);
}

.prod-sync-card img {
  width: 100%;
  height: auto;
  display: block;
}

.prod-sync-card figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-family: var(--font-data);
  color: var(--text-dim);
}

.prod-sync-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--neon);
  background: rgba(26, 247, 25, 0.04);
  border-radius: 0 12px 12px 0;
}

.prod-sync-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text);
}

.prod-features__grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(26, 247, 25, 0.5);
  box-shadow: 0 0 24px rgba(26, 247, 25, 0.08);
}

.feature-card .feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--blue);
}

.feature-card:hover .feature-icon {
  animation: feature-bounce 0.4s ease;
}

@keyframes feature-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text-bright);
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.prod-versions {
  position: relative;
  padding: 72px 0;
  background: var(--bg);
}

.prod-versions__layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 32px;
}

.version-timeline {
  position: relative;
  padding-left: 32px;
}

.version-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--neon), var(--blue), var(--magenta));
  opacity: 0.7;
}

.version-item {
  position: relative;
  margin-bottom: 18px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.version-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--neon);
  box-shadow: 0 0 10px rgba(26, 247, 25, 0.6);
}

.version-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-item summary::-webkit-details-marker {
  display: none;
}

.version-code {
  font-family: var(--font-data);
  font-size: 1rem;
  color: var(--blue);
  font-weight: 700;
}

.version-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.version-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-family: var(--font-data);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.version-item[open] .version-arrow {
  transform: rotate(45deg);
  color: var(--neon);
}

.version-detail {
  padding: 0 20px 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.version-detail p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 12px;
}

.version-features {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.version-features li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.prod-versions__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prod-chart-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.prod-chart-card img {
  width: 100%;
  height: auto;
  display: block;
}

.prod-chart-card__caption {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: var(--font-data);
  color: var(--text-dim);
}

.prod-chart-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
  border-left: 2px solid var(--blue);
  padding-left: 12px;
}

.prod-requirements {
  position: relative;
  padding: 72px 0;
  background: var(--surface);
}

.req-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.req-card {
  position: relative;
  background: var(--surface-raised);
  border-radius: 18px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.req-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(26, 247, 25, 0.05);
}

.req-os {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--blue);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.req-os--android {
  background: rgba(26, 247, 25, 0.08);
  color: var(--neon);
  border-color: rgba(26, 247, 25, 0.2);
}

.req-os--net {
  background: rgba(255, 176, 0, 0.08);
  color: var(--amber);
  border-color: rgba(255, 176, 0, 0.2);
}

.req-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin: 16px 0 12px;
  color: var(--text-bright);
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.req-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(26, 247, 25, 0.5);
}

.prod-closing {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
}

.prod-closing__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
  z-index: 0;
}

.prod-closing__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 14, 23, 0.75), rgba(10, 14, 23, 0.92));
  z-index: 1;
}

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

.prod-closing__slogan {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-bright);
  line-height: 1.2;
  margin: 0;
}

.prod-closing__desc {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.prod-closing__badges {
  margin-top: 24px;
}

.prod-trust-badge {
  display: inline-block;
  padding: 6px 14px;
  margin: 6px 6px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-data);
  color: var(--text-dim);
}

.prod-closing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .page-products .prod-btn-lg {
    width: auto;
    min-width: 220px;
  }

  .prod-actions {
    flex-direction: row;
  }

  .prod-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .prod-hero__side {
    grid-template-columns: 1fr 1fr;
  }

  .prod-features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .req-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .prod-hero {
    padding: 120px 0 96px;
  }

  .prod-hero__grid {
    grid-template-columns: 1.1fr 1fr 0.7fr;
    gap: 3rem;
  }

  .prod-hero__side {
    grid-template-columns: 1fr;
  }

  .prod-hero-deco {
    width: 200px;
    height: 200px;
  }

  .prod-hero-deco--left {
    left: -40px;
    bottom: 60px;
  }

  .prod-hero-deco--right {
    right: -40px;
    top: 22%;
  }

  .prod-features__layout {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
  }

  .prod-versions__layout {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }

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

  .prod-closing {
    padding: 120px 0;
  }
}
