/* Smooth scroll for anchor-based solution navigation (no reload) */
html { scroll-behavior: smooth; }

/* 確保 header 與下拉選單在 overlay 之上，hover 與 cursor 才有效 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
}

/* Venus header: logo + "empowered by Epicor" tagline */
.venus-site-header .venus-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.venus-site-header .venus-header-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.venus-site-header .nav-item a.nav-active,
.venus-site-header .nav-item.nav-active > a {
  color: var(--color-primary, #1abc9c);
  font-weight: 600;
}

/* Venus: fixed header at top (does not scroll away) */
.venus-site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}
body:has(.venus-site-header) main {
  padding-top: 72px;
}

/* ========== Operational View mega: line icons, enterprise look ========== */
#mega-operational-view .mega-menu-grid-op {
  gap: 12px;
}
/* Venus dropdown menu cards: shared hover (no layout shift, shadow visible) — Core Workflow & Operational View only; Resources has its own block below */
#mega-operational-view .op-card,
#mega-core-workflow .mega-menu-card {
  position: relative;
  border: 1px solid #e5e8eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: visible;
  cursor: pointer;
}
@media (hover: hover) {
  #mega-operational-view .op-card:hover,
  #mega-core-workflow .mega-menu-card:hover {
    transform: translateY(-4px);
    border-color: #2bb673;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }
}

/* ========== Venus Resources dropdown: minimal card layout, enterprise feel ========== */
#mega-venus-resources .mega-menu-inner-resources {
  max-width: 700px;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
#mega-venus-resources .mega-menu-grid-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
#mega-venus-resources .resource-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
#mega-venus-resources .resource-card:hover {
  background: #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
#mega-venus-resources .resource-card-text-only .mega-menu-card-content {
  flex: 1;
  min-width: 0;
  padding: 0;
  width: 100%;
}
#mega-venus-resources .resource-card .mega-menu-card-content {
  flex: 1;
  min-width: 0;
  padding: 0;
}
#mega-venus-resources .resource-card .mega-menu-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 2px;
}
#mega-venus-resources .resource-card .mega-menu-card-desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.35;
  margin: 0 0 4px;
}
#mega-venus-resources .resource-card .mega-menu-card-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1f7a6b;
}
#mega-venus-resources .resource-card:hover .mega-menu-card-cta {
  color: #2bb673;
}
@media (max-width: 768px) {
  #mega-venus-resources .mega-menu-grid-resources {
    grid-template-columns: 1fr;
  }
}

#mega-operational-view .op-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
#mega-operational-view .op-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F4F4A;
  transition: color 0.25s ease;
}
#mega-operational-view .op-card:hover .op-icon {
  color: #1BB58A;
}
#mega-operational-view .op-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}
#mega-operational-view .op-card .mega-menu-card-content {
  flex: 1;
  min-width: 0;
  padding: 4px 0 4px 0;
  gap: 4px;
}
#mega-operational-view .op-card .mega-menu-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
}
#mega-operational-view .op-card .mega-menu-card-desc {
  font-size: 0.75rem;
  line-height: 1.35;
}

/* Core Workflow 選單卡片：懸停時上移 + 綠色線框（強制覆蓋） */
#mega-core-workflow .mega-menu-inner,
#mega-core-workflow .mega-menu-grid {
  overflow: visible !important;
}
#mega-core-workflow .mega-menu-card {
  position: relative !important;
  border: 1px solid #e5e7eb !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  overflow: visible !important;
  cursor: pointer !important;
}
#mega-core-workflow .mega-menu-card:hover {
  transform: translateY(-4px) !important;
  border-color: #2bb673 !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
}
#mega-core-workflow .mega-menu-card .mega-menu-card-img {
  overflow: hidden;
}
#mega-core-workflow .mega-menu-card .mega-menu-card-img img {
  transition: transform 0.3s ease;
}
#mega-core-workflow .mega-menu-card:hover .mega-menu-card-img img {
  transform: scale(1.03);
}

