.page-products {
  --dl-color-navy: #0A1F44;
  --dl-color-navy-deep: #071633;
  --dl-color-orange: #FF6B35;
  --dl-color-teal: #00C2A8;
  --dl-color-light: #F5F7FA;
  --dl-color-white: #FFFFFF;
  --dl-color-slate: #B0B8C9;
  --dl-color-border: #E6EAF0;
  --dl-font-headline: 'Arial Black', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --dl-font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --dl-font-data: 'Roboto Mono', 'SF Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;
  --dl-content-width: 1260px;
  position: relative;
  background: var(--dl-color-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--dl-color-white);
  font-family: var(--dl-font-body);
  line-height: 1.7;
  overflow-x: clip;
}

.page-products__breadcrumb {
  max-width: var(--dl-content-width);
  margin: 0 auto;
  padding: 16px 20px 0;
  color: var(--dl-color-slate);
  font-size: 0.875rem;
}

.page-products a {
  color: inherit;
  text-decoration: none;
}

.page-products .content-link {
  position: relative;
  color: var(--dl-color-teal);
  font-weight: 500;
  transition: color 0.22s ease;
}

.page-products .content-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.page-products .content-link:hover,
.page-products .content-link:focus-visible {
  color: var(--dl-color-orange);
}

.page-products .content-link:hover::before,
.page-products .content-link:focus-visible::before {
  transform: scaleX(1);
}

/* ===== Hero ===== */
.page-products__hero {
  position: relative;
  max-width: var(--dl-content-width);
  margin: 0 auto;
  padding: 50px 20px 0;
}

.page-products__hero::before {
  content: "APPS";
  position: absolute;
  top: 4px;
  right: 8px;
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-products__hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: var(--dl-color-orange);
  opacity: 0.08;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.page-products__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products__hero-title {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 14px 0 16px;
  color: var(--dl-color-white);
}

.page-products__hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--dl-color-slate);
  max-width: 560px;
  margin-bottom: 28px;
}

.page-products__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.page-products__hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--dl-color-slate);
  font-size: 0.875rem;
}

.page-products__hero-stat strong {
  font-family: var(--dl-font-data);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dl-color-orange);
}

.page-products__hero-visual {
  position: relative;
  width: 220px;
  height: 440px;
  margin: 0 auto;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-products__hero-visual[data-reveal] {
  opacity: 0;
  transform: translateY(24px) rotate(2deg);
}

.page-products__hero-visual[data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.page-products__phone {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background: var(--dl-color-navy-deep);
  box-shadow: 24px 24px 0 rgba(255, 107, 53, 0.32), -12px 16px 40px rgba(0, 0, 0, 0.35);
}

.page-products__phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--dl-color-navy);
  border-radius: 30px 30px 0 0;
  border-bottom: 2px solid var(--dl-color-orange);
}

.page-products__phone::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 168, 0.5), transparent);
  transform: translate(-50%, -50%);
}

.page-products__hero-img {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  border-radius: 24px;
  opacity: 0.9;
}

/* ===== Sections generic ===== */
.page-products__section {
  position: relative;
  max-width: var(--dl-content-width);
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.page-products__section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.page-products__section-num {
  font-family: var(--dl-font-data);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dl-color-teal);
  background: rgba(0, 194, 168, 0.12);
  border: 1px solid rgba(0, 194, 168, 0.4);
  border-radius: 4px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
}

.page-products__section-title {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
  color: var(--dl-color-white);
}

.page-products__section--light {
  background: var(--dl-color-light);
  color: var(--dl-color-navy);
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.page-products__section--light .page-products__section-head {
  max-width: var(--dl-content-width);
  margin-left: auto;
  margin-right: auto;
}

.page-products__section--light .page-products__section-num {
  color: var(--dl-color-orange);
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.4);
}

.page-products__section--light .page-products__section-title {
  color: var(--dl-color-navy);
}

.page-products__section--light .diag-line {
  --diag-color: var(--dl-color-teal);
}

.diag-line {
  display: inline-block;
  width: 44px;
  height: 6px;
  background: linear-gradient(45deg, var(--dl-color-orange) 50%, var(--dl-color-teal) 50%);
  background-size: 200% 200%;
}

/* ===== Overview ===== */
.page-products__overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 980px;
}

.page-products__overview-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--dl-color-white);
  line-height: 1.75;
  border-left: 4px solid var(--dl-color-orange);
  padding-left: 20px;
}

.page-products__overview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products__overview-list li {
  position: relative;
  padding: 14px 18px 14px 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--dl-color-teal);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.page-products__overview-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dl-color-teal);
  font-weight: 700;
}

