.page-products {
  --glow-neutron: rgba(0, 255, 163, 0.14);
  --glow-pulse: rgba(0, 200, 255, 0.12);
  --card-stack: linear-gradient(155deg, rgba(20, 29, 51, 0.92), rgba(11, 15, 26, 0.78));
  background: var(--ink);
  color: var(--paper);
}

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

.page-products .products-hero {
  position: relative;
  padding: 44px 0 52px;
  background:
    radial-gradient(circle at 88% 18%, var(--glow-pulse), transparent 42%),
    radial-gradient(circle at 12% 72%, var(--glow-neutron), transparent 40%),
    linear-gradient(150deg, #0d1424 0%, var(--ink) 70%);
  overflow: hidden;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 70% 16%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 70% 16%, #000 0%, transparent 72%);
  pointer-events: none;
}

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

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

.page-products .breadcrumb-item,
.page-products .breadcrumb-current {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

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

.page-products .breadcrumb-link:hover {
  color: var(--neutron);
}

.page-products .breadcrumb-sep {
  color: var(--muted);
  opacity: 0.55;
  padding: 0 6px;
}

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

.page-products .products-hero-layout {
  display: grid;
  gap: 34px;
}

.page-products .products-hero-title {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 760px;
}

.page-products .products-hero-copy .lead {
  max-width: 620px;
  color: var(--muted);
}

.page-products .products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.page-products .mini-stat {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-products .mini-stat-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.page-products .mini-stat .data-number {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--neutron);
}

.page-products .mini-stat--accent .data-number {
  color: var(--pulse);
}

.page-products .download-section,
.page-products .comparison-section,
.page-products .browser-section,
.page-products .changelog-section,
.page-products .guide-section {
  padding: 56px 0;
}

.page-products .section-head {
  margin-bottom: 32px;
}

.page-products .section-head .lead {
  max-width: 680px;
  color: var(--muted);
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.page-products .filter-button {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .filter-button:hover {
  color: var(--paper);
  border-color: rgba(0, 200, 255, 0.5);
}

.page-products .filter-button.is-active {
  background: var(--neutron);
  border-color: var(--neutron);
  color: #04120c;
  box-shadow: 0 0 18px rgba(0, 255, 163, 0.25);
}

.page-products .download-bento {
  display: grid;
  gap: 22px;
}

.page-products .download-card {
  display: flex;
  flex-direction: column;
  background: var(--card-stack);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-products .download-card-media {
  overflow: hidden;
  background: #070b13;
}

.page-products .download-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .download-card--web .download-card-media {
  aspect-ratio: 16 / 9;
}

.page-products .download-card--ios .download-card-media {
  aspect-ratio: 4 / 3;
}

.page-products .download-card--android .download-card-media {
  display: flex;
  justify-content: center;
  padding: 18px 0 0;
}

.page-products .download-card--android .download-card-media img {
  width: 46%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-products .download-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.page-products .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .download-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-products .download-card-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-products .download-features {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .download-features li {
  position: relative;
  padding-left: 20px;
  color: var(--paper);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-products .download-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutron);
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.55);
}

.page-products .download-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-products .comparison-section {
  background:
    radial-gradient(circle at 78% 30%, rgba(0, 200, 255, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(13, 16, 26, 0.8), rgba(11, 15, 26, 0.2));
}

.page-products .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 18, 30, 0.75);
  -webkit-overflow-scrolling: touch;
}

.page-products .comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .comparison-table th,
.page-products .comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .comparison-table thead th {
  font-weight: 700;
  color: var(--paper);
  background: rgba(20, 29, 51, 0.9);
}

.page-products .comparison-table tbody th {
  color: var(--muted);
  font-weight: 500;
  white-space: normal;
  min-width: 160px;
}

.page-products .comparison-table tbody tr:last-child th,
.page-products .comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .comparison-table .col-hot {
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.16), rgba(0, 255, 163, 0.05));
  color: var(--neutron);
  position: relative;
}

.page-products .comparison-table .cell-hot {
  background: rgba(0, 255, 163, 0.055);
  border-left: 1px solid rgba(0, 255, 163, 0.16);
  border-right: 1px solid rgba(0, 255, 163, 0.16);
  color: var(--paper);
}

.page-products .dot-support {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.page-products .dot-full {
  background: var(--neutron);
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.6);
}

.page-products .dot-partial {
  background: var(--pulse);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.55);
}

.page-products .browser-panel {
  position: relative;
  display: grid;
  gap: 30px;
  background:
    radial-gradient(circle at 14% 24%, rgba(0, 200, 255, 0.16), transparent 44%),
    radial-gradient(circle at 90% 80%, rgba(0, 255, 163, 0.09), transparent 40%),
    linear-gradient(140deg, rgba(20, 29, 51, 0.96), rgba(11, 15, 26, 0.92));
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: calc(var(--radius) + 6px);
  padding: 32px 24px;
  overflow: hidden;
}

.page-products .browser-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 255, 163, 0.06);
  pointer-events: none;
}

