.page-products {
  --p-card-radius: 18px;
  --p-step-space: 22px;

  color: var(--ink);
  background: var(--paper);
}

.page-products .products-hero {
  background:
    radial-gradient(ellipse at 12% 88%, rgba(255, 107, 53, 0.62) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 12%, rgba(255, 215, 0, 0.16) 0%, transparent 45%),
    linear-gradient(120deg, #1E1A16 0%, #2C2C2C 62%, #3A2E24 100%);
  color: #F7F3EF;
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
}

.page-products .products-hero::before {
  content: "APP";
  position: absolute;
  right: -24px;
  bottom: -56px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  letter-spacing: 0.02em;
}

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

.page-products .breadcrumbs {
  font-size: 14px;
  margin-bottom: 32px;
  color: rgba(247, 243, 239, 0.7);
}

.page-products .breadcrumbs a {
  color: rgba(247, 243, 239, 0.82);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-products .breadcrumbs a:hover {
  color: var(--brand);
}

.page-products .breadcrumbs-sep {
  margin: 0 8px;
  color: var(--brand);
  font-weight: 700;
}

.page-products .products-hero-layout {
  display: grid;
  gap: 36px 48px;
  align-items: center;
}

.page-products .products-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.page-products .products-hero-title {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: #F7F3EF;
}

.page-products .products-hero-title br {
  display: block;
}

.page-products .products-hero-desc {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(247, 243, 239, 0.88);
}

.page-products .products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-products .products-hero-actions .btn {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.page-products .products-hero-actions .btn-primary {
  background: var(--brand);
  color: #2C2C2C;
}

.page-products .products-hero-actions .btn-primary:hover {
  background: #E55B2B;
  color: #F7F3EF;
  transform: translateY(-2px);
}

.page-products .products-hero-actions .btn-outline--light {
  border-color: rgba(247, 243, 239, 0.55);
  color: #F7F3EF;
}

.page-products .products-hero-actions .btn-outline--light:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.page-products .products-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
}

.page-products .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .hero-stat-num {
  order: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.1;
  color: var(--gold);
}

.page-products .hero-stat-label {
  order: 2;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(247, 243, 239, 0.72);
}

.page-products .products-hero-figure {
  margin: 0;
  border: 2px solid rgba(247, 243, 239, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.28);
}

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

.page-products .products-platforms {
  background: var(--paper);
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-products .products-section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.page-products .products-section-head--split {
  max-width: none;
  display: grid;
  gap: 24px;
  align-items: end;
}

.page-products .products-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.page-products .products-section-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  color: var(--ink);
}

.page-products .products-section-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(44, 44, 44, 0.78);
}

.page-products .products-platform-grid {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.page-products .products-platform-card {
  position: relative;
  background: #F7F3EF;
  border: 2px solid #2C2C2C;
  border-radius: 0 18px 18px 18px;
  padding: 26px 22px 24px;
  box-shadow: 6px 6px 0 rgba(44, 44, 44, 0.16);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.page-products .products-platform-card--ios {
  border-top: 6px solid #2C2C2C;
}

.page-products .products-platform-card--android {
  border-top: 6px solid #2E8B8B;
}

.page-products .products-platform-card--desktop {
  border-top: 6px solid #B39700;
}

.page-products .products-platform-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(44, 44, 44, 0.2);
}

.page-products .platform-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.page-products .platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #2C2C2C;
  background: #FFF0E8;
  border: 2px solid #2C2C2C;
  box-shadow: 3px 3px 0 rgba(255, 107, 53, 0.35);
}

.page-products .platform-card-title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
}

.page-products .platform-card-version {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(44, 44, 44, 0.68);
}

.page-products .platform-figure {
  margin: 0 0 18px;
  border: 2px solid #2C2C2C;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(44, 44, 44, 0.12);
}

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

.page-products .platform-feature-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .platform-feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(44, 44, 44, 0.86);
}

.page-products .platform-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.page-products .platform-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-products .platform-card-foot .btn {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--brand);
  color: #2C2C2C;
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.page-products .platform-card-foot .btn:hover {
  background: #E55B2B;
  color: #F7F3EF;
  transform: translateY(-2px);
}

.page-products .platform-download-tip {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(44, 44, 44, 0.55);
}