.page-products__overview-list li:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.4);
}

/* ===== Features ===== */
.page-products__features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.page-products__feature-card {
  position: relative;
  background: var(--dl-color-light);
  color: var(--dl-color-navy);
  border-radius: 8px;
  padding: 28px 26px;
  border: 1px solid var(--dl-color-border);
  transform: rotate(-0.5deg);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.page-products__feature-card:hover,
.page-products__feature-card:focus-within {
  transform: rotate(0) translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--dl-color-orange);
  z-index: 2;
}

.page-products__feature-card--offset {
  transform: rotate(0.8deg);
}

.page-products__feature-card--offset:hover {
  transform: rotate(0) translateY(-4px);
}

.page-products__feature-card--dark {
  background: linear-gradient(140deg, #0d2a5c, #071633);
  color: var(--dl-color-white);
  border-color: rgba(255, 255, 255, 0.14);
  transform: rotate(0.4deg);
}

.page-products__feature-card--dark:hover {
  border-color: var(--dl-color-teal);
}

.page-products__feature-card--wide {
  grid-column: 1 / -1;
  transform: rotate(-0.3deg);
}

.page-products__feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.12);
  color: var(--dl-color-orange);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.page-products__feature-card--dark .page-products__feature-icon {
  background: rgba(0, 194, 168, 0.14);
  color: var(--dl-color-teal);
  border-color: rgba(0, 194, 168, 0.3);
}

.page-products__feature-icon svg {
  width: 32px;
  height: 32px;
}

.page-products__feature-title {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-products__feature-desc {
  font-size: 0.95rem;
  color: rgba(10, 31, 68, 0.75);
  margin-bottom: 16px;
}

.page-products__feature-card--dark .page-products__feature-desc {
  color: rgba(255, 255, 255, 0.72);
}

.page-products__feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products__feature-link {
  margin-top: 14px;
}

.page-products__feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
  margin-top: 16px;
}

.page-products__feature-meta-item {
  font-size: 0.875rem;
  color: var(--dl-color-slate);
}

.page-products__feature-meta-item strong {
  font-family: var(--dl-font-data);
  font-size: 1.6rem;
  color: var(--dl-color-orange);
  margin-right: 4px;
}

/* ===== Chart blocks ===== */
.page-products__chart-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-products__chart-block:hover {
  border-color: rgba(0, 194, 168, 0.45);
  box-shadow: var(--shadow-teal);
}

.page-products__chart-copy {
  order: 1;
}

.page-products__chart-block--reverse .page-products__chart-copy {
  order: 1;
}

.page-products__chart-block--reverse .page-products__chart-img {
  order: 1;
}

.page-products__chart-title {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: 1.3rem;
  margin: 10px 0 10px;
  color: var(--dl-color-white);
}

.page-products__chart-desc {
  color: var(--dl-color-slate);
  font-size: 0.95rem;
  margin: 0;
}

.page-products__chart-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  order: 2;
  box-shadow: var(--shadow-sm);
}

/* ===== Device ===== */
.page-products__section--device {
  padding-top: 20px;
}

.page-products__device-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(0, 194, 168, 0.06);
  border: 1px solid rgba(0, 194, 168, 0.2);
  border-radius: 8px;
  padding: 26px 24px;
}

.page-products__device-lead {
  font-size: 1.05rem;
  color: var(--dl-color-white);
  margin-bottom: 18px;
}

.page-products__device-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-products__device-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.page-products__device-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--dl-color-teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-products__device-list li strong {
  color: var(--dl-color-orange);
  font-weight: 600;
}

.page-products__device-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

/* ===== Update / Timeline ===== */
.page-products__section--light .page-products__timeline {
  max-width: var(--dl-content-width);
  margin-left: auto;
  margin-right: auto;
}

.page-products__timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products__timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--dl-color-orange), var(--dl-color-teal));
  opacity: 0.5;
}

.page-products__timeline-item {
  position: relative;
  padding-left: 38px;
}

.page-products__timeline-dot {
  position: absolute;
  left: 4px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dl-color-orange);
  border: 3px solid var(--dl-color-light);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.4);
}

.page-products__timeline-item:nth-child(even) .page-products__timeline-dot {
  background: var(--dl-color-teal);
  box-shadow: 0 0 0 2px rgba(0, 194, 168, 0.4);
}

.page-products__timeline-card {
  background: var(--dl-color-white);
  border-radius: 8px;
  padding: 22px 24px;
  border: 1px solid var(--dl-color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-products__timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--dl-color-teal);
}