/* Venus page only: hero background override. Do not affect homepage or global styles. */
.hero.hero-venus {
  background-image: url('../images/venus-banner2.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Hero: Business Challenge Selector — pill links as strategic navigator (no software-filter look) */
.hero-venus .solution-box .solution-tabs .solution-tab {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero: challenge tabs + CTA only (no search input); balanced spacing */
.hero-venus .solution-box .solution-form {
  margin-top: 1rem;
  align-items: center;
}
.hero-venus .solution-box .solution-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-venus .solution-box .solution-btn .solution-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.hero-venus .solution-box .solution-btn:hover .solution-btn-arrow {
  transform: translateX(4px);
}

/* ========== Venus Impact Calculator — gauge + platform impact (Venus branding) ========== */
.venus-impact-section .impact-results-panel {
  margin-top: 72px;
}
.venus-impact-section .platform-impact-result.platform-impact-visible {
  margin-top: 40px;
}
.venus-impact-section .venus-impact-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 28px 24px;
}

.venus-impact-section .venus-gauge-wrap {
  margin-bottom: 28px;
}

.venus-impact-section .venus-gauge {
  width: 180px;
  height: 100px;
}

.venus-impact-section .venus-gauge-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.venus-impact-section .venus-gauge-bg {
  stroke: #e5e7eb;
  stroke-linecap: round;
  fill: none;
}

.venus-impact-section .venus-gauge-fill {
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 0.8s ease-out;
}

.venus-impact-section .venus-gauge-value {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 700;
  color: #1f7a6b;
}

.venus-impact-section .venus-gauge-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 10px 0 0;
  text-align: center;
}

.venus-impact-section .platform-gauge-fill {
  stroke: url(#venus-gauge-gradient);
}

.venus-impact-section .platform-gauge-value {
  color: #1f7a6b;
}

.venus-impact-section .venus-impact-card .impact-results-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.venus-impact-section .venus-impact-card .impact-results-list {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.venus-impact-section .venus-impact-cta {
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.venus-impact-section .venus-unlock-block .venus-unlock-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 16px;
  line-height: 1.35;
}

.venus-impact-section .venus-unlock-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.venus-impact-section .venus-unlock-email {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.venus-impact-section .venus-unlock-email::placeholder {
  color: #9ca3af;
}

.venus-impact-section .venus-unlock-email:focus {
  outline: 0;
  border-color: #1f7a6b;
}

.venus-impact-section .venus-unlock-btn {
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #1f7a6b;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.venus-impact-section .venus-unlock-btn:hover {
  background: #2bb673;
}

.venus-impact-section .platform-impact-email:focus {
  border-color: #0F4F4A;
  box-shadow: 0 0 0 3px rgba(15, 79, 74, 0.12);
}

.venus-impact-section .impact-form-actions .btn-primary,
.venus-impact-section .platform-unlock-btn {
  background: #0F4F4A;
  border-color: #0F4F4A;
}

.venus-impact-section .impact-form-actions .btn-primary:hover,
.venus-impact-section .platform-unlock-btn:hover {
  background: #0d423e;
  border-color: #0d423e;
}

.venus-impact-section .platform-impact-card .impact-results-checklist {
  list-style: none;
  padding-left: 0;
}

.venus-impact-section .platform-impact-card .impact-results-checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.venus-impact-section .impact-check {
  position: absolute;
  left: 0;
  color: #0F4F4A;
  font-weight: 700;
}

.venus-impact-section .impact-expanded-intro {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ========== Venus Download Brochure ========== */
.venus-brochure-section {
  padding: 64px 0;
  background: #fff;
}

.venus-brochure-container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.venus-brochure-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 auto 40px;
  max-width: 560px;
  line-height: 1.5;
}

.venus-brochure-split {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  align-items: center;
}

.venus-brochure-media {
  min-width: 0;
}

.venus-brochure-img {
  width: 100%;
  height: auto;
  display: block;
}

.venus-brochure-content {
  min-width: 0;
}

.venus-brochure-bullets {
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  list-style: disc;
}

.venus-brochure-bullets li {
  margin-bottom: 8px;
}

.venus-brochure-form-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.venus-brochure-form-subtext {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

.venus-brochure-form .venus-brochure-form-row {
  margin-bottom: 16px;
}

.venus-brochure-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.venus-brochure-input,
.venus-brochure-select {
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
}

.venus-brochure-input:focus,
.venus-brochure-select:focus {
  outline: 0;
  border-color: #0F4F4A;
  box-shadow: 0 0 0 3px rgba(15, 79, 74, 0.12);
}

.venus-brochure-input[aria-invalid="true"] {
  border-color: #dc2626;
}

.venus-brochure-form-actions {
  margin-top: 20px;
  margin-bottom: 0;
}

.venus-brochure-form .venus-brochure-submit {
  width: 100%;
  max-width: 320px;
}

.venus-brochure-form .venus-brochure-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.venus-brochure-feedback {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: #0F4F4A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.venus-brochure-feedback.venus-brochure-feedback-hidden {
  display: none;
}

.venus-brochure-recaptcha-wrap {
  margin-top: 8px;
}
.venus-brochure-recaptcha-wrap .g-recaptcha {
  display: inline-block;
}

.venus-brochure-error-wrap {
  margin-top: 12px;
}
.venus-brochure-error-wrap.venus-brochure-feedback-hidden {
  display: none;
}
.venus-brochure-error-text {
  color: #b91c1c;
  font-size: 0.9375rem;
}

.venus-brochure-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-top-color: #0F4F4A;
  border-radius: 50%;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.venus-brochure-spinner.venus-brochure-spinner-active {
  animation: venusBrochureSpin 0.7s linear infinite;
}

@keyframes venusBrochureSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .venus-brochure-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .venus-brochure-media {
    order: 1;
  }
  .venus-brochure-content {
    order: 2;
  }
}

@media (max-width: 480px) {
  .venus-brochure-input,
  .venus-brochure-select,
  .venus-brochure-form .venus-brochure-submit {
    max-width: none;
  }
}

/* WHY VENUS section: premium spacing below hero */
.why-choose.why-choose-marketplace {
  padding-top: 100px;
}

/* Why Venus + Architecture: no card styling (no box, border, shadow, radius) */
.why-choose-marketplace .why-visual-image {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  background: none;
}

@media (max-width: 900px) {
  .why-choose.why-choose-marketplace {
    padding-top: 60px;
  }
}

@media (max-width: 600px) {
  .why-choose.why-choose-marketplace {
    padding-top: 40px;
  }
}

/* Venus Architecture Chart section (below Why Venus) */
.venus-architecture {
  background: #fff;
  padding: 80px 0;
}

.venus-architecture-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.venus-architecture-visual {
  position: relative;
}

.venus-architecture-image {
  max-width: 100%;
}

.venus-architecture-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.venus-architecture-content .section-title {
  margin-top: 0;
}

.venus-architecture-desc {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

@media (max-width: 900px) {
  .venus-architecture {
    padding: 60px 0;
  }

  .venus-architecture-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .venus-architecture-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .venus-architecture {
    padding: 40px 0;
  }

  .venus-architecture-split {
    gap: 32px;
  }
}

/* Insights & Resources: article cards (no images, clean design) — video cards unchanged */
.blog-teaser-section .tip-card.tip-card-article {
  aspect-ratio: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F8FAFB;
  border: 1px solid #E6EBEF;
  border-left: 4px solid transparent;
  border-radius: var(--radius, 8px);
  padding: 28px 32px;
  color: #1a202c;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.blog-teaser-section .tip-card.tip-card-article::after {
  display: none;
}

.blog-teaser-section .tip-card.tip-card-article img {
  display: none;
}

.blog-teaser-section .tip-card.tip-card-article:hover {
  color: #1a202c;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-left-color: #1f7a6b;
}

.blog-teaser-section .tip-card.tip-card-article .tip-card-accent {
  display: block;
  width: 40px;
  height: 3px;
  background: #1f7a6b;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.blog-teaser-section .tip-card.tip-card-article .tip-title {
  position: static;
  padding: 0;
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a202c;
}

.blog-teaser-section .tip-card.tip-card-article .tip-desc {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* Gartner Recognition (full-width dark section, above Global Multi-Region) */
.venus-gartner-recognition {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f2d3a 0%, #1a3a52 50%, #2c5f7a 100%);
  background-size: cover;
  background-position: center;
}

.venus-gartner-recognition-inner {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

.venus-gartner-recognition-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.venus-gartner-recognition-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.venus-gartner-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.venus-gartner-visual .venus-gartner-matrix-img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.venus-gartner-content-heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.venus-gartner-content-desc {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.venus-gartner-content-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.venus-gartner-content-list li {
  margin-bottom: 0.5rem;
}

.venus-gartner-content-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .venus-gartner-recognition {
    padding: 56px 0;
  }

  .venus-gartner-recognition-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .venus-gartner-recognition-explain {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .venus-gartner-visual {
    order: -1;
    margin: 35px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .venus-gartner-visual .venus-gartner-matrix-img {
    width: auto;
    height: auto;
    max-width: 75%;
    max-height: 160px;
    object-fit: contain;
    display: block;
  }
}

/* Venus capabilities: three enterprise pillars */
.discover-workspace .workspace-type-grid-pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.discover-workspace .workspace-type-card-pillar {
  grid-template-columns: 1fr;
}

.discover-workspace .workspace-type-card-pillar .workspace-type-content {
  padding: 20px 22px 22px;
}

.discover-workspace .workspace-type-intro {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0 0 10px;
}

.discover-workspace .workspace-type-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.875rem;
  color: #111827;
  list-style: disc;
}

.discover-workspace .workspace-type-list li + li {
  margin-top: 4px;
}

@media (max-width: 991px) {
  .discover-workspace .workspace-type-grid-pillars {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Slightly elevated headings for Venus sections */
.discover-workspace .section-title,
.vertical-slider .section-title {
  font-size: clamp(1.75rem, 3vw, 2.1rem);
}

/* Venus business profile segments */
.venus-segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.venus-segment-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venus-segment-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-dark);
}

.venus-segment-focus-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0;
}

.venus-segment-list {
  margin: 2px 0 4px;
  padding-left: 18px;
  font-size: 0.875rem;
  color: #111827;
  list-style: disc;
}

.venus-segment-list li + li {
  margin-top: 3px;
}

.venus-segment-desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 4px 0 0;
}

.venus-segment-cta {
  margin-top: 40px;
  text-align: center;
}

.venus-segment-cta-text {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0 0 12px;
}

@media (max-width: 991px) {
  .venus-segment-grid {
    grid-template-columns: 1fr;
  }
}

/* Venus testimonials: 3 case blocks + CTA */
.venus-testimonials .venus-testimonial-rating {
  text-align: center;
  margin-bottom: 40px;
}

.venus-testimonials .venus-testimonial-rating-main {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px;
}

.venus-testimonials .venus-testimonial-rating-sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.venus-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.venus-case {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.venus-case-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.35;
}

.venus-case-quote {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.venus-case-signature {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
  font-style: italic;
}

.venus-testimonial-cta {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.venus-testimonial-cta-headline {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .venus-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
}

/* Venus footer – brand-focused premium layout */
.venus-footer {
  background-image: url('/images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 48px;
}
.venus-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.venus-footer-anchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.venus-footer-brand {
  flex-shrink: 0;
}
.venus-footer-logo {
  display: block;
  text-decoration: none;
}
.venus-footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.venus-footer-tagline-block {
  max-width: 480px;
}
.venus-footer-headline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.venus-footer-subtext {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}
.venus-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.venus-footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 20px;
}
.venus-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.venus-footer-list li {
  margin-bottom: 12px;
}
.venus-footer-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.venus-footer-list a:hover {
  color: #fff;
}
.venus-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.venus-footer-powered,
.venus-footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .venus-footer {
    padding: 30px 0 40px;
  }
  .venus-footer-anchor {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }
  .venus-footer-brand {
    margin-bottom: 12px;
  }
  .venus-footer-nav {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .venus-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Force hover effect for all dropdown menu cards (Operational View and nav dropdowns) */
.nav-dropdown {
  overflow: visible !important;
}
.nav-dropdown .card,
.nav-dropdown .menu-card,
.nav-dropdown .solution-card,
.nav-dropdown .dropdown-card {
  position: relative !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease !important;
  border: 1px solid #e5e8eb !important;
}
.nav-dropdown .card:hover,
.nav-dropdown .menu-card:hover,
.nav-dropdown .solution-card:hover,
.nav-dropdown .dropdown-card:hover {
  transform: translateY(-4px) !important;
  border: 1px solid #2bb673 !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
}

/* Venus sub-pages: simple nav (no mega), active link */
.venus-sub-header .main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.venus-sub-header .nav-item-has-mega {
  list-style: none;
}
.venus-sub-header .nav-link-mega {
  text-decoration: none;
}
.venus-sub-header .nav-active {
  font-weight: 600;
  color: #2bb673;
  border-bottom: 2px solid #2bb673;
}

/* Venus Resources page: hero + card sections */
.venus-resources-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, #f0f7f6 0%, #fff 100%);
}
.venus-resources-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #0d3d38;
}
.venus-resources-hero-subtitle {
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.5;
}
.venus-resources-section {
  padding: 2rem 0 3rem;
}
.venus-resources-section-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #1a202c;
}
.venus-resources-loading {
  margin: 0 0 1rem;
  color: #718096;
}
.venus-resources-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .venus-resources-grid.venus-resources-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .venus-resources-grid.venus-resources-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.venus-resource-card {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.venus-resource-card:hover {
  transform: translateY(-4px);
  border-color: #2bb673;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.venus-resource-card-inner {
  padding: 1.5rem;
}
.venus-resource-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1a202c;
}
.venus-resource-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4a5568;
}
.venus-resource-card .btn-disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

/* ========== Venus Knowledge Hub (enterprise-style resources page) ========== */
.venus-knowledge-hub-page {
  background: #fff;
}
.knowledge-hub-hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
  background: #fafbfc;
}
.knowledge-hub-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #0d3d38;
  line-height: 1.25;
}
.knowledge-hub-hero-subtitle {
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.55;
}
.knowledge-hub-section {
  padding: 5rem 0;
  min-height: 0;
}
.knowledge-hub-section-videos {
  padding-top: 4rem;
}
.knowledge-hub-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #0d3d38;
}
.knowledge-hub-section-subtitle {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
}
.knowledge-hub-loading {
  margin: 0 0 1rem;
  color: #718096;
  font-size: 0.9375rem;
}
.knowledge-hub-divider {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 0;
}
.knowledge-hub-grid {
  display: grid;
  gap: 1.5rem;
}
.knowledge-hub-grid-videos,
.knowledge-hub-grid-guides,
.knowledge-hub-grid-insights {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .knowledge-hub-grid-videos,
  .knowledge-hub-grid-guides,
  .knowledge-hub-grid-insights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .knowledge-hub-grid-videos,
  .knowledge-hub-grid-guides,
  .knowledge-hub-grid-insights {
    grid-template-columns: repeat(3, 1fr);
  }
}
.knowledge-hub-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.knowledge-hub-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.knowledge-hub-card-link:hover {
  color: inherit;
  text-decoration: none;
}
.knowledge-hub-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #f0f7f6;
  overflow: hidden;
}
.knowledge-hub-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.knowledge-hub-card-thumb-video {
  aspect-ratio: 16/10;
}
.knowledge-hub-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 61, 56, 0.4) 100%);
  pointer-events: none;
}
.knowledge-hub-video-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}
.knowledge-hub-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.knowledge-hub-card-video .knowledge-hub-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.knowledge-hub-card-insight .knowledge-hub-card-body {
  padding: 1rem 1.25rem 1.25rem;
}
.knowledge-hub-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1a202c;
  line-height: 1.35;
}
.knowledge-hub-card-video .knowledge-hub-card-title {
  font-size: 1.125rem;
}
.knowledge-hub-card-insight .knowledge-hub-card-title {
  font-size: 1rem;
}
.knowledge-hub-card-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.45;
  margin: 0 0 0.75rem;
  flex: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-hub-card-insight .knowledge-hub-card-desc {
  font-size: 0.8125rem;
  -webkit-line-clamp: 2;
}
.knowledge-hub-card-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f7a6b;
}
.knowledge-hub-cta-video {
  font-size: 0.9375rem;
}
.knowledge-hub-card:hover {
  border-color: #2bb673;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.knowledge-hub-card-insight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.knowledge-hub-card:hover .knowledge-hub-card-cta {
  color: #2bb673;
}
.knowledge-hub-grid-videos .knowledge-hub-card {
  min-height: 280px;
}
.knowledge-hub-grid-guides .knowledge-hub-card {
  min-height: 260px;
}
.knowledge-hub-grid-insights .knowledge-hub-card {
  min-height: 220px;
}