.page-products .browser-panel-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .browser-panel-media img {
  width: 100%;
  max-width: 230px;
  border-radius: 36px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 200, 255, 0.24);
}

.page-products .browser-panel-body {
  position: relative;
  z-index: 1;
}

.page-products .panel-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.page-products .panel-lead {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 660px;
}

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

.page-products .browser-points li {
  position: relative;
  padding-left: 22px;
  color: var(--paper);
  font-size: 0.94rem;
  line-height: 1.6;
}

.page-products .browser-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.55);
}

.page-products .browser-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 26px;
}

.page-products .browser-stat {
  display: grid;
  gap: 4px;
}

.page-products .browser-stat .data-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--neutron);
}

.page-products .browser-stat--gold .data-number {
  color: var(--gold);
}

.page-products .browser-stat span {
  color: var(--muted);
  font-size: 13px;
}

.page-products .changelog-section {
  background:
    linear-gradient(180deg, rgba(11, 15, 26, 0.4), rgba(13, 20, 36, 0.7));
}

.page-products .changelog-list {
  display: grid;
  gap: 14px;
}

.page-products .changelog-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(20, 29, 51, 0.5);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.page-products .changelog-block[open] {
  border-color: rgba(0, 255, 163, 0.28);
}

.page-products .changelog-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.page-products .changelog-block summary::-webkit-details-marker {
  display: none;
}

.page-products .changelog-block summary h3 {
  margin: 0;
  font-size: 1.05rem;
}

.page-products .changelog-block summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--neutron);
  transition: transform 0.3s var(--ease);
}

.page-products .changelog-block[open] summary::after {
  content: "−";
}

.page-products .changelog-content {
  padding: 0 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 0;
}

.page-products .changelog-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 16px 0 12px;
}

.page-products .changelog-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.page-products .changelog-content li {
  position: relative;
  padding-left: 18px;
  color: var(--paper);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-products .changelog-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse);
}

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

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

.page-products .guide-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(20, 29, 51, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-products .guide-step:hover {
  border-color: rgba(0, 255, 163, 0.35);
  background: rgba(20, 29, 51, 0.75);
}

.page-products .step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--neutron);
  line-height: 1.4;
  min-width: 48px;
}

.page-products .step-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.page-products .guide-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070b13;
}

.page-products .guide-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

@media (max-width: 767px) {
  .page-products .products-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .mini-stat {
    padding: 14px 8px;
  }

  .page-products .mini-stat-label {
    font-size: 12px;
  }

  .page-products .mini-stat .data-number {
    font-size: 0.95rem;
  }

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

  .page-products .download-card--web .download-card-media img {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .page-products .products-hero {
    padding: 56px 0 68px;
  }

  .page-products .products-hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: stretch;
  }

  .page-products .products-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
  }

  .page-products .mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 18px 22px;
  }

  .page-products .mini-stat-label {
    margin-bottom: 0;
  }

  .page-products .download-bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-products .download-card--web {
    grid-column: span 4;
    grid-row: span 2;
  }

  .page-products .download-card--android {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-products .download-card--ios {
    grid-column: span 6;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .page-products .download-card--ios .download-card-media {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .page-products .download-card--ios .download-card-body {
    padding: 32px;
  }

  .page-products .browser-panel {
    grid-template-columns: 260px 1fr;
    gap: 44px;
    padding: 48px;
  }

  .page-products .browser-panel-media img {
    max-width: 260px;
  }

  .page-products .guide-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .page-products .download-section,
  .page-products .comparison-section,
  .page-products .browser-section,
  .page-products .changelog-section,
  .page-products .guide-section {
    padding: 76px 0;
  }

  .page-products .products-hero-layout {
    grid-template-columns: minmax(0, 1.25fr) 320px;
  }

  .page-products .download-card--web {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: 1fr;
  }

  .page-products .download-card--web .download-card-media {
    aspect-ratio: auto;
    min-height: 320px;
  }

  .page-products .download-card--web .download-card-body {
    padding: 34px;
  }

  .page-products .browser-panel {
    grid-template-columns: 300px 1fr;
    padding: 56px;
  }
}

@media (hover: hover) {
  .page-products .download-card:hover {
    border-color: rgba(0, 255, 163, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 255, 163, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition: none !important;
    animation: none !important;
  }
}
