.page-products{
  --app-line: rgba(174,189,208,.22);
  --app-card-bg: rgba(245,247,250,.035);
  --app-glow: rgba(57,255,20,.18);
  --app-radius: 3px;
}

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

.page-products .breadcrumb{
  padding-top: 1.25rem;
  padding-bottom: 0;
}

.page-products .download-hero{
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: var(--space-2xl) 0 var(--space-3xl);
  background:
    radial-gradient(circle at 82% 20%, rgba(57,255,20,.10), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(255,107,53,.08), transparent 24%),
    linear-gradient(135deg, var(--c-deep), var(--c-obsidian));
}
.page-products .download-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(174,189,208,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174,189,208,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-products .download-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-neon) 0 32%, var(--c-orange) 32% 56%, transparent 56%);
}
.page-products .download-hero__grid{
  position: relative;
  display: grid;
  gap: var(--space-2xl);
}
.page-products .download-hero__copy{
  max-width: 680px;
}
.page-products .download-hero__title{
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: .65rem 0 .4rem;
  letter-spacing: .01em;
}
.page-products .download-hero__sub{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--c-orange);
  letter-spacing: .05em;
  border-left: 2px solid rgba(255,107,53,.7);
  padding-left: .65rem;
  margin-bottom: 1rem;
}
.page-products .download-hero__lead{
  color: var(--c-iron-light);
  margin-bottom: 1.1rem;
}
.page-products .download-hero__tags{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.page-products .download-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.page-products .download-btn{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--c-neon);
  color: var(--c-deep);
  border-radius: var(--app-radius);
  padding: .85rem 1.15rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: default;
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-products .download-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(57,255,20,.22);
}
.page-products .download-btn:active{
  transform: scale(.98);
}
.page-products .download-btn--outline{
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(57,255,20,.55);
}
.page-products .download-btn--outline:hover{
  box-shadow: 0 10px 24px rgba(57,255,20,.14);
}
.page-products .download-btn__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.page-products .download-btn__meta{
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 400;
  text-transform: none;
  opacity: .8;
}
.page-products .download-hero__note{
  font-size: .84rem;
  color: var(--c-iron-light);
  margin-top: .8rem;
}
.page-products .download-hero__link{
  display: inline-block;
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: .82rem;
  text-decoration: none;
  margin-top: .5rem;
  border-bottom: 1px solid rgba(57,255,20,.4);
  padding-bottom: .15rem;
  transition: color .2s ease, border-color .2s ease;
}
.page-products .download-hero__link:hover{
  color: var(--c-orange);
  border-color: rgba(255,107,53,.5);
}
.page-products .download-hero__panel{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.page-products .qr-card{
  background: var(--c-white);
  border-radius: 10px;
  padding: 1.1rem 1.1rem .8rem;
  width: fit-content;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-products .qr-card:hover{
  transform: scale(1.04);
  box-shadow: 0 22px 46px rgba(0,0,0,.42);
}
.page-products .qr-card__svg{
  display: block;
  width: 160px;
  height: 160px;
  shape-rendering: crispEdges;
}
.page-products .qr-card__caption{
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--c-iron);
  text-align: center;
  margin-top: .5rem;
}
.page-products .phone-mock{
  background: #12233f;
  border: 3px solid var(--c-sand);
  border-radius: 18px;
  padding: 6px;
  max-width: 260px;
  margin: 0 auto;
}
.page-products .phone-mock::before{
  content: "";
  display: block;
  height: 4px;
  width: 54px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: rgba(245,247,250,.35);
}
.page-products .phone-mock__img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-products .version-strip{
  background: var(--c-obsidian);
  border-top: 1px solid rgba(174,189,208,.14);
  border-bottom: 1px solid rgba(174,189,208,.14);
}
.page-products .version-strip__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  padding: 1rem 0;
}
.page-products .version-strip__item{
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--c-iron-light);
  border-left: 2px solid rgba(57,255,20,.6);
  padding-left: .65rem;
}
.page-products .version-strip__idx{
  font-size: .66rem;
  color: var(--c-neon);
}
.page-products .version-strip__item strong{
  color: #ffffff;
  font-weight: 600;
}

