.page-products {
  --prod-deep: #0A1B3D;
  --prod-deep-2: #0D2A4A;
  --prod-mid: #1E3A6D;
  --prod-surface: #F4F6FA;
  --prod-card: #ffffff;
  --prod-line: rgba(10, 27, 61, 0.12);
  --prod-line-light: rgba(244, 246, 250, 0.2);
  background: var(--color-surface);
  min-height: 100vh;
}

.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 72px;
  background:
    radial-gradient(1100px 520px at 78% -12%, rgba(30, 58, 109, 0.9), transparent 60%),
    linear-gradient(142deg, #0A1B3D 0%, #0D2A4A 58%, #1E3A6D 100%);
  color: var(--color-text-inverse);
}

.page-products .prod-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(198, 242, 78, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 242, 78, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 78%, transparent 100%);
}

.page-products .prod-hero .breadcrumb {
  position: relative;
  color: rgba(244, 246, 250, 0.7);
  font-size: 0.85rem;
}

.page-products .prod-hero .breadcrumb a {
  color: rgba(244, 246, 250, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-products .prod-hero .breadcrumb a:hover {
  color: var(--color-lime);
}

.page-products .prod-hero-head {
  position: relative;
  max-width: 760px;
  margin-top: 30px;
}

.page-products .prod-hero-head h1 {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-style: italic;
}

.page-products .prod-hero-desc {
  margin: 20px 0 0;
  max-width: 660px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 246, 250, 0.78);
}

.page-products .prod-hero-desc strong {
  color: var(--color-lime);
}

.page-products .prod-hero-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-products .prod-hero-chapters a {
  color: var(--color-lime);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid rgba(198, 242, 78, 0.45);
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.page-products .prod-hero-chapters a:hover,
.page-products .prod-hero-chapters a:focus-visible {
  background: rgba(198, 242, 78, 0.14);
  color: #fff;
  border-color: var(--color-lime);
}

.page-products .prod-core-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 44px;
  position: relative;
}

@media (min-width: 980px) {
  .page-products .prod-core-grid {
    grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
}

.page-products .prod-features-col,
.page-products .prod-version-col {
  border-top: 1px solid rgba(244, 246, 250, 0.3);
  padding-top: 22px;
  position: relative;
}

.page-products .prod-features-col > h2,
.page-products .prod-version-col > h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-products .prod-features-col > h2 {
  padding-right: 72px;
}

.page-products .prod-feat-ico {
  position: absolute;
  top: 18px;
  right: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(198, 242, 78, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-products .prod-feat-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 246, 250, 0.16);
  transition: padding-left var(--transition-fast);
}

.page-products .prod-feat-item:last-of-type {
  border-bottom: none;
}

.page-products .prod-feat-item:hover {
  padding-left: 8px;
}

.page-products .prod-feat-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-lime);
  padding-top: 4px;
}

.page-products .prod-feat-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
}

.page-products .prod-feat-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.72);
}

.page-products .prod-phone-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0 10px;
}

@media (min-width: 980px) {
  .page-products .prod-phone-col {
    position: sticky;
    top: 88px;
    align-self: start;
  }
}

.page-products .prod-phone-col::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(30, 58, 109, 0.55) 0deg 4deg, transparent 4deg 18deg);
  pointer-events: none;
  z-index: 0;
}

.page-products .prod-phone {
  position: relative;
  z-index: 1;
  width: min(306px, 100%);
  padding: 12px;
  background: linear-gradient(145deg, #16304f, #0d2a4a);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 46px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 4px rgba(10, 27, 61, 0.28);
}

.page-products .prod-phone::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 92px;
  width: 3px;
  height: 36px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}

.page-products .prod-phone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 132px;
  width: 3px;
  height: 56px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}

.page-products .prod-phone-inner {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #eef1f7;
  aspect-ratio: 280 / 560;
}

.page-products .prod-screen-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .prod-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #0d2a4a;
  border-radius: 14px;
  z-index: 3;
}

.page-products .prod-phone-status {
  position: absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  z-index: 2;
}

.page-products .prod-phone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 27, 61, 0.2);
  z-index: 2;
}

.page-products .prod-download-float {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(255, 106, 0, 0.42);
  transform: rotate(-1.5deg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.page-products .prod-download-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(255, 106, 0, 0.65);
  border-radius: 999px;
}

.page-products .prod-download-float:hover,
.page-products .prod-download-float:focus-visible {
  background: #ff7d1f;
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 106, 0, 0.5);
}

.page-products .prod-phone-caption {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  color: var(--color-lime);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.page-products .prod-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-products .prod-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 24px;
  left: 4px;
  width: 1px;
  background: rgba(244, 246, 250, 0.25);
}

.page-products .prod-timeline-item {
  position: relative;
  padding: 0 0 26px 26px;
}

.page-products .prod-timeline-marker {
  position: absolute;
  top: 5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.22);
}

.page-products .prod-timeline-current .prod-timeline-marker {
  background: var(--color-lime);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.25);
}

.page-products .prod-timeline-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
}

.page-products .prod-timeline-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.68);
}

.page-products .prod-timeline-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.page-products .prod-timeline-top h3 {
  margin: 0;
}

.page-products .prod-timeline-badge {
  background: rgba(198, 242, 78, 0.16);
  border: 1px solid rgba(198, 242, 78, 0.5);
  color: var(--color-lime);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
}

