﻿/* Jupiter Core Workflow page ??standalone product deep-dive. Do not affect other pages. */

.jupiter-workflow-page {
  font-family: var(--font-sans, 'Inter', sans-serif);
  color: var(--color-dark, #2c3e50);
  background: #fff;
}

html { scroll-behavior: smooth; }

/* ----- Header ----- */
.wf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.wf-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wf-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.wf-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.wf-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.wf-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark, #2c3e50);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wf-nav a:hover,
.wf-nav-active {
  color: var(--color-primary, #22b07d) !important;
}

.wf-cta {
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wf-cta:hover {
  opacity: 0.95;
}

/* ----- Hero ----- */
.wf-hero {
  background-color: #0f3d47;
  background-image: url('../images/jupiter-workflow-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 80px 24px 72px;
}

.wf-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wf-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.wf-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 32px;
  line-height: 1.5;
  opacity: 0.95;
}

.wf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wf-hero-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ----- Body: sticky TOC + content ----- */
.wf-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 56px 20px 72px;
  align-items: start;
}

.wf-toc {
  position: sticky;
  top: 72px;
  border-right: 1px solid #e6e6e6;
  padding-right: 30px;
}

.wf-toc-nav {
  padding: 0;
}

.wf-toc-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark, #2c3e50);
  margin: 0 0 30px;
  padding: 0;
}

.wf-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-toc-nav li {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #e6e6e6;
}

.wf-toc-nav li:last-child {
  border-bottom: none;
}

.wf-toc-nav a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.2s ease;
}

.wf-toc-nav a:hover {
  color: #0f766e;
}

.wf-toc-nav a.wf-toc-active {
  color: #0f766e;
  font-weight: 600;
}

.wf-toc-mobile-wrap {
  display: none;
  padding: 0 0 24px;
}

.wf-toc-mobile-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.wf-toc-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: var(--color-dark);
  cursor: pointer;
}

/* ----- Content: Vertical Timeline ----- */
.wf-content {
  min-width: 0;
  padding-left: 40px;
  padding-right: 20px;
}

.wf-timeline-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.wf-timeline-intro-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-dark, #2c3e50);
  margin: 0 0 16px;
}

.wf-timeline-intro-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-muted, #6c757d);
  margin: 0;
}

.wf-timeline-intro-divider {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 32px auto 0;
  max-width: 120px;
}

.wf-timeline {
  position: relative;
  padding: 0 0 48px;
}

.wf-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
  transform: translateX(-50%);
  z-index: 0;
}

.wf-timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  background: var(--color-primary, #22b07d);
  transform: translateX(-50%);
  z-index: 1;
  height: 0;
  transition: height 0.12s ease-out;
}

.wf-timeline-node {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: start;
  padding: 140px 0 0;
  scroll-margin-top: 100px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wf-timeline-node:first-of-type {
  padding-top: 0;
}

.wf-timeline-node.wf-reveal {
  opacity: 1;
  transform: translateY(0);
}

.wf-node-cell {
  min-width: 0;
}

.wf-node-cell-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

.wf-node-milestone {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8e8e8;
  color: #999;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.wf-milestone-check {
  display: none;
  position: absolute;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.wf-node-milestone.wf-milestone-active {
  background: var(--color-primary, #22b07d);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(34, 176, 125, 0.22), 0 4px 20px rgba(34, 176, 125, 0.4);
  transform: scale(1.08);
}

.wf-node-milestone.wf-milestone-active .wf-milestone-num {
  display: block;
}

.wf-node-milestone.wf-milestone-active .wf-milestone-check {
  display: none;
}

.wf-node-milestone.wf-milestone-completed {
  background: var(--color-primary-dark, #1a9b6e);
  color: #fff;
  box-shadow: 0 2px 12px rgba(26, 155, 110, 0.35);
}

.wf-node-milestone.wf-milestone-completed .wf-milestone-num {
  display: none;
}

.wf-node-milestone.wf-milestone-completed .wf-milestone-check {
  display: block;
}

.wf-node-milestone:hover {
  transform: scale(1.05);
}

.wf-node-milestone.wf-milestone-active:hover {
  transform: scale(1.1);
}

.wf-node-panel {
  max-width: 480px;
  padding: 0 24px;
}

.wf-node-right .wf-node-panel {
  margin-left: 0;
}

.wf-node-left .wf-node-panel {
  margin-right: 0;
  margin-left: auto;
}

.wf-node-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 12px;
}

.wf-node-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-dark, #2c3e50);
  margin: 0 0 8px;
}

.wf-node-subtitle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted, #6c757d);
  margin: 0 0 16px;
}

.wf-node-intro {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-dark-soft, #3d566e);
  margin: 0 0 20px;
}

.wf-node-list {
  margin: 0 0 20px;
  padding-left: 1.25em;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-dark-soft, #3d566e);
}

.wf-node-list li {
  margin: 0 0 6px;
}

.wf-node-list li::marker {
  color: var(--color-primary, #22b07d);
}

.wf-node-impact {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary-dark, #1a9b6e);
  margin: 0 0 24px;
  line-height: 1.45;
}

.wf-node-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  transition: transform 0.5s ease-out, box-shadow 0.3s ease;
  transform: translateY(12px);
}

.wf-node-media:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.wf-timeline-node.wf-reveal .wf-node-media {
  transform: translateY(0);
}

.wf-node-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ----- Timeline Summary ----- */
.wf-timeline-summary {
  background-color: #164645;
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 88px 24px 96px;
  margin-top: 48px;
}

.wf-summary-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wf-summary-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 40px;
}

