/* Product module and industry detail pages */
.detail-topline {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 92px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs,
.detail-switcher {
  display: flex;
  align-items: center;
}

.breadcrumbs {
  gap: 9px;
  color: #7b8799;
  font-size: 12px;
}

.breadcrumbs a { transition: color 160ms ease; }
.breadcrumbs a:hover { color: var(--blue-deep); }
.breadcrumbs span[aria-current="page"] { color: #39465a; }

.detail-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8faff;
}

.detail-switcher a {
  padding: 6px 10px;
  color: #68758a;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.detail-switcher a:hover { color: var(--ink); }
.detail-switcher a[aria-current="page"] { color: var(--blue-deep); background: #fff; box-shadow: 0 3px 12px rgba(32, 68, 130, 0.1); }

.detail-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(410px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 76px;
  padding-top: 72px;
  padding-bottom: 110px;
}

.detail-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 4.7vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.052em;
}

.detail-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #657187;
  font-size: 18px;
  line-height: 1.82;
}

.detail-hero-visual {
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-window);
}

.detail-hero-visual > img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  object-position: top center;
}

.detail-hero-visual-tall {
  width: min(520px, 100%);
  justify-self: center;
}

.detail-hero-visual-tall > img {
  height: min(560px, 70vh);
  aspect-ratio: auto;
  object-fit: contain;
  background: #f8faff;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 124px;
}

.detail-facts article {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 26px 36px;
  border: 1px solid var(--line);
  border-right: 0;
}

.detail-facts article:first-child { border-radius: 18px 0 0 18px; }
.detail-facts article:last-child { border-right: 1px solid var(--line); border-radius: 0 18px 18px 0; }
.detail-facts span { color: #8a96a9; font-size: 11px; letter-spacing: 0.08em; }
.detail-facts strong { color: var(--ink); font-size: 18px; line-height: 1.45; }

.detail-capabilities {
  padding: 132px 0 140px;
  background: var(--paper);
}

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 68px;
}