.page-products__timeline-card h3 {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--dl-color-navy);
  margin: 0 0 8px;
}

.page-products__timeline-card p {
  font-size: 0.92rem;
  color: rgba(10, 31, 68, 0.75);
  margin: 0;
  line-height: 1.65;
}

/* ===== Download ===== */
.page-products__section--download {
  padding-top: 30px;
}

.page-products__download-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: linear-gradient(145deg, #0f2f66, var(--dl-color-navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.page-products__download-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-products__download-card::after {
  content: "KAIBO";
  position: absolute;
  bottom: -0.2em;
  left: 0;
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 8rem);
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.page-products__download-copy {
  position: relative;
  z-index: 1;
}

.page-products__download-title {
  font-family: var(--dl-font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--dl-color-white);
  margin: 12px 0 14px;
  line-height: 1.2;
}

.page-products__download-desc {
  color: var(--dl-color-slate);
  font-size: 1rem;
  max-width: 580px;
  margin-bottom: 24px;
}

.page-products__download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--dl-font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 6px;
  padding: 14px 30px;
  cursor: pointer;
  transition: background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.page-products .btn--primary {
  background: linear-gradient(120deg, var(--dl-color-orange), #ff8b5e);
  color: var(--dl-color-white);
  box-shadow: var(--shadow-orange);
}

.page-products .btn--primary:hover,
.page-products .btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.45);
}

.page-products .btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--dl-color-white);
  background: transparent;
}

.page-products .btn--ghost:hover,
.page-products .btn--ghost:focus-visible {
  border-color: var(--dl-color-teal);
  background: rgba(0, 194, 168, 0.12);
  color: var(--dl-color-white);
}

.page-products__download-note {
  font-size: 0.875rem;
  color: var(--dl-color-slate);
  margin: 4px 0 12px;
}

.page-products__download-faq {
  margin-top: 4px;
}

.page-products__download-qr {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.page-products__qr-img {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  border: 3px solid var(--dl-color-white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  background: var(--dl-color-white);
}

.page-products__qr-label {
  font-size: 0.9rem;
  color: var(--dl-color-slate);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ===== Reveal ===== */
.page-products [data-reveal][data-reveal] {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-products [data-reveal][data-reveal]:not([data-revealed]) {
  opacity: 0;
  transform: translateY(22px);
}

.page-products [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Tags ===== */
.page-products .tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--dl-font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.page-products .tag--orange {
  background: rgba(255, 107, 53, 0.14);
  color: var(--dl-color-orange);
  border: 1px solid rgba(255, 107, 53, 0.35);
}

.page-products .tag--teal {
  background: rgba(0, 194, 168, 0.12);
  color: var(--dl-color-teal);
  border: 1px solid rgba(0, 194, 168, 0.35);
}

.page-products .tag--light {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ===== Media queries ===== */
@media (min-width: 640px) {
  .page-products__overview-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__feature-card--wide {
    grid-column: 1 / -1;
  }

  .page-products__chart-block {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__chart-copy {
    order: 1;
  }

  .page-products__chart-img {
    order: 2;
  }

  .page-products__chart-block--reverse .page-products__chart-copy {
    order: 2;
  }

  .page-products__chart-block--reverse .page-products__chart-img {
    order: 1;
  }

  .page-products__device-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__timeline {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-products__timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-products__timeline-item {
    padding-left: 0;
  }

  .page-products__timeline-item:nth-child(odd) {
    padding-right: 38px;
    text-align: right;
  }

  .page-products__timeline-item:nth-child(even) {
    padding-left: 38px;
  }

  .page-products__timeline-dot {
    left: auto;
    right: -8px;
  }

  .page-products__timeline-item:nth-child(odd) .page-products__timeline-dot {
    left: auto;
    right: -9px;
  }

  .page-products__timeline-item:nth-child(even) .page-products__timeline-dot {
    left: -9px;
    right: auto;
  }

  .page-products__download-card {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .page-products__hero-inner {
    grid-template-columns: 1fr 0.85fr;
  }

  .page-products__hero {
    padding: 70px 32px 30px;
  }

  .page-products__section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-products__section--light {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-products__hero-visual {
    width: 260px;
    height: 520px;
  }

  .page-products__feature-card {
    padding: 32px;
  }

  .page-products__chart-block {
    padding: 36px;
  }

  .page-products__device-wrap {
    padding: 36px;
  }

  .page-products__download-card {
    padding: 48px;
  }

  .page-products__qr-img {
    width: 200px;
    height: 200px;
  }
}

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

  .page-products__overview-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .page-products__overview-lead {
    font-size: 1.4rem;
  }
}