/* ========== Venus: Mobile header & navigation (max-width: 768px only) ========== */
.venus-mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  /* PART 1 — Clean mobile header: logo left, hamburger right; no overlap */
  .venus-site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin: 0;
    min-height: 70px;
    max-height: 80px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #eee;
  }
  .venus-site-header .header-container {
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .venus-site-header .venus-logo-wrap {
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .venus-site-header .venus-logo-wrap a {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  .venus-site-header .venus-logo-wrap .logo-img {
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
  }
  .venus-site-header .venus-header-tagline {
    display: none;
  }
  .venus-site-header .venus-desktop-nav,
  .venus-site-header .venus-desktop-cta {
    display: none !important;
  }
  .venus-site-header .venus-mobile-menu-btn {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 0;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
  }
  .venus-site-header .venus-hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .venus-site-header .venus-mobile-menu-btn[aria-expanded="true"] .venus-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .venus-site-header .venus-mobile-menu-btn[aria-expanded="true"] .venus-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .venus-site-header .venus-mobile-menu-btn[aria-expanded="true"] .venus-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.venus-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.venus-drawer-overlay.is-open {
  display: block;
  opacity: 1;
}

.venus-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 10003;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.venus-drawer.is-open {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .venus-drawer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (min-width: 769px) {
  .venus-drawer-overlay,
  .venus-drawer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .venus-drawer-overlay {
    display: block;
    pointer-events: none;
  }
  .venus-drawer-overlay.is-open {
    pointer-events: auto;
  }
  .venus-drawer {
    display: flex;
    flex-direction: column;
  }
}

.venus-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
  gap: 24px;
  flex: 1;
}
.venus-drawer-nav > a.venus-drawer-link {
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.venus-drawer-nav > a.venus-drawer-link:hover {
  color: var(--color-primary, #1f7a6b);
}

/* Accordion items — mobile drawer only */
.venus-drawer-accordion-item {
  border-bottom: 1px solid #eee;
}
.venus-drawer-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  gap: 8px;
}
.venus-drawer-accordion-trigger:hover {
  color: var(--color-primary, #1f7a6b);
}
.venus-drawer-chevron {
  flex-shrink: 0;
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.venus-drawer-accordion-item.is-open .venus-drawer-chevron {
  transform: rotate(180deg);
}
.venus-drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.venus-drawer-accordion-item.is-open .venus-drawer-submenu {
  max-height: 420px;
}
.venus-drawer-submenu a {
  display: block;
  padding: 10px 0 10px 18px;
  font-size: 15px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border: none;
  min-height: auto;
}
.venus-drawer-submenu a:hover {
  color: var(--color-primary, #1f7a6b);
}

.venus-drawer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.venus-drawer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.venus-drawer-whatsapp-link:hover {
  color: var(--color-primary, #1f7a6b);
}
.venus-drawer-whatsapp-icon {
  flex-shrink: 0;
  display: block;
}
.venus-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

body.venus-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Hero: no top gap (header is sticky, hero sits immediately under) */
@media (max-width: 768px) {
  .hero.hero-venus {
    padding-top: 0;
  }
}

/* Hero mobile (991px): tabs + CTA visible */
@media (max-width: 991px) {
  .hero.hero-venus {
    padding-top: 0;
    padding-bottom: 48px;
    min-height: auto;
  }
  .hero-venus .hero-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-venus .hero-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-venus .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.25;
  }
  .hero-venus .hero-desc {
    margin-top: 12px;
    line-height: 1.55;
  }
  .hero-venus .solution-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hero-venus .solution-tabs-wrap {
    overflow: hidden;
  }
  .hero-venus .solution-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 8px;
    margin: 0 -4px;
  }
  .hero-venus .solution-tabs::-webkit-scrollbar {
    display: none;
  }
  .hero-venus .solution-tabs .solution-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hero-venus .solution-form {
    margin-top: 0;
  }
  .hero-venus .solution-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

/* ========== Venus Hero: MOBILE ONLY (max-width: 768px) ========== */
/* 僅修改 .hero.hero-venus 及其內容，不影響 Desktop / 其他 section / 全站 spacing */
@media (max-width: 768px) {
  /* Hero: no top gap, sits immediately under sticky header */
  .hero.hero-venus {
    position: relative;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: 100vh !important;
    padding-top: 0 !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-image: url('/images/hero-banner-Mobile.jpg') !important;
    background-size: cover;
    background-position: center 75% !important;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
  }

  .hero.hero-venus::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 0;
  }

  /* Hero 內若有 <img>：上移人物畫面重心（數字越小越上移，可改 15%） */
  .hero.hero-venus img {
    object-fit: cover !important;
    object-position: center 20% !important;
    height: 100% !important;
  }

  /* 內容容器：上方留白，避免貼齊 header */
  .hero.hero-venus .hero-container {
    position: relative;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0 !important;
    padding-top: 110px !important;
    transform: none !important;
    padding-bottom: 56px;
    padding-left: 16px;
    padding-right: 16px;
    align-items: stretch;
  }

  .hero.hero-venus .hero-left {
    max-width: 100%;
  }

  /* 綠色標籤：僅調整尺寸與形狀，沿用 desktop 的 background（var(--color-primary)） */
  .hero.hero-venus .hero-badge {
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    padding: 6px 18px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
  }

  .hero.hero-venus .hero-title {
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  .hero.hero-venus .hero-highlight {
    color: #fff;
  }

  .hero.hero-venus .hero-desc {
    color: rgba(255, 255, 255, 0.9);
  }

  .hero.hero-venus .solution-box {
    display: none !important;
  }

  /* Venus landing only：Hero 不再 100vh，收窄文字底與人物距離 */
  .venus-landing .hero-section,
  .venus-landing .hero.hero-venus {
    min-height: auto !important;
    padding-bottom: 20px !important;
  }

  .venus-landing .hero-content,
  .venus-landing .hero.hero-venus .hero-left {
    margin-bottom: 18px !important;
  }

  .venus-landing .hero-image {
    transform: translateY(-5px) !important;
  }

  .venus-landing section:first-of-type img {
    transform: translateY(60px) !important;
  }

  .venus-landing section:first-of-type {
    height: 100vh !important;
    min-height: 100vh !important;
    background-size: cover !important;
    background-position: center 70% !important;
  }
}

/* Typography & section spacing (mobile only：僅 991px 以下，不影響 PC) */
@media (max-width: 991px) {
  .venus-site-header + main,
  #header-placeholder ~ main {
    max-width: 100%;
  }
  .venus-site-header + main .container,
  #header-placeholder ~ main .container {
    max-width: 100%;
  }
  .section-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.3;
  }
  .hero-venus .hero-desc,
  .section-subtitle,
  .venus-architecture-desc,
  .why-choose-marketplace .why-content p,
  .discover-workspace .workspace-type-intro {
    line-height: 1.6;
  }
  .venus-site-header + main section:not(.hero),
  #header-placeholder ~ main section:not(.hero) {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .venus-site-header + main .venus-impact-section,
  .venus-site-header + main .venus-brochure-section,
  .venus-site-header + main .venus-testimonials,
  #header-placeholder ~ main .venus-impact-section,
  #header-placeholder ~ main .venus-brochure-section,
  #header-placeholder ~ main .venus-testimonials {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Buttons & CTAs (mobile) */
@media (max-width: 991px) {
  .venus-site-header + main .btn-primary,
  .venus-site-header + main .btn.btn-primary,
  #header-placeholder ~ main .btn-primary,
  #header-placeholder ~ main .btn.btn-primary,
  main .btn-primary:not(.btn-header-cta):not(.solution-btn),
  main .btn.btn-primary:not(.btn-header-cta):not(.solution-btn) {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.2s ease;
  }
  main .btn-primary:active,
  main .btn.btn-primary:active {
    opacity: 0.9;
  }
}

/* Solution sections: stack on mobile */
@media (max-width: 991px) {
  .why-choose-marketplace .why-split {
    flex-direction: column;
  }
  .why-choose-marketplace .why-split.reverse {
    flex-direction: column;
  }
  .why-choose-marketplace .why-visual {
    order: 1;
  }
  .why-choose-marketplace .why-content {
    order: 2;
  }
  .venus-architecture-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .venus-architecture-visual {
    order: 1;
  }
  .venus-architecture-content {
    order: 2;
  }
  .venus-impact-section .earn-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .venus-impact-section .earn-form-wrap {
    order: 1;
  }
  .venus-impact-section .earn-map {
    order: 2;
  }
  .popular-locations .city-cards {
    grid-template-columns: 1fr;
  }
  .discover-workspace .workspace-type-grid {
    grid-template-columns: 1fr;
  }
  .discover-workspace .workspace-type-card {
    min-width: 0;
  }
  .discover-workspace .check-list li,
  .why-choose-marketplace .check-list li {
    margin-bottom: 12px;
  }
  .why-choose-marketplace .check-list li p,
  .discover-workspace .workspace-type-list {
    line-height: 1.55;
  }
}

/* Brochure section mobile */
@media (max-width: 991px) {
  .venus-brochure-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .venus-brochure-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .venus-brochure-media {
    order: 1;
  }
  .venus-brochure-content {
    order: 2;
  }
  .venus-brochure-form .venus-brochure-form-row {
    margin-bottom: 16px;
  }
  .venus-brochure-input,
  .venus-brochure-select {
    width: 100%;
    max-width: none;
    min-height: 44px;
  }
  .venus-brochure-form .venus-brochure-submit {
    width: 100%;
    min-height: 48px;
  }
}

/* Prevent horizontal scroll, image overflow & anchor offset (mobile) */
/* #header-placeholder ~ main: Venus 頁面 header 在 placeholder 內，main 非 header 緊鄰兄弟 */
@media (max-width: 991px) {
  body {
    overflow-x: hidden;
  }
  .venus-site-header + main,
  #header-placeholder ~ main {
    overflow-x: hidden;
  }
  .venus-site-header + main img,
  #header-placeholder ~ main img {
    max-width: 100%;
    height: auto;
  }
  [id]:not(.venus-drawer):not(.venus-drawer-overlay) {
    scroll-margin-top: 70px;
  }
  .venus-segment-grid {
    grid-template-columns: 1fr;
  }
  .premium-partners.partner-cards,
  .video-showcase .partner-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  [id]:not(.venus-drawer):not(.venus-drawer-overlay) {
    scroll-margin-top: 80px;
  }
}

/* Venus Impact Calculator: result card same width as CTA button (mobile only) */
@media (max-width: 768px) {
  .venus-impact-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .venus-impact-section .impact-results-panel {
    padding: 32px 0;
    display: block;
  }
  .venus-impact-section .platform-impact-result {
    width: 100%;
    max-width: none;
  }
  .venus-impact-section .venus-impact-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 28px 20px;
    box-sizing: border-box;
  }
}

/* ========== Venus: Global mobile vertical spacing (max-width: 768px only) ========== */
/* #header-placeholder ~ main: Venus 頁面 main 與 header 非緊鄰，需並列選擇器才生效 */
@media (max-width: 768px) {
  /* Section spacing: min 60px top/bottom */
  .venus-site-header + main section,
  #header-placeholder ~ main section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .venus-site-header + main section.hero.hero-venus,
  #header-placeholder ~ main section.hero.hero-venus {
    padding-top: 0;
    padding-bottom: 60px;
  }

  /* Standard horizontal padding */
  .venus-site-header + main .container,
  #header-placeholder ~ main .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Typography rhythm: H1 → paragraph 16–20px */
  .venus-site-header + main .hero-title,
  #header-placeholder ~ main .hero-title {
    margin-bottom: 18px;
  }
  .venus-site-header + main .hero-desc,
  #header-placeholder ~ main .hero-desc {
    margin-top: 0;
    margin-bottom: 0;
  }
  .venus-site-header + main .section-title + .section-subtitle,
  .venus-site-header + main .impact-headline + .impact-subtitle,
  #header-placeholder ~ main .section-title + .section-subtitle,
  #header-placeholder ~ main .impact-headline + .impact-subtitle {
    margin-top: 12px;
  }
  .venus-site-header + main .section-subtitle,
  #header-placeholder ~ main .section-subtitle {
    margin-bottom: 24px;
  }
  .venus-site-header + main .why-choose-marketplace .why-content p,
  .venus-site-header + main .venus-architecture-desc,
  #header-placeholder ~ main .why-choose-marketplace .why-content p,
  #header-placeholder ~ main .venus-architecture-desc {
    margin-bottom: 16px;
  }
  .venus-site-header + main .why-choose-marketplace .why-content p:last-child,
  .venus-site-header + main .venus-architecture-content p:last-child,
  #header-placeholder ~ main .why-choose-marketplace .why-content p:last-child,
  #header-placeholder ~ main .venus-architecture-content p:last-child {
    margin-bottom: 0;
  }

  /* Paragraph → button 24–32px */
  .venus-site-header + main .impact-subtitle,
  #header-placeholder ~ main .impact-subtitle {
    margin-bottom: 28px;
  }
  .venus-site-header + main .earn-form .impact-form-actions,
  #header-placeholder ~ main .earn-form .impact-form-actions {
    margin-top: 28px;
  }
  .venus-site-header + main .text-center .btn-primary,
  .venus-site-header + main .venus-segment-cta .btn-primary,
  .venus-site-header + main .discover-workspace .btn-primary,
  #header-placeholder ~ main .text-center .btn-primary,
  #header-placeholder ~ main .venus-segment-cta .btn-primary,
  #header-placeholder ~ main .discover-workspace .btn-primary {
    margin-top: 28px;
  }

  /* Button / CTA → next content 60px (section padding handles section boundaries) */
  .venus-site-header + main .earn-split,
  #header-placeholder ~ main .earn-split {
    gap: 32px;
  }
  .venus-site-header + main .venus-impact-section .impact-results-panel,
  #header-placeholder ~ main .venus-impact-section .impact-results-panel {
    padding-top: 28px;
    padding-bottom: 0;
  }

  /* Cards / blocks: 24–32px between */
  .venus-site-header + main .workspace-type-grid-pillars .workspace-type-card,
  .venus-site-header + main .venus-segment-grid .venus-segment-card,
  #header-placeholder ~ main .workspace-type-grid-pillars .workspace-type-card,
  #header-placeholder ~ main .venus-segment-grid .venus-segment-card {
    margin-bottom: 28px;
  }
  .venus-site-header + main .workspace-type-grid-pillars .workspace-type-card:last-child,
  .venus-site-header + main .venus-segment-grid .venus-segment-card:last-child,
  #header-placeholder ~ main .workspace-type-grid-pillars .workspace-type-card:last-child,
  #header-placeholder ~ main .venus-segment-grid .venus-segment-card:last-child {
    margin-bottom: 0;
  }
  .venus-site-header + main .discover-workspace .workspace-type-grid,
  #header-placeholder ~ main .discover-workspace .workspace-type-grid {
    gap: 28px;
  }
  .venus-site-header + main .venus-segment-cta,
  #header-placeholder ~ main .venus-segment-cta {
    margin-top: 32px;
  }
  .venus-site-header + main .city-cards .city-card,
  #header-placeholder ~ main .city-cards .city-card {
    margin-bottom: 24px;
  }
  .venus-site-header + main .city-cards .city-card:last-child,
  #header-placeholder ~ main .city-cards .city-card:last-child {
    margin-bottom: 0;
  }
  .venus-site-header + main .venus-case-grid .venus-case,
  #header-placeholder ~ main .venus-case-grid .venus-case {
    margin-bottom: 28px;
  }
  .venus-site-header + main .venus-case-grid .venus-case:last-child,
  #header-placeholder ~ main .venus-case-grid .venus-case:last-child {
    margin-bottom: 0;
  }

  /* Remove zero-margin stacking; content blocks spacing */
  .venus-site-header + main .why-choose-marketplace .why-split,
  #header-placeholder ~ main .why-choose-marketplace .why-split {
    gap: 32px;
  }
  .venus-site-header + main .venus-architecture-split,
  #header-placeholder ~ main .venus-architecture-split {
    gap: 28px;
  }
  .venus-site-header + main .check-list li,
  #header-placeholder ~ main .check-list li {
    margin-bottom: 16px;
  }
  .venus-site-header + main .check-list li:last-child,
  #header-placeholder ~ main .check-list li:last-child {
    margin-bottom: 0;
  }
}

/* ========== Back to Top：僅 Mobile (≤768px)，在 Chatbot 上方 60px ========== */
@media (min-width: 769px) {
  #backToTop {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #backToTop {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9998;
    -webkit-tap-highlight-color: transparent;
  }
  #backToTop.show {
    display: flex;
  }
}