.detail-card-grid article {
  min-height: 240px;
  padding: 38px 40px;
  border: 1px solid #e1e7f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.detail-card-grid article:hover { transform: translateY(-3px); border-color: #c9d8ef; box-shadow: 0 18px 45px rgba(34, 63, 108, 0.08); }
.detail-card-grid article > span { color: var(--blue); font-family: var(--font-mono); font-size: 11px; }
.detail-card-grid h3 { margin: 46px 0 12px; font-size: 23px; }
.detail-card-grid p { margin: 0; color: #69768b; line-height: 1.78; }

.module-workflow {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(560px, 1.28fr);
  gap: 104px;
  padding-top: 142px;
  padding-bottom: 142px;
}

.module-workflow-intro { align-self: start; position: sticky; top: 128px; }
.module-workflow-intro h2 { max-width: 430px; margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.14; }
.detail-tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.detail-tag-list span { padding: 7px 10px; color: #5f6d83; border: 1px solid #dce4ef; border-radius: 999px; background: #fff; font-size: 11px; }

.module-workflow-list,
.industry-workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-workflow-list li,
.industry-workflow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.module-workflow-list li:last-child,
.industry-workflow-list li:last-child { border-bottom: 1px solid var(--line); }
.module-workflow-list li > span,
.industry-workflow-list li > span { color: var(--blue); font-family: var(--font-mono); font-size: 11px; padding-top: 6px; }
.module-workflow-list h3,
.industry-workflow-list h3 { margin: 0 0 8px; font-size: 22px; }
.module-workflow-list p,
.industry-workflow-list p { margin: 0; color: #6b778b; line-height: 1.75; }

.detail-output { padding: 126px 0; background: #edf5ff; }
.detail-output-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 92px; }
.detail-output-copy h2 { max-width: 560px; margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.13; }
.detail-output-copy .check-list { margin-top: 34px; }
.detail-output-visual { min-height: 380px; position: relative; }
.output-result-card,
.output-report-card { position: absolute; border: 1px solid #d4e1f2; background: rgba(255, 255, 255, 0.94); box-shadow: 0 24px 70px rgba(44, 75, 126, 0.14); }
.output-result-card { inset: 18px 90px 52px 0; padding: 38px; border-radius: 24px; }
.output-result-card span,
.output-report-card span { display: block; color: #78869a; font-size: 11px; letter-spacing: 0.07em; }
.output-result-card strong { display: block; margin: 16px 0 42px; color: var(--ink); font-size: 25px; }
.output-result-card i { width: 82%; height: 8px; display: block; margin-top: 13px; border-radius: 999px; background: #dfe9f7; }
.output-result-card i:nth-of-type(2) { width: 64%; background: #bfd2ef; }
.output-result-card i:nth-of-type(3) { width: 73%; background: #d7e4f5; }
.output-report-card { right: 0; bottom: 0; width: 270px; padding: 24px; border-radius: 18px; }
.output-report-card img { float: left; margin-right: 12px; }
.output-report-card strong { display: block; clear: both; padding-top: 20px; color: var(--ink); font-size: 15px; }

.detail-pagination {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 110px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}

.detail-pagination a { min-height: 116px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 30px; background: #fff; transition: background 160ms ease; }
.detail-pagination a:hover { background: #f5f8fd; }
.detail-pagination a:last-child { text-align: right; align-items: flex-end; }
.detail-pagination-overview { text-align: center !important; align-items: center !important; }
.detail-pagination span { color: #8a96a8; font-size: 10px; letter-spacing: 0.08em; }
.detail-pagination strong { color: var(--ink); font-size: 15px; }

.industry-solution-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 78px;
  padding-top: 76px;
  padding-bottom: 116px;
}

.industry-solution-copy h1 { margin: 0; font-size: clamp(48px, 5vw, 70px); line-height: 1.08; letter-spacing: -0.055em; }
.industry-solution-copy h1 span { color: var(--blue); }
.industry-solution-copy > p:not(.eyebrow) { max-width: 640px; margin: 28px 0 0; color: #647187; font-size: 18px; line-height: 1.82; }

.industry-solution-map { min-height: 520px; position: relative; border-radius: 50%; background: radial-gradient(circle, rgba(33, 100, 249, 0.1) 0 18%, rgba(33, 100, 249, 0.04) 18% 42%, transparent 42%), repeating-radial-gradient(circle, transparent 0 84px, rgba(44, 91, 170, 0.1) 85px 86px); }
.industry-solution-map::before,
.industry-solution-map::after { position: absolute; content: ""; inset: 12%; border: 1px dashed rgba(33, 100, 249, 0.2); border-radius: 50%; }
.industry-solution-map::after { inset: 27%; }
.industry-map-core { position: absolute; z-index: 2; top: 50%; left: 50%; width: 190px; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translate(-50%, -50%); border: 1px solid #dce5f2; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft); }
.industry-map-core img { width: 58px; height: 58px; }
.industry-map-core strong { margin-top: 12px; color: var(--ink); font-size: 17px; }
.industry-map-core span { color: #7a8799; font-size: 11px; }
.industry-map-node { position: absolute; z-index: 3; max-width: 156px; padding: 10px 14px; color: #526078; border: 1px solid #dbe4f0; border-radius: 999px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 9px 24px rgba(35, 66, 113, 0.08); font-size: 12px; text-align: center; }
.industry-map-node-1 { top: 9%; left: 50%; transform: translateX(-50%); }
.industry-map-node-2 { top: 46%; right: 0; }
.industry-map-node-3 { bottom: 7%; left: 50%; transform: translateX(-50%); }
.industry-map-node-4 { top: 46%; left: 0; }

.industry-challenges { padding: 132px 0 142px; background: var(--paper); }
.industry-challenge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 64px; }
.industry-challenge-grid article { min-height: 148px; display: grid; grid-template-columns: 44px 1fr; gap: 22px; align-items: start; padding: 30px 34px; border: 1px solid #e0e6ef; border-radius: 18px; background: #fff; }
.industry-challenge-grid span { color: var(--blue); font-family: var(--font-mono); font-size: 11px; padding-top: 3px; }
.industry-challenge-grid p { margin: 0; color: #4e5c72; font-size: 17px; line-height: 1.7; }

.industry-modules { padding-top: 142px; padding-bottom: 142px; }
.industry-module-list { margin-top: 72px; border-top: 1px solid var(--line); }
.industry-module-list > a { min-height: 156px; display: grid; grid-template-columns: 48px 1fr 40px; align-items: center; gap: 26px; padding: 28px 22px; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding 180ms ease; }
.industry-module-list > a:hover { padding-inline: 30px; background: #f7faff; }
.industry-module-list .module-icon { width: 42px; height: 42px; }
.industry-module-list small { color: #9aa5b5; font-family: var(--font-mono); font-size: 10px; }
.industry-module-list h3 { margin: 2px 0 7px; font-size: 23px; }
.industry-module-list p { max-width: 840px; margin: 0; color: #6e7a8e; font-size: 14px; }
.industry-module-list b { color: var(--blue); font-size: 18px; font-weight: 500; }

.industry-workflow { padding: 136px 0; background: #0f1725; }
.industry-workflow-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 100px; }
.industry-workflow-copy .eyebrow { color: #7fa8ff; }
.industry-workflow-copy h2 { max-width: 500px; margin: 0; color: #fff; font-size: clamp(38px, 4vw, 54px); line-height: 1.13; }
.industry-workflow-copy > p:not(.eyebrow) { max-width: 470px; margin: 24px 0 0; color: #91a0b5; line-height: 1.8; }
.industry-workflow-list li { border-color: #293549; }
.industry-workflow-list li:last-child { border-color: #293549; }
.industry-workflow-list h3 { color: #fff; }
.industry-workflow-list p { color: #93a1b5; }
.industry-workflow-list li > span { color: #74a0ff; }

.industry-deliverables { padding-top: 132px; padding-bottom: 20px; }
.industry-deliverable-card { display: grid; grid-template-columns: 1fr 0.92fr; align-items: center; gap: 74px; padding: 62px 68px; border-radius: 28px; background: #edf5ff; }
.industry-deliverable-card h2 { max-width: 620px; margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.15; }
.industry-deliverable-card .check-list { margin: 0; }

.feature-detail-button,
.industry-detail-button { width: fit-content; margin-top: 28px; }

@media (max-width: 1120px) {
  .detail-hero { grid-template-columns: minmax(360px, 0.88fr) minmax(470px, 1.12fr); gap: 46px; }
  .industry-solution-hero { grid-template-columns: minmax(390px, 0.95fr) minmax(430px, 1.05fr); gap: 46px; }
  .module-workflow,
  .industry-workflow-layout { gap: 62px; }
}

@media (max-width: 1060px) {
  .detail-topline { min-height: auto; align-items: flex-start; flex-direction: column; gap: 18px; padding-top: 96px; padding-bottom: 22px; }
  .detail-switcher { max-width: 100%; overflow-x: auto; }
  .detail-hero,
  .industry-solution-hero { min-height: auto; grid-template-columns: 1fr; gap: 58px; padding-top: 70px; }
  .detail-hero-copy,
  .industry-solution-copy { max-width: 760px; }
  .detail-hero-visual { width: min(820px, 100%); margin-inline: auto; }
  .detail-facts { padding-bottom: 104px; }
  .module-workflow,
  .industry-workflow-layout,
  .detail-output-layout { grid-template-columns: 1fr; gap: 60px; }
  .module-workflow-intro { position: static; }
  .detail-output-visual { width: min(680px, 100%); }
  .industry-solution-map { width: min(620px, 100%); min-height: 560px; margin-inline: auto; }
  .industry-deliverable-card { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 720px) {
  .detail-topline { padding-top: 86px; }
  .breadcrumbs { max-width: 100%; overflow-x: auto; white-space: nowrap; }
  .detail-switcher { width: 100%; border-radius: 14px; }
  .detail-switcher a { flex: 0 0 auto; }
  .detail-hero,
  .industry-solution-hero { padding-top: 52px; padding-bottom: 84px; }
  .detail-hero-copy h1,
  .industry-solution-copy h1 { font-size: 42px; }
  .detail-lead,
  .industry-solution-copy > p:not(.eyebrow) { font-size: 16px; }
  .detail-hero-visual { border-radius: 15px; }
  .detail-hero-visual-tall > img { height: min(490px, 68vh); }
  .detail-facts { grid-template-columns: 1fr; gap: 0; padding-bottom: 88px; }
  .detail-facts article { min-height: 104px; border-right: 1px solid var(--line); border-bottom: 0; border-radius: 0 !important; }
  .detail-facts article:first-child { border-radius: 15px 15px 0 0 !important; }
  .detail-facts article:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 15px 15px !important; }
  .detail-capabilities,
  .industry-challenges { padding: 94px 0; }
  .detail-card-grid,
  .industry-challenge-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .detail-card-grid article { min-height: 210px; padding: 30px 26px; }
  .detail-card-grid h3 { margin-top: 34px; }
  .module-workflow,
  .industry-modules { padding-top: 96px; padding-bottom: 96px; }
  .module-workflow-list li,
  .industry-workflow-list li { grid-template-columns: 38px 1fr; gap: 14px; }
  .detail-output { padding: 92px 0; }
  .detail-output-visual { min-height: 340px; }
  .output-result-card { inset: 0 28px 58px 0; padding: 28px; }
  .output-report-card { width: 235px; padding: 20px; }
  .detail-pagination { grid-template-columns: 1fr; margin-top: 82px; }
  .detail-pagination a { min-height: 90px; text-align: left !important; align-items: flex-start !important; }
  .industry-solution-map { min-height: 420px; }
  .industry-map-core { width: 150px; height: 150px; }
  .industry-map-core img { width: 46px; height: 46px; }
  .industry-map-node { max-width: 122px; padding: 8px 10px; font-size: 10px; }
  .industry-challenge-grid article { min-height: 130px; grid-template-columns: 34px 1fr; padding: 26px 22px; }
  .industry-challenge-grid p { font-size: 15px; }
  .industry-module-list { margin-top: 50px; }
  .industry-module-list > a { grid-template-columns: 40px 1fr 22px; gap: 16px; padding: 22px 6px; }
  .industry-module-list > a:hover { padding-inline: 10px; }
  .industry-module-list .module-icon { width: 36px; height: 36px; }
  .industry-module-list h3 { font-size: 20px; }
  .industry-workflow { padding: 96px 0; }
  .industry-deliverable-card { padding: 38px 26px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-card-grid article,
  .industry-module-list > a { transition: none; }
}