.page-products .products-compat {
  background: linear-gradient(180deg, #FFF0E8 0%, #F7F3EF 180px);
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-products .products-section-head--split {
  grid-template-columns: 1fr;
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .filter-bar .filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #D9CFC6;
  color: #2C2C2C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .filter-bar .filter-btn:hover {
  border-color: #FF6B35;
  color: #E55B2B;
}

.page-products .filter-bar .filter-btn.is-active {
  background: #2C2C2C;
  border-color: #2C2C2C;
  color: #F7F3EF;
}

.page-products .compat-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 2px solid #2C2C2C;
  border-radius: 8px;
  background: #F7F3EF;
  box-shadow: 8px 8px 0 rgba(255, 107, 53, 0.2);
  scroll-margin-top: 120px;
}

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

.page-products .compat-table th {
  background: #2C2C2C;
  color: #F7F3EF;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.page-products .compat-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #D9CFC6;
  line-height: 1.5;
  vertical-align: middle;
}

.page-products .compat-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .compat-table tbody tr:nth-child(even) {
  background: #FFF0E8;
}

.page-products .compat-table tbody tr:nth-child(odd) {
  background: #F7F3EF;
}

.page-products .compat-group:target,
.page-products .compat-group:target + tr {
  background: #FFF0E8 !important;
  box-shadow: inset 3px 0 0 #FF6B35;
}

.page-products .compat-platform {
  font-weight: 700;
  color: #2C2C2C;
  white-space: nowrap;
}

.page-products .compat-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(46, 139, 139, 0.12);
  color: #1E6E6E;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.page-products .compat-status--recommend {
  background: rgba(255, 215, 0, 0.22);
  color: #6B5B00;
}

.page-products .products-compat-note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.62);
}

.page-products .products-login {
  background: #1E1A16;
  color: #F7F3EF;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.page-products .products-login::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.page-products .products-login .products-eyebrow {
  color: var(--brand);
}

.page-products .products-login .products-section-title {
  color: #F7F3EF;
}

.page-products .products-login .products-section-desc {
  color: rgba(247, 243, 239, 0.78);
}

.page-products .login-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: none;
}

.page-products .login-step {
  position: relative;
  background: #2C2C2C;
  border: 2px solid rgba(247, 243, 239, 0.16);
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 4px 4px 0 rgba(255, 107, 53, 0.24);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-products .login-step:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(255, 107, 53, 0.3);
}

.page-products .login-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FF6B35;
  color: #2C2C2C;
  font-family: var(--font-head);
  font-size: 16px;
  margin-bottom: 14px;
}

.page-products .login-step-title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.25;
  color: #F7F3EF;
}

.page-products .login-step-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247, 243, 239, 0.72);
}

.page-products .login-flow-figure {
  margin: 36px 0 0;
  border: 2px solid rgba(247, 243, 239, 0.28);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.24);
}

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

.page-products .products-login-help {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 243, 239, 0.7);
}

.page-products .products-login-help a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .products-login-help a:hover {
  color: var(--brand);
}

.page-products .products-versions {
  background: #F7F3EF;
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-products .version-grid {
  display: grid;
  gap: 20px;
}

.page-products .version-card {
  position: relative;
  background: #F7F3EF;
  border: 2px solid #2C2C2C;
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 5px 5px 0 rgba(44, 44, 44, 0.14);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-products .version-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #FF6B35;
  border-radius: 0 0 6px 6px;
}

.page-products .version-card:hover {
  transform: translateY(-3px);
  box-shadow: 7px 8px 0 rgba(255, 107, 53, 0.18);
}

.page-products .version-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.page-products .version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background: #2C2C2C;
  color: #F7F3EF;
  font-family: var(--font-head);
  font-size: 15px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.page-products .version-card-title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.3;
  color: #2C2C2C;
}

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

.page-products .version-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.82);
}

.page-products .version-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B35;
}

.page-products .version-figure {
  margin: 36px auto 0;
  max-width: 620px;
  border: 2px solid #2C2C2C;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(255, 215, 0, 0.24);
}

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

.page-products .products-versions-more {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(44, 44, 44, 0.72);
}

.page-products .products-versions-more a {
  color: #E55B2B;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .products-versions-more a:hover {
  color: #FF6B35;
}

.page-products .products-explore {
  background: #FFF0E8;
  border-top: 2px solid #2C2C2C;
  padding-top: 44px;
  padding-bottom: 44px;
}

.page-products .products-explore-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.page-products .products-explore-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B39700;
}

.page-products .products-explore-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2C2C;
  max-width: 640px;
}

.page-products .products-explore .btn {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: #FFD700;
  color: #2C2C2C;
  border: 2px solid #2C2C2C;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-products .products-explore .btn:hover {
  background: #FF6B35;
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .page-products .products-hero {
    padding-top: 36px;
    padding-bottom: 72px;
  }

  .page-products .products-section-head--split {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-products .filter-bar {
    justify-content: flex-end;
  }

  .page-products .products-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .version-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .products-explore-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .page-products .products-platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

  .page-products .login-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-products .login-step {
    min-height: 220px;
  }

  .page-products .login-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -21px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 700;
    color: #FF6B35;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
  }
}

@media (min-width: 1100px) {
  .page-products .version-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .products-hero::before {
    font-size: 240px;
    right: 40px;
    bottom: -70px;
  }
}

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