.page-products .features{
  background: var(--c-cloud);
  color: var(--c-obsidian);
  padding: var(--space-3xl) 0;
}
.page-products .features__intro{
  max-width: 720px;
  color: var(--c-iron);
  font-size: .95rem;
  line-height: 1.7;
  margin-top: .75rem;
}
.page-products .features__banner{
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
  border: 1px solid rgba(10,31,60,.10);
}
.page-products .features__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.page-products .feature-card{
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(10,31,60,.10);
  border-radius: 6px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-products .feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10,31,60,.12);
}
.page-products .feature-card__icon{
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--c-data);
  background: rgba(74,144,217,.10);
  border: 1px solid rgba(74,144,217,.25);
  border-radius: var(--app-radius);
}
.page-products .feature-card__icon svg{
  width: 24px;
  height: 24px;
}
.page-products .feature-card__icon::after{
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  background: var(--c-obsidian);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.3;
  padding: .35rem .6rem;
  border-radius: var(--app-radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.page-products .feature-card__icon:hover::after,
.page-products .feature-card__icon:focus-within::after{
  opacity: 1;
  transform: translateY(0);
}
.page-products .feature-card__title{
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 .4rem;
}
.page-products .feature-card__text{
  font-size: .9rem;
  line-height: 1.65;
  color: var(--c-iron);
  margin: 0;
}
.page-products .app-preview{
  margin: var(--space-2xl) 0 0;
  border: 1px solid rgba(10,31,60,.10);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}
.page-products .app-preview img{
  display: block;
  width: 100%;
  height: auto;
}
.page-products .app-preview__caption{
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--c-iron);
  padding: .6rem 1rem;
  border-top: 1px solid rgba(10,31,60,.06);
  margin: 0;
}

.page-products .guide{
  background: linear-gradient(180deg, var(--c-deep), var(--c-obsidian));
  color: #ffffff;
  padding: var(--space-3xl) 0;
}
.page-products .guide__lead{
  color: var(--c-iron-light);
  max-width: 640px;
  margin: .75rem 0 0;
  line-height: 1.7;
}
.page-products .guide__banner{
  display: block;
  width: 100%;
  height: auto;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid rgba(174,189,208,.2);
  border-radius: 4px;
}
.page-products .guide__list{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 .6rem;
  list-style: none;
  margin: 0;
}
.page-products .guide__list::-webkit-scrollbar{
  height: 6px;
}
.page-products .guide__list::-webkit-scrollbar-thumb{
  background: rgba(57,255,20,.35);
  border-radius: 999px;
}
.page-products .guide-step{
  scroll-snap-align: start;
  border: 1px solid rgba(174,189,208,.2);
  border-radius: 6px;
  padding: 1.25rem;
  min-height: 160px;
  background: rgba(245,247,250,.05);
  display: flex;
  flex-direction: column;
}
.page-products .guide-step__num{
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--c-neon);
  margin-bottom: .75rem;
}
.page-products .guide-step__title{
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}
.page-products .guide-step__text{
  font-size: .86rem;
  line-height: 1.6;
  color: var(--c-iron-light);
  margin: 0;
}
.page-products .guide__tip{
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-neon);
  border-left: 2px solid rgba(57,255,20,.55);
  padding-left: .75rem;
}

