.page-products {
  --hero-glow: rgba(56, 255, 154, 0.12);
  --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products h1,
.page-products h2,
.page-products h3,
.page-products h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-products .lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-products .section-head {
  max-width: 680px;
}

.page-products .section-title {
  margin: 12px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-products .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 255, 154, 0.12);
  color: var(--accent);
  border: 1px solid rgba(56, 255, 154, 0.3);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-products .stat-card {
  background: rgba(14, 42, 71, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.page-products .stat-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.page-products .stat-value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-data);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.page-products .products-path {
  padding-top: 28px;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.page-products .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--accent);
}

.page-products .breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

.page-products .products-hero {
  position: relative;
  padding: 32px 0 56px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--hero-glow), transparent 65%),
    linear-gradient(180deg, rgba(14, 42, 71, 0.55) 0%, var(--bg-deep) 100%);
}

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

.page-products .hero-label {
  margin-bottom: 16px;
}

.page-products .hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.page-products .hero-accent {
  color: var(--accent);
}

.page-products .hero-lead {
  max-width: 540px;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.page-products .hero-actions .btn {
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 520px;
  margin: 0;
}

.page-products .hero-stats .stat-card {
  margin: 0;
}

.page-products .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-products .hero-dash {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, var(--bg-panel), #0C1B31);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.page-products .dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.page-products .dash-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.page-products .dash-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--alert);
  animation: sanity-pulse 2s infinite;
}

@keyframes sanity-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 51, 85, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 51, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 85, 0);
  }
}

.page-products .dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-products .dash-item {
  background: var(--bg-neutral);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px;
}

.page-products .dash-item strong {
  display: block;
  font-family: var(--font-data);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1.1;
  margin-top: 6px;
}

.page-products .dash-item small {
  font-size: 0.82rem;
}

.page-products .dash-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.page-products .dash-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(56, 255, 154, 0.08);
  border: 1px dashed rgba(56, 255, 154, 0.35);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.page-products .dash-bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alert);
}

.page-products .hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(56, 255, 154, 0.12), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.page-products .hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-top: 48px;
  text-transform: uppercase;
}

.page-products .scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.page-products .products-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.page-products .ticker-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
  font-family: var(--font-data);
  color: var(--text);
}

.page-products .ticker-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.page-products .ticker-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(56, 255, 154, 0.8);
}

.page-products .products-highlights {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(14, 42, 71, 0.45) 100%);
}

.page-products .products-highlights::before {
  content: "01";
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(168, 183, 199, 0.07);
  pointer-events: none;
}

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

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

.page-products .phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-products .phone-frame {
  width: min(280px, 80vw);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, var(--bg-panel), #0A111F);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.page-products .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: var(--bg-panel);
}

.page-products .highlights-stack {
  display: grid;
  gap: 16px;
}

.page-products .highlight-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-products .highlight-card:hover {
  border-color: rgba(56, 255, 154, 0.5);
  transform: translateX(6px);
}

.page-products .highlight-index {
  font-family: var(--font-data);
  color: var(--accent);
  font-weight: 700;
  line-height: 1.4;
}

.page-products .highlight-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

.page-products .products-features {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 42, 71, 0.45) 0%, var(--bg-neutral) 100%);
}

.page-products .products-features::before {
  content: "02";
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(168, 183, 199, 0.07);
  pointer-events: none;
}

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

.page-products .feature-tabs {
  margin-top: 32px;
}

.page-products .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-products .tab-button {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.page-products .tab-button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #06231A;
}

.page-products .tab-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.page-products .tab-panel[hidden] {
  display: none;
}

.page-products .feature-panel-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-products .feature-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

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

.page-products .feature-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.page-products .feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .feature-image img,
.page-products .version-visual img,
.page-products .guide-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.page-products .feature-metric,
.page-products .feature-league-stats {
  display: grid;
  gap: 12px;
}

.page-products .feature-metric .stat-card,
.page-products .feature-league-stats .stat-card {
  background: var(--bg-neutral);
  text-align: center;
  margin: 0;
}

.page-products .feature-metric .stat-value,
.page-products .feature-league-stats .stat-value {
  font-size: 2.2rem;
}

.page-products .feature-injury-card {
  border: 1px dashed var(--alert);
  background: rgba(255, 51, 85, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.page-products .feature-injury-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.page-products .injury-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--alert);
  margin: 0 auto 14px;
  box-shadow: 0 0 0 6px rgba(255, 51, 85, 0.15);
}

.page-products .products-download {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-neutral) 0%, var(--bg-panel) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-products .products-download::before {
  content: "03";
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(168, 183, 199, 0.07);
  pointer-events: none;
}

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

.page-products .download-layout {
  display: grid;
  gap: 32px;
}

.page-products .download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.page-products .download-qr img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
}

.page-products .download-qr-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-products .download-steps h3 {
  font-size: 1.4rem;
  margin: 0 0 18px;
}

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

.page-products .download-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.page-products .download-step-num {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #06231A;
  font-family: var(--font-data);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-products .download-list h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

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

.page-products .download-notes {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(14, 42, 71, 0.6);
}

.page-products .download-notes summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-products .download-notes summary::-webkit-details-marker {
  display: none;
}

.page-products .download-notes summary::after {
  content: "+";
  font-family: var(--font-data);
  font-size: 1.2rem;
  color: var(--accent);
}

.page-products .download-notes[open] summary::after {
  content: "–";
}

.page-products .download-notes p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.page-products .download-notes a {
  color: var(--accent);
}

.page-products .download-ecosystem-note {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.page-products .products-version {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.page-products .products-version::before {
  content: "04";
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(168, 183, 199, 0.07);
  pointer-events: none;
}

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

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

.page-products .version-list {
  display: grid;
  gap: 12px;
}

.page-products .version-item {
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  transition: border-color 0.25s ease;
}

.page-products .version-item[open] {
  border-color: rgba(56, 255, 154, 0.4);
}

.page-products .version-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

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

.page-products .version-name {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.page-products .version-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.page-products .products-guide {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #101A2A 100%);
}

.page-products .products-guide::before {
  content: "05";
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(168, 183, 199, 0.07);
  pointer-events: none;
}

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

.page-products .guide-layout {
  display: grid;
  gap: 32px;
}

.page-products .guide-steps h3 {
  font-size: 1.4rem;
  margin: 0 0 18px;
}

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

.page-products .guide-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.page-products .guide-list li > span {
  font-family: var(--font-data);
  color: var(--accent);
  font-weight: 700;
  line-height: 1.6;
}

.page-products .guide-step-body {
  flex: 1;
}

.page-products .guide-step-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

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

.page-products .guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .guide-actions .btn {
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 720px) {
  .page-products .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .page-products .guide-list li {
    align-items: baseline;
  }
}

@media (min-width: 960px) {
  .page-products .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-products .highlights-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .page-products .feature-panel-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-products .version-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .page-products .guide-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}
