.product-archive,
.product-detail {
  --product-gutter: clamp(20px, 4vw, 40px);
  --product-section: clamp(72px, 9vw, 112px);
  --product-card-radius: 8px;
  --product-surface: #f7f9fc;
  --product-accent-soft: #eef6ff;
  color: var(--text);
  background: var(--paper);
}

.product-archive-hero,
.product-hero {
  padding: 142px var(--product-gutter) 76px;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(245, 248, 251, 0.95) 100%);
}

.product-archive-hero-inner,
.product-hero-inner,
.product-overview-layout,
.product-cta-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.product-archive-hero-inner,
.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.64fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.product-archive-copy h1,
.product-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

.product-archive-copy p,
.product-hero-subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: #24364c;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 750;
  line-height: 1.6;
}

.product-hero-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #5d6d82;
  font-size: 13px;
  font-weight: 750;
}

.product-breadcrumb a:hover {
  color: var(--blue);
}

.hero-actions,
.product-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-hero-meta span,
.product-card-tags span,
.filter-pill,
.product-feature-nav span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 27, 49, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
  color: #235b8f;
  background: #f2f7ff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.product-hero-visual {
  min-width: 0;
}

.product-hero-image,
.product-dashboard-mock {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(7, 27, 49, 0.1);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 27, 49, 0.14);
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.product-dashboard-mock {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
}

.mock-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 18px;
  background: var(--navy);
}