.page-products .changelog{
  background: var(--c-cloud);
  color: var(--c-obsidian);
  padding: var(--space-3xl) 0;
}
.page-products .changelog__grid{
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}
.page-products .changelog__intro{
  color: var(--c-iron);
  line-height: 1.7;
  margin: .75rem 0 1rem;
  max-width: 480px;
}
.page-products .changelog__content{
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(10,31,60,.1);
  border-radius: 6px;
}
.page-products .changelog__version{
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}
.page-products .changelog__list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .changelog__item{
  border-bottom: 1px solid rgba(10,31,60,.08);
}
.page-products .changelog__item:last-child{
  border-bottom: 0;
}
.page-products .changelog__summary{
  list-style: none;
  cursor: pointer;
  padding: .85rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  transition: color .2s ease;
}
.page-products .changelog__summary::-webkit-details-marker{
  display: none;
}
.page-products .changelog__summary:hover{
  color: var(--c-orange);
}
.page-products .changelog__summary::after{
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  color: var(--c-orange);
  transition: transform .2s ease;
}
.page-products .changelog__item[open] .changelog__summary::after{
  content: "−";
}
.page-products .changelog__detail{
  color: var(--c-iron);
  font-size: .88rem;
  line-height: 1.65;
  padding: 0 0 .85rem;
  margin: 0;
}

.page-products .history{
  background: var(--c-obsidian);
  color: #ffffff;
  padding: var(--space-3xl) 0;
}
.page-products .history__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
.page-products .history__lead{
  color: var(--c-iron-light);
  max-width: 520px;
  margin: .75rem 0 0;
  line-height: 1.7;
}
.page-products .history__img{
  border: 1px solid rgba(174,189,208,.18);
  border-radius: 4px;
  margin-top: 1rem;
}
.page-products .history__link{
  display: inline-block;
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: .82rem;
  text-decoration: none;
  margin-top: .6rem;
  border-bottom: 1px solid rgba(57,255,20,.4);
  padding-bottom: .15rem;
  transition: color .2s ease, border-color .2s ease;
}
.page-products .history__link:hover{
  color: var(--c-orange);
  border-color: rgba(255,107,53,.5);
}
.page-products .history__table-wrap{
  overflow-x: auto;
}
.page-products .history__table{
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: .9rem;
}
.page-products .history__table th{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--c-iron-light);
  text-align: left;
  padding: .8rem .9rem;
  border-bottom: 1px solid rgba(174,189,208,.28);
}
.page-products .history__table td{
  padding: .9rem;
  border-bottom: 1px solid rgba(174,189,208,.12);
  color: var(--c-cloud);
  vertical-align: top;
  line-height: 1.6;
}
.page-products .history__table tr:last-child td{
  border-bottom: 0;
}
.page-products .history__table td:first-child{
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}
.page-products .history__note{
  color: var(--c-iron-light);
  font-size: .84rem;
  line-height: 1.7;
  margin: .8rem 0 0;
}

.page-products .cta{
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
  color: #ffffff;
  padding: var(--space-3xl) 0 calc(var(--space-3xl) + 1rem);
  text-align: center;
}
.page-products .cta::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(57,255,20,.12), transparent 45%);
}
.page-products .cta__inner{
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.page-products .cta h2{
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 .75rem;
}
.page-products .cta p{
  color: var(--c-iron-light);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.page-products .cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.page-products .cta__note{
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--c-iron);
  margin: 0;
}

@media (min-width: 640px){
  .page-products .features__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px){
  .page-products .version-strip__grid{
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .download-hero__grid{
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: var(--space-2xl);
  }
  .page-products .download-hero__panel{
    align-items: flex-end;
  }
  .page-products .qr-card{
    margin-right: 2.5rem;
  }
  .page-products .guide__list{
    grid-auto-columns: minmax(240px, 1fr);
  }
  .page-products .changelog__grid{
    grid-template-columns: .4fr .6fr;
  }
  .page-products .history__grid{
    grid-template-columns: .45fr .55fr;
    align-items: center;
  }
  .page-products .phone-mock{
    margin-top: -1.5rem;
    margin-right: .5rem;
    transform: rotate(2deg);
  }
}

@media (min-width: 960px){
  .page-products .features__grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .qr-card__svg{
    width: 190px;
    height: 190px;
  }
  .page-products .phone-mock{
    max-width: 290px;
    margin-right: 3rem;
  }
}