.page-products .prod-version-more {
  margin-top: 4px;
  border-top: 1px solid rgba(244, 246, 250, 0.16);
  padding-top: 14px;
}

.page-products .prod-version-more summary {
  color: var(--color-lime);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.page-products .prod-version-more ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(244, 246, 250, 0.7);
  font-size: 0.9rem;
  line-height: 1.9;
}

.page-products .prod-stable-note {
  margin-top: 24px;
  border: 1px solid rgba(255, 106, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.13), rgba(30, 58, 109, 0.3));
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.page-products .prod-stable-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-products .prod-stable-note h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
}

.page-products .prod-stable-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.75);
}

.page-products .prod-section {
  padding: 72px 0;
}

.page-products .prod-download {
  background: var(--color-surface);
  position: relative;
}

.page-products .prod-section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-products .prod-section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  border: 1px solid rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.page-products .prod-section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-primary);
}

.page-products .prod-section-head p {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #5a6b85;
}

.page-products .prod-section-head a {
  color: var(--color-accent);
  text-decoration: none;
}

.page-products .prod-os-illus {
  display: block;
  width: 250px;
  height: auto;
  margin: 0 0 24px;
  border-radius: 16px;
  object-fit: cover;
}

.page-products .prod-dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .page-products .prod-dl-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.page-products .prod-dl-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--prod-card);
  border: 1px solid var(--prod-line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(10, 27, 61, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.page-products .prod-dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 27, 61, 0.1);
}

.page-products .prod-dl-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .prod-dl-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: skewX(-8deg);
}

.page-products .prod-dl-card dl {
  margin: 0 0 18px;
}

.page-products .prod-dl-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(10, 27, 61, 0.12);
  font-size: 0.9rem;
}

.page-products .prod-dl-card dt {
  color: #5a6b85;
  white-space: nowrap;
}

.page-products .prod-dl-card dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

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

.page-products .prod-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(rgba(198, 242, 78, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 242, 78, 0.06) 1px, transparent 1px),
    linear-gradient(140deg, #0A1B3D, #1E3A6D);
  background-size: 32px 32px, 32px 32px, auto;
}

.page-products .prod-qr-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.page-products .prod-qr-svg {
  width: 132px;
  height: 132px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-products .prod-qr-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(244, 246, 250, 0.75);
}

.page-products .prod-history {
  color: var(--color-text-inverse);
  background:
    linear-gradient(rgba(198, 242, 78, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 242, 78, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #0A1B3D, #0D2A4A);
  background-size: 44px 44px, 44px 44px, auto;
}

.page-products .prod-section-head-light h2 {
  color: #fff;
}

.page-products .prod-section-head-light p {
  color: rgba(244, 246, 250, 0.72);
}

.page-products .prod-history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 920px) {
  .page-products .prod-history-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
  }
}

.page-products .prod-history-list {
  display: grid;
  gap: 0;
}

.page-products .prod-history-card {
  margin-bottom: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 246, 250, 0.16);
  border-radius: 16px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.page-products .prod-history-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(198, 242, 78, 0.4);
}

.page-products .prod-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.page-products .prod-history-ver {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-lime);
}

.page-products .prod-hist-tag,
.page-products .prod-hist-size {
  font-size: 0.78rem;
  color: rgba(244, 246, 250, 0.7);
  border: 1px solid rgba(244, 246, 250, 0.22);
  border-radius: 999px;
  padding: 2px 10px;
}

.page-products .prod-history-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.75);
}

.page-products .prod-history-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.page-products .prod-history-link:hover {
  color: var(--color-lime);
  text-decoration: underline;
}

.page-products .prod-history-rows {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(244, 246, 250, 0.12);
  font-size: 0.9rem;
}

.page-products .prod-history-rows span:first-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-lime);
}

.page-products .prod-history-rows span:nth-child(2) {
  color: rgba(244, 246, 250, 0.7);
}

.page-products .prod-history-rows a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-products .prod-history-visual {
  position: static;
}

@media (min-width: 920px) {
  .page-products .prod-history-visual {
    position: sticky;
    top: 96px;
  }
}

.page-products .prod-history-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(244, 246, 250, 0.16);
}

.page-products .prod-history-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(198, 242, 78, 0.1);
  border: 1px solid rgba(198, 242, 78, 0.3);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.page-products .prod-history-steps i {
  font-style: normal;
  color: var(--color-lime);
}

.page-products .prod-history-step-current {
  color: var(--color-lime);
}

.page-products .prod-history-visual p {
  margin: 12px 0 0;
  text-align: center;
  color: rgba(244, 246, 250, 0.7);
  font-size: 0.88rem;
}

.page-products .prod-install {
  background: var(--color-surface);
}

.page-products .prod-install-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 880px) {
  .page-products .prod-install-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.page-products .prod-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .prod-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--prod-line);
}

.page-products .prod-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-products .prod-steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
}

.page-products .prod-steps p {
  margin: 0;
  color: #5a6b85;
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-products .prod-faq-item {
  margin-bottom: 12px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--prod-line);
  border-radius: 14px;
}

.page-products .prod-faq-item summary {
  position: relative;
  padding: 16px 28px 16px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  list-style: none;
}

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

.page-products .prod-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  background: rgba(255, 106, 0, 0.12);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.page-products .prod-faq-item[open] summary::after {
  content: "–";
}

.page-products .prod-faq-item p {
  margin: 0 0 16px;
  color: #5a6b85;
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-products .prod-faq-item a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-products a:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
