/* Product page theme accents */
.theme-gov {
  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: #f0fdfa;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
}

.theme-gov .product-kicker {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.theme-gov .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(15, 118, 110, 0.16), rgba(20, 184, 166, 0.1));
}

.theme-care {
  --accent: #0284c7;
  --accent-strong: #0369a1;
  --accent-soft: #e0f2fe;
  --teal-700: #0369a1;
  --teal-600: #0284c7;
}

.theme-care .product-kicker {
  background: rgba(3, 105, 161, 0.1);
  color: #0369a1;
}

.theme-care .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(3, 105, 161, 0.16), rgba(14, 165, 233, 0.1));
}

.theme-udi {
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #dbeafe;
  --teal-700: #1d4ed8;
  --teal-600: #2563eb;
}

.theme-udi .product-kicker {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

.theme-udi .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(29, 78, 216, 0.16), rgba(59, 130, 246, 0.1));
}

.theme-water {
  --accent: #0891b2;
  --accent-strong: #0e7490;
  --accent-soft: #cffafe;
  --teal-700: #0e7490;
  --teal-600: #0891b2;
}

.theme-water .product-kicker {
  background: rgba(8, 145, 178, 0.12);
  color: #0e7490;
}

.theme-water .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(8, 145, 178, 0.16), rgba(34, 211, 238, 0.1));
}

.theme-jxg {
  --accent: #d97706;
  --accent-strong: #b45309;
  --accent-soft: #ffedd5;
  --teal-700: #b45309;
  --teal-600: #d97706;
}

.theme-jxg .product-kicker {
  background: rgba(180, 83, 9, 0.1);
  color: #b45309;
}

.theme-jxg .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(180, 83, 9, 0.14), rgba(251, 191, 36, 0.1));
}

.theme-lock {
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: #e0e7ff;
  --teal-700: #4338ca;
  --teal-600: #4f46e5;
}

.theme-lock .product-kicker {
  background: rgba(67, 56, 202, 0.1);
  color: #4338ca;
}

.theme-lock .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(67, 56, 202, 0.14), rgba(99, 102, 241, 0.1));
}

.theme-hospital {
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #ccfbf1;
  --teal-700: #115e59;
  --teal-600: #0f766e;
}

.theme-hospital .product-kicker {
  background: rgba(17, 94, 89, 0.1);
  color: #115e59;
}

.theme-hospital .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(17, 94, 89, 0.14), rgba(45, 212, 191, 0.1));
}

.theme-blood {
  --accent: #0e7490;
  --accent-strong: #0a3d5c;
  --accent-soft: #e0f2fe;
  --teal-700: #0a3d5c;
  --teal-600: #0e7490;
}

.theme-blood .product-kicker {
  background: rgba(10, 61, 92, 0.1);
  color: #0a3d5c;
}

.theme-blood .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    linear-gradient(145deg, rgba(10, 61, 92, 0.16), rgba(185, 28, 28, 0.08));
}

.theme-work {
  --accent: #3b82f6;
  --accent-strong: #1e40af;
  --accent-soft: #dbeafe;
  --teal-700: #1e3a8a;
  --teal-600: #1e40af;
}

.theme-work .product-kicker {
  background: rgba(30, 64, 175, 0.1);
  color: #1e40af;
}

.theme-work .product-hero-visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    linear-gradient(145deg, rgba(30, 64, 175, 0.14), rgba(99, 102, 241, 0.1));
}

/* ========== Product page shared ========== */
.product-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 72px;
  overflow: hidden;
}

.product-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.breadcrumb a:hover {
  color: var(--accent-strong);
}

.breadcrumb .sep {
  opacity: 0.45;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-700);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.product-hero h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
  line-height: 1.3;
  color: var(--ink-950);
}

.product-hero .lead {
  margin-top: 16px;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: var(--tracking-cn);
  color: var(--teal-700);
}

.product-hero .desc {
  margin-top: 14px;
  max-width: 540px;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: var(--tracking-tight);
  color: var(--text-secondary);
}

.product-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(15, 118, 110, 0.2), rgba(2, 132, 199, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 28px;
}

.flow-stack {
  display: grid;
  gap: 12px;
  height: 100%;
  align-content: center;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateX(0);
  animation: slide-soft 0.8s var(--ease) both;
}

.flow-step:nth-child(2) {
  animation-delay: 0.08s;
}
.flow-step:nth-child(3) {
  animation-delay: 0.16s;
}
.flow-step:nth-child(4) {
  animation-delay: 0.24s;
}

.flow-step .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-strong, #0f766e);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.flow-step strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.flow-step span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

@keyframes slide-soft {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
}

.value-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.75;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.arch-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.arch-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f4f8fb);
  border: 1px solid var(--border);
}

.arch-card .role {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.arch-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
}

.arch-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.scenario-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.scenario-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
}

.scenario-card .sub {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--teal-700);
  font-weight: 600;
}

.scenario-card ol {
  margin-top: 18px;
  counter-reset: step;
}

.scenario-card li {
  position: relative;
  padding: 10px 0 10px 36px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}

.scenario-card li:last-child {
  border-bottom: 0;
}

.scenario-card li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ink-100);
  color: var(--ink-800);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14);
  flex-shrink: 0;
}

.feature-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink-900);
}

.feature-list span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.status-table th,
.status-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.status-table th {
  background: var(--surface-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-table tr:last-child td {
  border-bottom: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: block;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--card-accent, var(--accent));
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card .product-sector {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.related-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.related-card .slogan {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.related-card .product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-strong);
}

.related-card .product-link svg {
  width: 14px;
  height: 14px;
}

.nav-email {
  display: none;
}

@media (min-width: 1100px) {
  .nav-email {
    display: inline-flex;
  }
}

.closing-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.closing-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: var(--tracking-cn);
  line-height: 1.55;
  color: var(--ink-900);
}

.closing-quote span {
  display: block;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .product-hero-grid,
  .value-grid,
  .arch-grid,
  .arch-grid-4,
  .scenario-grid,
  .feature-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-visual {
    min-height: auto;
  }
}

@media (max-width: 1100px) {
  .arch-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
