
body.products-page {
  background: var(--bg, #fafbfd);
}

.products-page {
  overflow-x: clip;
}

.products-hero {
  position: relative;
  padding: clamp(72px, 10vw, 112px) 0 clamp(32px, 5vw, 48px);
}

.products-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.products-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.products-hero__orb--1 {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  top: -10%;
  right: -8%;
  background: rgba(175, 26, 21, 0.18);
}

.products-hero__orb--2 {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  bottom: -20%;
  left: -6%;
  background: rgba(21, 101, 192, 0.14);
}

.products-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}

.products-hero__inner {
  position: relative;
  z-index: 1;
}

.products-hero__title {
  max-width: 18ch;
  margin-inline: auto;
}

.products-hero__desc {
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.9;
}

.products-hero__note {
  margin: 18px auto 0;
  max-width: 46ch;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(175, 26, 21, 0.06);
  border: 1px solid rgba(175, 26, 21, 0.12);
  color: var(--text-muted, #5a6578);
  font-size: 0.95rem;
  line-height: 1.8;
}

.products-intro {
  padding-top: 0;
}

.products-intro__box {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.products-intro__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand, #af1a15);
}

.products-intro__title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.35;
}

.products-intro__desc {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--text-muted, #5a6578);
  line-height: 1.9;
  font-size: 1rem;
}

.products-grid {
  position: relative;
}

.products-grid__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}

.products-grid__list--compact .products-card {
  padding: clamp(18px, 2.5vw, 22px);
}

.products-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 3vw, 28px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.products-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand, #af1a15), #e65100);
  opacity: 0.85;
}

.products-card--lang::before {
  background: linear-gradient(90deg, #1565c0, #42a5f5);
}

.products-card--growth::before {
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
}

.products-card--digital::before {
  background: linear-gradient(90deg, #6a1b9a, #ab47bc);
}

.products-card__glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 26, 21, 0.08), transparent 70%);
  pointer-events: none;
}

.products-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
  border-color: rgba(175, 26, 21, 0.18);
}

.products-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.products-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.products-card__badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-muted, #5a6578);
  white-space: nowrap;
}

.products-card__subtitle {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #5a6578);
}

.products-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.products-card__summary {
  margin: 0 0 14px;
  color: var(--text-muted, #5a6578);
  line-height: 1.85;
  font-size: 0.95rem;
  flex: 1;
}

.products-card__highlights {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.products-card__highlights li {
  position: relative;
  padding-right: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text, #1e293b);
}

.products-card__highlights li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand, #af1a15);
}

.products-card--lang .products-card__highlights li::before { background: #1565c0; }
.products-card--growth .products-card__highlights li::before { background: #2e7d32; }
.products-card--digital .products-card__highlights li::before { background: #6a1b9a; }

.products-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 800;
  color: var(--brand, #af1a15);
  transition: gap 0.2s ease;
}

.products-card__cta:hover {
  gap: 12px;
}

.products-cta {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.products-cta__box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  overflow: hidden;
}

.products-cta__glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 26, 21, 0.35), transparent 70%);
  pointer-events: none;
}

.products-cta__content {
  position: relative;
  z-index: 1;
  max-width: 52ch;
}

.products-cta__content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 900;
}

.products-cta__content p {
  margin: 0;
  line-height: 1.85;
  color: rgba(248, 250, 252, 0.82);
}

.products-cta__box .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.products-detail-hero {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(28px, 4vw, 40px);
}

.products-detail-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.products-detail-hero__orb {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  background: rgba(175, 26, 21, 0.22);
}

.products-detail--lang .products-detail-hero__orb { background: rgba(21, 101, 192, 0.22); }
.products-detail--growth .products-detail-hero__orb { background: rgba(46, 125, 50, 0.22); }
.products-detail--digital .products-detail-hero__orb { background: rgba(106, 27, 154, 0.22); }

.products-detail-hero__inner {
  position: relative;
  z-index: 1;
}

.products-detail-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--text-muted, #5a6578);
  transition: color 0.2s ease;
}

.products-detail-hero__back:hover {
  color: var(--brand, #af1a15);
}

.products-detail-hero__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 28px);
}

.products-detail-hero__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(72px, 12vw, 96px);
  height: clamp(72px, 12vw, 96px);
  border-radius: 24px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.products-detail-hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand, #af1a15);
}

.products-detail-hero__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
}

.products-detail-hero__subtitle {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted, #5a6578);
}

.products-detail-hero__intro {
  margin: 0;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted, #5a6578);
}

.products-detail-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.products-detail-body__main {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.products-detail-body__content p,
.products-detail-body__secondary p {
  margin: 0;
  line-height: 2;
  font-size: 1.02rem;
  color: var(--text, #1e293b);
}

.products-detail-body__secondary {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.products-detail-highlights {
  padding: clamp(22px, 3vw, 28px);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.products-detail-highlights h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 900;
}

.products-detail-highlights ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.products-detail-highlights li {
  position: relative;
  padding-right: 22px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.products-detail-highlights li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 900;
  color: var(--brand, #af1a15);
}

.products-detail--lang .products-detail-highlights li::before { color: #1565c0; }
.products-detail--growth .products-detail-highlights li::before { color: #2e7d32; }
.products-detail--digital .products-detail-highlights li::before { color: #6a1b9a; }

.products-detail-highlights .btn {
  width: 100%;
  justify-content: center;
}

.products-detail-related__head {
  margin-bottom: 24px;
  text-align: center;
}

.products-detail-related__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 900;
}

.products-detail-related__head p {
  margin: 0;
  color: var(--text-muted, #5a6578);
}

@media (max-width: 1024px) {
  .products-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-detail-body__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .products-grid__list {
    grid-template-columns: 1fr;
  }

  .products-detail-hero__head {
    flex-direction: column;
  }

  .products-cta__box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .products-cta__box .btn {
    width: 100%;
    justify-content: center;
  }
}

[data-theme='dark'] .products-intro__box,
[data-theme='dark'] .products-card,
[data-theme='dark'] .products-detail-body__main,
[data-theme='dark'] .products-detail-highlights,
[data-theme='dark'] .products-detail-hero__icon {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.12);
}

[data-theme='dark'] .products-hero__note {
  background: rgba(175, 26, 21, 0.12);
  border-color: rgba(175, 26, 21, 0.2);
}