.wf-summary-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.wf-summary-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: background 0.2s ease;
}

.wf-summary-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.wf-summary-icon {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary, #22b07d);
  margin-bottom: 12px;
}

.wf-summary-card p {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.wf-summary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  color: #164645;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wf-summary-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #164645;
}

/* ----- Footer ----- */
.wf-footer {
  background-image: url('/images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px;
}

.wf-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.wf-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.wf-footer-logo .wf-logo-img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.wf-footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.wf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.wf-footer-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wf-footer-links a:hover {
  color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .wf-body {
    padding: 48px 40px 56px;
  }

  .wf-timeline::before {
    left: 32px;
    transform: none;
  }

  .wf-timeline-node {
    grid-template-columns: 64px 1fr;
    gap: 32px;
    padding: 100px 0 0;
  }

  .wf-timeline-node:first-of-type {
    padding-top: 0;
  }

  .wf-node-cell-center {
    grid-column: 1;
    grid-row: 1;
    padding-top: 8px;
    justify-content: flex-start;
  }

  .wf-node-cell-left:empty,
  .wf-node-cell-right:empty {
    display: none;
  }

  .wf-node-right .wf-node-cell-right,
  .wf-node-left .wf-node-cell-left {
    grid-column: 2;
    grid-row: 1;
  }

  .wf-node-panel {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
  }

  .wf-summary-outcomes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wf-header-inner {
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .wf-nav {
    display: none;
  }

  .wf-hero {
    padding: 56px 16px 64px;
  }

  .wf-hero-title {
    margin-bottom: 16px;
  }

  .wf-hero-subtitle {
    margin-bottom: 24px;
  }

  .wf-body {
    grid-template-columns: 1fr;
    padding: 40px 24px 56px;
    gap: 0;
  }

  .wf-toc {
    display: none;
  }

  .wf-toc-mobile-wrap {
    display: block;
    order: -1;
  }

  .wf-timeline-intro {
    margin-bottom: 48px;
    padding: 0 16px;
  }

  .core-workflow-section::before,
  .timeline::before {
    left: 20px !important;
    transform: none !important;
  }

  .wf-timeline::before {
    left: 20px !important;
    transform: none !important;
  }

  .wf-timeline-progress {
    left: 20px !important;
    transform: none !important;
  }

  .timeline-item {
    padding-left: 50px !important;
  }

  .wf-timeline-node {
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 80px 0 0;
    scroll-margin-top: 72px;
  }

  .timeline-content {
    width: 100% !important;
  }

  .wf-node-panel {
    width: 100% !important;
  }

  .wf-node-milestone {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }

  .wf-node-title {
    font-size: 1.25rem;
  }

  .wf-timeline-summary {
    padding: 64px 24px 72px;
    margin-top: 32px;
  }

  .wf-summary-title {
    margin-bottom: 32px;
  }

  .wf-summary-outcomes {
    gap: 16px;
    margin-bottom: 32px;
  }

  .wf-summary-cta {
    width: 100%;
    max-width: 280px;
  }

  .core-workflow-section .highlight-block,
  .operational-view-section .highlight-block,
  .section-highlight,
  .full-width-block,
  .wf-timeline-summary {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
  }

  .core-workflow-section .container,
  .operational-view-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .wf-node-media img {
    aspect-ratio: 16/10;
  }
}