.mock-sidebar span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.mock-sidebar span:first-child {
  height: 28px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.mock-content {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.mock-topline,
.mock-kpis,
.mock-table {
  display: grid;
  gap: 12px;
}

.mock-topline {
  grid-template-columns: 1fr 96px;
}

.mock-topline span,
.mock-kpis span,
.mock-table span,
.product-card-screen span {
  border-radius: 8px;
  background: #e9f1fb;
}

.mock-topline span {
  height: 18px;
}

.mock-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-kpis span {
  min-height: 74px;
  background: #f3f7fc;
}

.mock-chart {
  display: flex;
  height: 112px;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e6edf6;
  border-radius: 8px;
  background: #fff;
}

.mock-chart span {
  flex: 1;
  min-height: 28px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.mock-chart span:nth-child(2) { min-height: 74px; }
.mock-chart span:nth-child(3) { min-height: 48px; }
.mock-chart span:nth-child(4) { min-height: 96px; }
.mock-chart span:nth-child(5) { min-height: 62px; }

.mock-table span {
  height: 36px;
  background: #fff;
  border: 1px solid #e6edf6;
}

.product-archive-metrics {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.product-archive-metrics span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.product-archive-metrics span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-archive-metrics strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.product-archive-section,
.product-section {
  padding: var(--product-section) var(--product-gutter);
}

.product-section:nth-of-type(even),
.product-feature-section,
.product-faq-section {
  background: var(--product-surface);
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: min(var(--container), 100%);
  margin: 0 auto 34px;
  padding: 16px;
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 27, 49, 0.07);
}

.product-filter-label {
  margin-right: 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(7, 27, 49, 0.1);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 27, 49, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(23, 109, 255, 0.28);
  box-shadow: 0 26px 60px rgba(7, 27, 49, 0.13);
  transform: translateY(-5px);
}

.product-card-media {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line-soft);
  background: #f4f8fd;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-screen {
  display: grid;
  grid-template-columns: 58px 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
  padding: 18px;
}

.product-card-screen .screen-nav {
  grid-row: 1 / span 2;
  background: var(--navy);
}

.product-card-screen .screen-panel {
  min-height: 54px;
  background: #fff;
  border: 1px solid #e4ebf5;
}

.product-card-screen .screen-chart {
  grid-column: 2 / span 2;
  background: linear-gradient(135deg, rgba(23, 109, 255, 0.18), rgba(16, 185, 200, 0.18)), #fff;
  border: 1px solid #dbe7f4;
}

.product-card-body {
  display: flex;
  min-height: 260px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.product-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.28;
}

.product-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.product-card .text-link {
  position: relative;
  z-index: 2;
}

.product-archive-cta {
  display: flex;
  width: min(var(--container), 100%);
  margin: 46px auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: linear-gradient(135deg, #f7fbff 0%, #fff 100%);
  box-shadow: var(--shadow-soft);
}

.product-archive-cta h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.22;
}

.product-archive-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-section-heading {
  width: min(780px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.product-section-heading.align-left {
  margin: 0;
  text-align: left;
}

.product-section-heading span,
.product-cta-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.product-section-heading h2,
.product-cta-copy h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.product-section-heading p,
.product-cta-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.product-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.58fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.product-overview-content {
  width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.post-content {
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.post-content > * + * {
  margin-top: 1.05em;
}

.post-content h2,
.post-content h3 {
  color: var(--navy);
  line-height: 1.3;
}

.post-content h2 {
  font-size: 28px;
}

.post-content h3 {
  font-size: 22px;
}

.post-content a {
  color: var(--blue);
  font-weight: 800;
}

.product-value-grid,
.scenario-list,
.product-tech-grid {
  display: grid;
  width: min(var(--container), 100%);
  margin: 0 auto;
  gap: 18px;
}

.product-value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-value-card,
.scenario-list article,
.product-tech-card,
.faq-list details {
  border: 1px solid rgba(7, 27, 49, 0.09);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 27, 49, 0.07);
}

.product-value-card {
  padding: 24px;
}

.value-number {
  display: block;
  margin-bottom: 30px;
  color: rgba(23, 109, 255, 0.78);
  font-size: 13px;
  font-weight: 950;
}

.product-value-card h3,
.scenario-list h3,
.product-tech-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.3;
}

.product-value-card p,
.scenario-list p,
.product-tech-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.product-feature-shell {
  width: min(var(--container), 100%);
  margin: 0 auto;
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-feature-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.product-feature-nav span:first-child {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.product-feature-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.product-feature-group {
  padding: 26px;
  border-right: 1px solid var(--line-soft);
}

.product-feature-group:last-child {
  border-right: 0;
}

.product-feature-group h3 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 23px;
}

.product-feature-list {
  display: grid;
  gap: 18px;
}

.product-feature-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}

.product-feature-item > span {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 5px solid #dff3f6;
  border-radius: 50%;
  background: var(--cyan);
}

.product-feature-item h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.35;
}

.product-feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.scenario-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-list article,
.product-tech-card {
  padding: 22px;
}

.product-scenario-icon,
.product-tech-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 109, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 44%, rgba(23, 109, 255, 0.22) 44%, rgba(23, 109, 255, 0.22) 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(16, 185, 200, 0.22) 44%, rgba(16, 185, 200, 0.22) 56%, transparent 56%),
    #f4f9ff;
}

.product-tech-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-cta-section {
  padding: var(--product-section) var(--product-gutter);
  background: #fff;
}

.product-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(7, 27, 49, 0.08);
  border-radius: var(--product-card-radius);
  background: linear-gradient(135deg, #f5f9ff 0%, #fff 68%);
  box-shadow: var(--shadow-soft);
}

.product-cta-copy {
  max-width: 760px;
}

.product-cta-copy h2 {
  margin-bottom: 12px;
}

.product-cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .product-grid,
  .product-feature-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-value-grid,
  .scenario-list,
  .product-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-feature-group:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .product-archive-hero-inner,
  .product-hero-inner,
  .product-overview-layout,
  .product-cta-inner,
  .product-archive-cta {
    grid-template-columns: 1fr;
  }

  .product-archive-hero-inner,
  .product-hero-inner,
  .product-overview-layout {
    display: grid;
  }

  .product-archive-cta,
  .product-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-hero-image,
  .product-dashboard-mock,
  .product-hero-image img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .product-archive,
  .product-detail {
    --product-gutter: 16px;
    --product-section: 64px;
  }

  .product-archive-hero,
  .product-hero {
    padding-top: 118px;
    padding-bottom: 56px;
  }

  .product-archive-copy h1,
  .product-hero h1 {
    font-size: 40px;
  }

  .product-archive-copy p,
  .product-hero-subtitle {
    font-size: 17px;
  }

  .product-grid,
  .product-value-grid,
  .product-feature-groups,
  .scenario-list,
  .product-tech-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-group,
  .product-feature-group:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .product-feature-group:last-child {
    border-bottom: 0;
  }

  .product-card-body {
    min-height: 0;
  }

  .product-filter,
  .product-archive-cta,
  .product-cta-inner,
  .product-overview-content {
    padding: 20px;
  }

  .product-filter-label {
    flex: 1 0 100%;
  }

  .product-dashboard-mock {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .mock-content {
    padding: 18px;
  }

  .mock-kpis {
    grid-template-columns: 1fr;
  }

  .mock-kpis span:nth-child(n+3) {
    display: none;
  }

  .product-section-heading h2,
  .product-cta-copy h2 {
    font-size: 29px;
  }

  .product-cta-actions,
  .hero-actions {
    width: 100%;
  }

  .product-cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }
}
