/* Import component styles */
@import url('components/top-navigation.css');
@import url('components/footer.css');
@import url('style.css');

:root {
  /* 颜色系统 */
  --color-theme: #7B61FF;
  --color-H2: #532889;
  --color-H3: #968BA3;
}

/* Business Module System 页面字体颜色覆盖 */
h2 {
  color: var(--color-H2, #532889);
}

h3 {
  color: var(--color-H3, #968BA3);
}

h4 {
  color: var(--color-H4, #7D7B7B);
}

p {
  color: var(--color-Body, #1E1E1E);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--color-bg, #f6f6f6);
  color: var(--color-Body, #1E1E1E);
  font-size: var(--fonts-size-body, 16px);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

/* Page Wrapper */
.page-wrapper {
  display: block;
  min-height: 100vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

/* Main Container */
.container {
  padding: 100px 6rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.head-title {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  box-sizing: border-box;
  gap: 0.3rem;
}

/* Full Width Images */
.head-image {
  width: 100vw;
  height: 70vh;
  object-fit: cover;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Header section */
.header {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.summary-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin-right: 4rem;
  margin-top: 12px;
  margin-bottom: 36px;
}

.summary-row {
  display: flex;
}

.summary-label {
  color: var(--color-H4, #7D7B7B);
  font-size: var(--fonts-size-label, 13px);
  width: 60px;
  margin-right: 36px;
}

.summary-content {
  color: var(--color-Body, #1E1E1E);
  width: 120px;
  font-size: var(--fonts-size-label, 13px);
}

.context {
  grid-column: 7 / 13;
}

.context p {
  line-height: 1.5;
  margin-bottom: 6px;
}

/* My role section */
.my-role {
  margin-top: 20px;
}

/* Project impact section */
.project-impact {
  margin-top: 20px;
}

.project-impact ul {
  list-style-type: none;
  line-height: 1.5;
}

.project-impact li {
  margin-bottom: 2px;
  position: relative;
  padding-left: 20px;
}

.project-impact li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--color-H3, #968BA3);
  font-weight: bold;
}

/* Understanding section */
.understanding {
  padding: 2rem 0;
}

.understanding .text-1 {
  line-height: 1.5;
  margin-bottom: 20px;
}

.understanding .text-1 ol {
  margin-top: 12px;
  margin-bottom: 20px;
  padding-left: 0;
  list-style-position: inside;
}

.understanding .text-1 ol li {
  margin-bottom: 4px;
  font-size: var(--fonts-size-body, 16px);
  text-indent: 0;
  /* 避免内容缩进 */
}

.understanding .text-2 {
  line-height: 1.5;
  margin-top: 36px;
}

.understanding .text-2 ol h4 {
  margin-top: 16px;
}

.Understanding-img {
  width: 80%;
  height: auto;
  margin: 36px auto;
  display: block;
}

.methodology {
  margin: 0;
  padding: 2rem 0;
}

.methodology h3 {
  margin-bottom: 0px;
}

.methodology-content {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.methodology-text {
  flex: 1;
}

.methodology-text p {
  margin-bottom: 1rem;
}

.methodology-text p:last-child {
  margin-bottom: 0;
}

.methodology-image-container {
  flex: 0 0 auto;
  width: 50%;
}

.Methodology-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  display: block;
}

.image-source {
  text-align: center;
  font-size: 12px;
  color: var(--color-H4, #7D7B7B);
  margin-top: 0.5rem;
}

/* Project goal section */
.project-goal {
  margin-top: 4rem;
  margin-left: 0%;
  width: 100%;
  max-width: 75%;
}

.project-goal h2 {
  color: var(--color-H3, #968BA3);
}

.project-goal h1 {
  color: var(--color-H2, #532889);
  margin-bottom: 12px;
}

/* Full Width Images */
.fullwidthM-image {
  width: 80%;
  height: auto;
  margin: 2rem auto;
  display: block;
}

.fullwidthL-image {
  width: 100%;
  height: auto;
  margin: 18px 0;
}

.testing,
.prioritization,
.deliverables,
.handoff,
.success,
.result {
  margin-top: 1rem;
  padding: 1rem 0;
}

.result,
.conclusion {
  margin-top: 1.5rem;
  padding: 1.5rem 0;
}

.nextsteps {
  margin-top: 2rem;
  padding: 2rem 0;
}

/* Success block layout - same as output-block */
.success-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.success-content {
  flex: 0 0 calc(50% - 1.5rem);
  min-width: 0;
}

.success-content>div {
  margin-bottom: 2rem;
}

.success-content>div:last-child {
  margin-bottom: 0;
}

.success-image {
  flex: 0 0 calc(50% - 1.5rem);
  min-width: 0;
  overflow: hidden;
}

.success-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Success block-11 - vertical layout only */
.success-block-Vertical {
  margin-bottom: 3rem;
  padding: 2rem 0 0 0;
}

.success-block-Vertical .success-content {
  width: 100%;
}

/* Project task section */
.project-task {
  margin-top: 100px;
}

.project-task h2 {
  margin-bottom: 10px;
}

.project-task h1 {
  color: var(--color-Body, #1E1E1E);
  margin-bottom: 2rem;
}

/* Task details */
.task-details {
  display: flex;
  margin: 2rem 0 0 0;
}

.task-details-vertical {
  display: flex;
  margin: 0 0 2rem 0;
  gap: 24px;
}

/* Expand Section Styles */
.expand-section {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.expand-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--color-H3, #968BA3);
  border-radius: 25px;
  color: var(--color-H3, #968BA3);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background-color: var(--color-H3, #968BA3);
  color: white;
  transform: translateY(-2px);
}

.expand-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Expandable Content */
.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.expandable-content.expanded {
  max-height: 5000px; /* Large enough to accommodate content */
  transition: max-height 0.8s ease-in;
}

.task-detail-col {
  flex: 1;
}

.task-detail-col:last-child {
  margin-right: 0;
}

.task-detail-col p {
  line-height: 1.5;
}

.task-detail-col ul {
  list-style-type: none;
  line-height: 1.5;
}

.task-detail-col li {
  margin-bottom: 2px;
  position: relative;
  padding-left: 20px;
}

.task-detail-col li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--color-H3, #968BA3);
  font-weight: bold;
}

/* Background section */
.background {
  margin-top: 20px;
}

.background p {
  line-height: 1.5;
}

/* desk-research section */
.desk-research {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.desk-research p {
  line-height: 1.5;
}

.image-source {
  text-align: center;
  font-size: 12px;
  color: var(--color-H4, #7D7B7B);
  margin-top: 8px;
  font-style: italic;
}

/* Purple section */
.purple-section {
  background-color: var(--color-theme, #7B61FF);
  padding: 2rem 0;
  margin-top: 60px;
  color: var(--color-inverse, #ffffff);
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

.purple-section .container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 6rem;
  box-sizing: border-box;
}

/* Output section */
.output-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Output section with direct image and text children (horizontal layout) */
.output-section-horizontal {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.output-section-horizontal .output-image {
  flex: 0 0 calc(60% - 1.5rem);
  order: 2;
  min-width: 0;
  overflow: hidden;
}

.output-section-horizontal .output-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.output-section-horizontal .output-text {
  flex: 0 0 calc(40% - 1.5rem);
  order: 1;
  min-width: 0;
  overflow: hidden;
}

.output-section-horizontal .output-text img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.output-section-horizontal .output-text p {
  color: var(--color-inverse, #ffffff);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.output-section-horizontal .output-text h2 {
  color: var(--color-inverse, #ffffff);
  margin-bottom: 1rem;
}

/* 特别针对 output-img 和 output-img-2 在 horizontal 布局中的样式 */
.output-section-horizontal .output-img,
.output-section-horizontal .output-img-2 {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-sizing: border-box;
}

.output-title {
  margin-bottom: 2rem;
}

.output-title h2 {
  color: var(--color-inverse, #ffffff);
  margin-bottom: 1rem;
}

.output-title p {
  color: var(--color-inverse, #ffffff);
  line-height: 1.5;
}

.output-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.output-content {
  flex: 0 0 calc(50% - 1.5rem);
  min-width: 0;
}

.output-content h4 {
  color: var(--color-inverse, #ffffff);
  margin-bottom: 1rem;
}

.output-content p {
  color: var(--color-inverse, #ffffff);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.output-image {
  flex: 0 0 calc(50% - 1.5rem);
  min-width: 0;
  overflow: hidden;
}

.output-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 确保 output-block 中的特定图片类不超出容器 */
.output-block .output-img,
.output-block .output-img-1,
.output-block .output-img-2 {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-sizing: border-box;
}

.output-img-1 {
  width: 100%;
  height: auto;
}

.output-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.output-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.output-text h2 {
  color: var(--color-inverse, #ffffff);
}

.output-text p {
  line-height: 1.5;
  margin-bottom: 40px;
}

.output-img-2 {
  width: 100%;
  height: auto;
  margin-top: auto;
}

.small-image {
  background-color: #b30000;
  width: 100%;
  height: 120px;
  margin-top: 20px;
}

/* After & Before section */
.after-before {
  padding: 3rem 0 2rem 0;
}

.after-before h2 {
  color: var(--color-inverse, #ffffff);
}

.after-before p {
  color: var(--color-inverse, #ffffff);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.comparison-image {
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}

.screenshot {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

/* Current situation section */
.current-situation {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.current-situation h1 {
  color: var(--color-Body, #1E1E1E);
  margin-bottom: 16px;
  font-size: var(--fonts-size-h2);
}

/* Current situation cards */
.situation-cards {
  display: flex;
  gap: 24px;
}

.situation-card {
  flex: 1;
  border: 1px solid var(--color-H4, #7D7B7B);
  padding: 20px;
  background-color: var(--color-inverse);
}

.situation-card p {
  line-height: 1.5;
  margin: 0;
  color: var(--color-Body, #1E1E1E);
}

/* Research */
.research {
  margin: 0;
  padding: 2rem 0;
}

.ideate {
  margin: 0;
  padding: 2rem 0;
}

/* Stage containers */
.stage {
  padding: 3rem 0 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.stage-title {
  flex: 0 0 40%;
}

.stage-content {
  flex: 1;
}

.stage-title h4 {
  color: var(--color-H4);
  margin-bottom: 1rem;
}

.stage-content p {
  margin-bottom: 1rem;
}

.stage-content img {
  width: 100%;
  height: auto;
  margin: 0 0 1rem 0;
}

.stage2-card {
  height: fit-content;
  padding: 16px;
  margin: 0 0 1rem 0;
  background-color: var(--color-inverse, #ffffff);
  border: 1px solid var(--color-H4, #7D7B7B);
}

.stage2-card p {
  margin: 0;
  line-height: 1.5;
}

.layout55-images {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.layout5050-img {
  flex: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: calc(50% - 12px);
}

/* Figma Embed Styles */
.figma-embed {
  margin: 2rem 0 4rem 0;
  width: 100%;
}

.figma-embed h4 {
  margin-bottom: 1rem;
}

.figma-container {
  grid-column: 2 / span 2;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.figma-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.03);
}

/* Gallery Styles */
.gallery-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: visible;
  border-radius: 8px;
  margin-bottom: 20px;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-prev {
  left: -25px;
}

.gallery-next {
  right: -25px;
}

.gallery-thumbnails {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.conclusion {
  margin: 2rem 0;
  display: none;
}

.conclusion p,
.conclusion ul,
.conclusion li {
  line-height: 1.5;
}

.conclusion ul {
  list-style-type: none;
}

.conclusion li {
  margin-bottom: 2px;
  position: relative;
  padding-left: 20px;
}

.conclusion li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--color-H3, #968BA3);
  font-weight: bold;
}

.nextsteps ul {
  list-style-type: none;
  line-height: 1.5;
}

.nextsteps li {
  margin-bottom: 2px;
  position: relative;
  padding-left: 20px;
}

.nextsteps li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--color-H3, #968BA3);
  font-weight: bold;
}

.sticky-note {
  width: 560px;
  max-width: 90%;
  height: auto;
  background: #ffffff;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  border: 1px solid var(--color-H4, #7D7B7B);
  padding: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-2deg);
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 4rem auto;
}

.sticky-note h4 {
  line-height: 1;
  color: var(--color-Body, #1E1E1E);
}

.sticky-note p {
  font-size: var(--fonts-size-label, 13px);
  line-height: 1.4;
}

.sticky-note::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sticky-note:hover {
  background: #E1D4F8;
  /* 紫色背景 */
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 16px 32px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.thumbnail {
  width: 120px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.thumbnail:hover {
  border-color: var(--color-theme, #7B61FF);
  transform: translateY(-2px);
}

.thumbnail.active {
  border-color: var(--color-theme, #7B61FF);
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.3);
}

.thumbnail img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.thumbnail-caption {
  font-size: 12px;
  color: white;
  text-align: center;
  padding: 4px;
  background: rgba(0, 0, 0, 0.7);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media Queries */
@media screen and (min-width: 962px) {
  .container {
    padding: 80px 8% 0;
  }

  .purple-section .container {
    padding: 0 8%;
  }
}

@media screen and (max-width: 962px) {
  .container {
    padding: 80px 8% 0;
  }

  .purple-section .container {
    padding: 0 8%;
  }

  .header {
    flex-direction: column;
  }

  .context {
    grid-column: 1 / 13;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 80px 4rem 0;
  }

  .purple-section .container {
    padding: 0 4rem;
  }

  .figma-embed {
    grid-template-columns: 1fr;
  }

  .figma-embed h3,
  .figma-container {
    grid-column: 1;
  }

  .output-block {
    flex-direction: column;
    gap: 20px;
  }

  .output-content,
  .output-image {
    flex: none;
  }

  .output-block .output-img,
  .output-block .output-img-1,
  .output-block .output-img-2 {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .success-block {
    flex-direction: column;
    gap: 20px;
  }

  .success-content,
  .success-image {
    flex: none;
  }

  .output-section-horizontal {
    flex-direction: column;
    gap: 20px;
  }

  .output-section-horizontal .output-image,
  .output-section-horizontal .output-text {
    flex: none;
    order: unset;
  }

  .output-section-horizontal .output-img,
  .output-section-horizontal .output-img-2 {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .small-image {
    margin-top: 15px;
  }

  .header {
    flex-direction: column;
  }

  .summary {
    margin-bottom: 20px;
  }

  .context {
    padding-left: 0;
  }

  .task-details {
    flex-direction: column;
  }

  .task-detail-col {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .situation-cards {
    flex-direction: column;
    gap: 16px;
  }

  .stage {
    flex-direction: column;
    gap: 1rem;
  }

  .stage-title {
    flex: none;
    padding-right: 0;
  }

  .stage-title h4 {
    margin-bottom: 1rem;
  }

  .layout55-images {
    flex-direction: column;
    gap: 16px;
  }

  .layout5050-img {
    max-width: 100%;
  }

  .sticky-note {
    width: 100%;
    max-width: 90%;
    padding: 16px;
    transform: rotate(-1deg);
  }

  .expand-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    width: 100%;
    padding: 70px 2rem 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .project-goal p {
    font-size: 16px;
    margin-top: 40px;
    width: 100%;
    max-width: none;
  }

  .comparison-image {
    width: 100%;
    height: auto;
  }

  .summary-container {
    max-width: 100%;
    margin-right: 0;
    padding: 0;
  }

  .summary-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .summary-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .summary-label,
  .summary-content {
    width: 100%;
    margin-right: 0;
  }

  .context {
    width: 100%;
    padding: 0;
  }

  .task-details {
    width: 100%;
    margin: 20px 0;
    padding: 0;
  }

  .task-detail-col {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
  }

  .project-goal {
    margin-top: 4rem;
    margin-left: 0%;
    width: 100%;
    max-width: 100%;
  }

  .output-section {
    width: 100%;
    margin: 20px 0;
    padding: 0;
  }

  .output-block {
    width: 100%;
    margin: 20px 0;
    padding: 0;
  }

  .output-content,
  .output-image {
    width: 100%;
    padding: 0;
  }

  .output-block .output-img,
  .output-block .output-img-1,
  .output-block .output-img-2 {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .success-block {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    flex-direction: column;
    gap: 16px;
  }

  .success-content,
  .success-image {
    width: 100%;
    padding: 0;
  }

  .output-section-horizontal {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    flex-direction: column;
    gap: 16px;
  }

  .output-section-horizontal .output-text {
    width: 100%;
    padding: 0;
    order: 1;
  }

  .output-section-horizontal .output-image {
    width: 100%;
    padding: 0;
    order: 2;
  }

  .output-section-horizontal .output-img,
  .output-section-horizontal .output-img-2 {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .Understanding-img {
    margin: 20px 0;
  }

  .purple-section .container {
    padding: 0 2rem;
  }

  .after-before {
    width: 100%;
    padding: 0;
  }

  .comparison-image {
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
  }

  .screenshot {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  /* Gallery responsive styles */
  .gallery-main {
    height: 250px;
  }

  .gallery-nav {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .gallery-prev {
    left: -15px;
  }

  .gallery-next {
    right: -15px;
  }

  .gallery-thumbnails {
    gap: 12px;
  }

  .thumbnail {
    width: 80px;
    height: 60px;
  }

  .thumbnail img {
    height: 40px;
  }

  .thumbnail-caption {
    font-size: 10px;
    padding: 2px;
  }

  .sticky-note {
    width: 100%;
    max-width: 95%;
    padding: 12px;
    transform: rotate(0deg);
    margin: 1rem auto;
  }

  .sticky-note h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .sticky-note p {
    font-size: 12px;
    line-height: 1.3;
  }

  .expand-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .expand-section {
    margin: 1.5rem 0;
  }
}