.page-products {
  --phone-radius: 2.5rem;
  --hero-min-height: 32rem;
}

.page-products .app-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-top: 1.25rem;
  overflow: hidden;
}

.page-products .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-products .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 58, 0.96), rgba(11, 31, 58, 0.72) 58%, rgba(11, 31, 58, 0.35));
}

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

.page-products .hero-breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-products .hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-products .hero-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-products .hero-breadcrumb li + li::before {
  content: " / ";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.page-products .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 2rem 3rem;
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.page-products .eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--orange);
  border-radius: 0.125rem;
  margin-right: 0.5rem;
  vertical-align: baseline;
}

.page-products .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.page-products .hero-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.page-products .download-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.page-products .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: 999px;
}

.page-products .btn-accent {
  background: var(--orange);
  border: 2px solid var(--orange);
  color: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .btn-accent:hover {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}

.page-products .btn-primary {
  background: var(--green);
  border: 2px solid var(--green);
  color: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .btn-primary:hover {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

.page-products .hero-guide-link {
  display: inline-block;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .hero-guide-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-products .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-products .hero-meta-item {
  border-left: 3px solid var(--green);
  padding-left: 0.75rem;
}

.page-products .hero-phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.page-products .phone-frame {
  width: 19rem;
  max-width: 100%;
  border-radius: var(--phone-radius);
  border: 8px solid #233853;
  background: #081626;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.page-products .phone-screen {
  border-radius: calc(var(--phone-radius) - 8px);
  overflow: hidden;
  padding: 3rem 0.875rem 1rem;
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: linear-gradient(180deg, var(--navy-soft), #081a30);
}

.page-products .phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6.5rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #050d18;
  z-index: 3;
}

.page-products .phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.8);
}

.page-products .phone-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
}

.page-products .phone-app-title {
  font-weight: 700;
  font-size: 0.9375rem;
}

.page-products .phone-app-live {
  background: var(--orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.page-products .phone-nav-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
}

.page-products .nav-chip {
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
}

.page-products .nav-chip.is-active {
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.page-products .phone-match-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.875rem;
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 4px solid var(--green);
}

.page-products .match-league {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-products .match-score {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.page-products .match-score em {
  font-style: normal;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 1.875rem;
}

.page-products .refresh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 168, 107, 0.18);
  border: 1px solid rgba(0, 168, 107, 0.4);
  color: #8ce3c0;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.3rem 0.625rem;
  width: fit-content;
}

.page-products .refresh-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  animation: bibo-pulse 1.8s infinite;
}

@keyframes bibo-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.page-products .phone-stats-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-products .phone-tab-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.625rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-products .app-qr-img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.18);
  object-fit: cover;
  background: #fff;
}

.page-products .qr-caption {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin: -0.5rem 0 0;
  text-align: center;
}

.page-products .section-heading {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.page-products .section-index {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
}

.page-products .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0;
  color: inherit;
}

.page-products .section-intro {
  max-width: 60ch;
  color: var(--gray);
  margin-bottom: 2.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

.page-products .nav-highlight-section {
  background: var(--ivory);
  color: var(--ink);
}

.page-products .nav-highlight-section .section-title {
  color: var(--ink);
}

.page-products .nav-feature-grid {
  align-items: start;
}

.page-products .feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  border: 1px solid #e6dfd0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  margin-top: 0;
}

.page-products .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
  border-color: var(--green);
}

.page-products .feature-num {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.page-products .feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.page-products .feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

.page-products .refresh-engine-section {
  background: var(--navy);
  color: #fff;
}

.page-products .refresh-engine-section .section-title {
  color: #fff;
}

.page-products .engine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.page-products .engine-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.page-products .engine-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.page-products .engine-stats li {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1rem;
  border-left: 3px solid var(--green);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.page-products .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.page-products .engine-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

.page-products .adapt-section {
  background: var(--moss);
  color: var(--ink);
}

.page-products .adapt-section .section-title {
  color: var(--ink);
}

.page-products .adapt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-products .adapt-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.12);
  display: block;
  object-fit: cover;
}

.page-products .adapt-copy p {
  color: #20302a;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 0.875rem;
}

.page-products .adapt-copy ul {
  padding-left: 1.25rem;
  color: #20302a;
  line-height: 1.7;
  margin: 0;
}

.page-products .adapt-copy ul li::marker {
  color: var(--green);
  font-weight: 700;
}

.page-products .version-section {
  background: var(--ivory);
  color: var(--ink);
}

.page-products .version-section .section-title {
  color: var(--ink);
}

.page-products .timeline-vertical {
  position: relative;
  margin-top: 1rem;
  padding-left: 1.25rem;
}

.page-products .timeline-vertical::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--orange);
  opacity: 0.5;
  border-radius: 999px;
}

.page-products .timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
  padding-left: 1.75rem;
  box-sizing: border-box;
}

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

.page-products .timeline-dot {
  position: absolute;
  left: -0.4375rem;
  top: 0.375rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--orange);
}

.page-products .timeline-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
  border: 1px solid #e6dfd0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-products .timeline-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08);
}

.page-products .version-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terra);
  background: rgba(196, 90, 60, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.page-products .timeline-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.page-products .timeline-card p {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
}

.page-products .install-section {
  background: var(--navy);
  color: #fff;
}

.page-products .install-section .section-title {
  color: #fff;
}

.page-products .install-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.page-products .install-panel-head {
  margin-bottom: 1.5rem;
}

.page-products .install-panel-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.page-products .install-requirement h3,
.page-products .install-access h3 {
  font-size: 1rem;
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  color: #fff;
}

.page-products .install-requirement ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.page-products .install-requirement li {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-products .install-access p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

.page-products .install-access .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.page-products .btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-products .install-trust {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1.65;
}

.page-products .local-touch-section {
  background: var(--ivory);
  padding: 2.5rem 0;
}

.page-products .local-flex {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.page-products .local-img {
  width: 7rem;
  height: 5.25rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
}

.page-products .local-flex p {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.page-products .local-flex a {
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}

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

@media (min-width: 42rem) {
  .page-products .engine-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .install-panel {
    padding: 2.25rem;
  }

  .page-products .install-panel-body {
    grid-template-columns: 0.85fr 1.5fr;
    gap: 2.5rem;
  }
}

@media (min-width: 52rem) {
  .page-products .hero-inner {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 1.5rem;
    padding-block: 3rem 4rem;
  }

  .page-products .phone-frame {
    transform: rotate(2deg);
  }

  .page-products .nav-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .page-products .feature-card:nth-child(2) {
    margin-top: 1.75rem;
  }

  .page-products .feature-card:nth-child(3) {
    margin-top: 3.5rem;
  }

  .page-products .engine-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .page-products .adapt-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .page-products .adapt-visual {
    order: 1;
  }

  .page-products .adapt-copy {
    order: 2;
  }

  .page-products .timeline-vertical {
    padding-left: 0;
  }

  .page-products .timeline-vertical::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-products .timeline-item {
    width: 50%;
    padding-left: 0;
  }

  .page-products .timeline-item:nth-child(odd) {
    padding-right: 3rem;
    text-align: right;
  }

  .page-products .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
  }

  .page-products .timeline-item:nth-child(odd) .timeline-dot {
    left: auto;
    right: -0.4375rem;
  }

  .page-products .timeline-item:nth-child(even) .timeline-dot {
    left: -0.4375rem;
  }

  .page-products .local-flex {
    flex-wrap: nowrap;
  }
}
