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

body {
  font-family: 'Montserrat', 'Chiron GoRound TC', Helvetica, Arial, sans-serif;

/*  font-family: 'Montserrat', Helvetica, Arial, sans-serif;*/
  line-height: 1.6;
  color: #e2e8f0;
  background: #0a0a0a;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 48, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.case-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 20px 0;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  flex: 1;
  text-align: center;
}

.header-right {
  flex: 0 0 auto;
}

.header-left .logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  width: 45px;
  height: 45px;
}

.header-right .language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  font-family: 'Montserrat', 'Chiron GoRound TC', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lang-btn.active {
  color: #ffffff;
  font-weight: 400;
}

.lang-btn:hover {
  color: #66b8ff;
}

.lang-separator {
  color: #ffffff;
}

.case-title {
  margin: 20px 0 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
  padding: 0;
  background: url('../images/case-coin/hero.png') center center/cover no-repeat;
  position: relative;
  margin-top: 0;
  z-index: 1;
  height: 100vh;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 3;
  margin-top: 350px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #0052ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e0;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.meta-item {
  background: rgba(120, 119, 198, 0.2);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(120, 119, 198, 0.3);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #0052ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Problem Section */
.problem-section {
  background: #111111;
  position: relative;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.problem-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 32px 0 16px 0;
  color: #ffffff;
  background: #ffffff;
  /*background: linear-gradient(135deg, #ff7730 0%, #ffb347 100%);*/
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-text p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.problem-text ul {
  font-size: 1.1rem;
  margin: 24px 0;
  padding-left: 0;
  list-style: none;
}

.problem-text li {
  margin-bottom: 32px;
  padding-left: 24px;
  position: relative;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #cbd5e0;
}

.problem-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff7730;
  font-size: 1.5rem;
  font-weight: bold;
}

.problem-text li strong {
  color: #ffffff;
  font-weight: 800;
}

/* Challenge Images */
.challenge-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0 0 0;
  align-items: center;
}

.challenge-image-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 200px;
  max-width: 200px;
}


.challenge-image-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.challenge-with-description {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
  max-width: 100%;
  width: 100%;
}

.challenge-image-container {
  flex: 0 0 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.challenge-bottom-images {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: flex-start;
}

.challenge-bottom-images .challenge-image-item:not(.challenge-with-description) {
  flex: 0 0 250px;
  max-width: 250px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 12px;
  padding: 0;
  transition: none;
  margin-left: 0;
}

.challenge-bottom-images .challenge-image-item:not(.challenge-with-description):hover {
  transform: none;
  box-shadow: none;
}

.challenge-bottom-images .challenge-image-item.challenge-with-description {
  flex: 0 0 530px;
  max-width: 530px;
}

.challenge-description {
  padding: 30px;
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border: 1px solid #333333;
  border-radius: 20px;
  flex: 1;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
  position: relative;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.challenge-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0052ff, #00d4ff, #0052ff);
  border-radius: 20px 20px 0 0;
}

.challenge-description::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.challenge-description.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.challenge-description h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #0052ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.challenge-description h4.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.challenge-description p {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.challenge-description p.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.solution-section {
  background: #111111;
  position: relative;
}

.solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.solution-content {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.solution-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #cbd5e0;
  position: relative;
  z-index: 1;
}

.principles {
  margin-top: 40px;
}

.principle {
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(120, 119, 198, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.principle h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.principle p {
  color: #cbd5e0;
  margin: 0;
}

.principle ul {
  margin: 16px 0 0 0;
  padding-left: 0;
  list-style: none;
}

.principle li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #cbd5e0;
  line-height: 1.6;
}

.principle li::before {
  content: '•';
  color: #00d4ff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.principle li strong {
  color: #ffffff;
  font-weight: 600;
}

/* Solution Section Animations */
.solution-intro {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.principle-1 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.2s;
}

.principle-2 {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.4s;
}

.solution-intro.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.principle-1.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.principle-2.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.solution-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-section {
  background: #0a0a0a;
}

.process-content {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  background: #2baaff;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.step-content p {
  color: #cbd5e0;
  line-height: 1.6;
}

/* Process Section Animations */
.step-1 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.1s;
}

.step-2 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.2s;
}

.step-3 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.3s;
}

.step-4 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
  transition-delay: 0.4s;
}

.step-1.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.step-2.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.step-3.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.step-4.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Wireframe Section */
.wireframe-section {
  background: #111111;
  position: relative;
}

.wireframe-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 82, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.wireframe-content {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.wireframe-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #cbd5e0;
  position: relative;
  z-index: 1;
}

.wireframe-features {
  margin-top: 40px;
}

.feature {
  margin-bottom: 10px;
  margin-top: 20px;
  padding: 24px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(0, 82, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature p {
  color: #cbd5e0;
  margin: 0;
}

.enhancement-statement {
  color: #ffffff !important;
  font-weight: 600;
  font-style: italic;
  margin-top: 16px !important;
  padding: 16px;
  background: rgba(0, 82, 255, 0.2);
  border-left: 3px solid #0052ff;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  display: block;
  opacity: 1;
}

.wireframe-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.wireframe-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wireframe-features .wireframe-images {
  position: relative;
  display: inline-block;
}

.wireframe-features .wireframe-images .wireframe-img {
  width: 80%;
  max-width: 2500px;
  margin: 0 auto;
  display: block;
}

.wireframe-images .wireframe-img:first-child {
  width: 80%;
  max-width: 2500px;
  margin: 0 auto;
  display: block;
}

/* Move wireframe2 up */
.wireframe-content .wireframe-images:last-child {
  margin-top: 10px;
}

/* Prototyping Section */
.prototyping-section {
  background: #0a0a0a;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.prototyping-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 82, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.prototyping-content {
  margin-top: 40px;
}

.prototyping-text p {
  font-size: 1.1rem;
  color: #cbd5e0;
  margin-bottom: 40px;
  line-height: 1.7;
  text-align: left;
}



.prototyping-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prototype-img {
  width: 30%;
  max-width: 1800px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  display: block;
}

.prototype-img-1 {
  margin-left: 0;
  margin-top: 0;
}

.portfolio-comparison {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 60px;
  margin-bottom: 80px;
}

.prototype-arrow {
  width: 250px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
}

.prototype-arrow .arrow-svg {
  width: 100%;
  height: 100%;
  animation: drawArrowGradient 1s ease-in-out;
}

/* Second arrow animation with delay */
.prototyping-images:nth-of-type(2) .prototype-arrow .arrow-svg {
  animation: drawArrowGradient 1s ease-in-out 0.5s;
}

.prototype-img-2 {
  width: 30%;
  max-width: 1800px;
  margin: 0;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInSlide 0.8s ease-in-out 1.5s forwards;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Second portfolio2-2 image animation with delay */
.prototyping-images:nth-of-type(2) .prototype-img-2 {
  animation: fadeInSlide 0.8s ease-in-out 2s forwards;
}

/* Third arrow animation with delay */
.prototyping-images:nth-of-type(3) .prototype-arrow .arrow-svg {
  animation: drawArrowGradient 1s ease-in-out 1s;
}

/* Third portfolio3-2 image animation with delay */
.prototyping-images:nth-of-type(3) .prototype-img-2 {
  animation: fadeInSlide 0.8s ease-in-out 2.5s forwards;
}

.prototype-img-2:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.prototype-img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* Move prototyping2 up */
.prototyping-content .prototyping-images:last-child {
  margin-top: -40px;
}

/* Impact & Learning Section */
.results-section {
  background: #0a0a0a;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.results-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.results-content {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.results-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}
.results-text ul {
  list-style: decimal;
  line-height: 1.5;
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #cbd5e0;
}

/*footer section*/
footer {
  position: relative;
  background: #111;
  color: #eee;
  padding: 30px 40px;
  text-align: left;
  transform-origin: bottom center;   /* 從底部翻開 */
  transform: rotateX(90deg);         /* 初始收起來 */
  transition: transform 1s ease;     /* 翻開動畫 */
}

footer.show {
  transform: rotateX(0deg);          /* 翻開 */
}

.footer-content {
  max-width: 1200 px;
  margin: auto;
  display: flex;                     /* 加這個 */
  justify-content: space-between;    /* 左右對齊 */
  align-items: center;               /* 垂直置中 */
}

.social-icon {
  display: flex;               
  margin:0;
  gap: 24px;
  align-items: center;
}

.social-icon svg {
  stroke-width: 1.2; 
}
.social-icon a {
  color: #fff;             /* 統一 icon 顏色 */
  text-decoration: none;      /* 移除底線 */
  display: inline-flex;
  transition: color 0.3s, transform 0.2s;
}


.social-icon a:hover {
  color: #2baaff;                /* hover 顯示白色 */
  transform: scale(1.2);
}

.copy {
  text-align: left;
  font-size: 0.8rem !important;
  color: #aaa;
  margin: 0;                     /* 🔹去掉多餘 margin */
}



@keyframes drawArrowGradient {
  0% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }
  50% {
    opacity: 1;
    transform: scaleX(0.5);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Responsive Challenges Section */
@media (max-width: 768px) {
  .challenge-images {
    display: none;
  }
  
  
  .challenge-bottom-images {
    display: none;
  }
  


/* Responsive Prototyping */
@media (max-width: 768px) {
  .prototyping-section {
    padding: 60px 0;
  }
  
  .prototyping-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .prototyping-text {
    text-align: center;
  }
  
  .prototyping-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .prototyping-features {
    gap: 40px;
  }
  
  .portfolio-comparison {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .prototype-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  .prototype-img-1 {
    margin: 0;
    order: 1;
  }
  
  .prototype-img-2 {
    width: 100%;
    max-width: 300px;
    margin: 0;
    order: 3;
  }
  
  .prototype-arrow {
    width: 80px;
    height: 30px;
    order: 2;
    transform: rotate(90deg);
  }
  
  .prototype-arrow .arrow-svg {
    width: 100%;
    height: 100%;
  }
  
  .prototyping-images {
    margin-bottom: 30px;
  }
  
  .prototyping-images:last-child {
    margin-bottom: 0;
  }
}

/* Wireframe Section Animations */
.wireframe-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wireframe-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.wireframe-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.wireframe-description.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-1 {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.4s;
}

.feature-1.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.wireframe-img-1 {
  opacity: 0;
  transform: translateX(30px) scale(0.95);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.6s;
}

.wireframe-img-1.animate-in {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.feature-2 {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.8s;
}

.feature-2.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.wireframe-img-2 {
  opacity: 0;
  transform: translateY(40px) rotate(2deg);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 1s;
}

.wireframe-img-2.animate-in {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Add subtle hover effects */
.wireframe-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.results-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.results-text p {
  font-size: 1.25rem;
  color: #cbd5e0;
  margin-bottom: 24px;
  line-height: 2;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.metric {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2baaff;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.4;
}

.results-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*footer section*/
footer {
  position: relative;
  background: #111;
  color: #eee;
  padding: 30px 40px;
  text-align: left;
  transform-origin: bottom center;   /* 從底部翻開 */
  transform: rotateX(90deg);         /* 初始收起來 */
  transition: transform 1s ease;     /* 翻開動畫 */
}

footer.show {
  transform: rotateX(0deg);          /* 翻開 */
}

.footer-content {
  max-width: 1200 px;
  margin: auto;
  display: flex;                     /* 加這個 */
  justify-content: space-between;    /* 左右對齊 */
  align-items: center;               /* 垂直置中 */
}

.social-icon {
  display: flex;               
  margin: 0;
  gap: 24px;
  align-items: center;
}

.social-icon svg {
  stroke-width: 1.2; 
}
.social-icon a {
  color: #fff;             /* 統一 icon 顏色 */
  text-decoration: none;      /* 移除底線 */
  display: inline-flex;
  transition: color 0.3s, transform 0.2s;
}


.social-icon a:hover {
  color: #2baaff;                /* hover 顯示白色 */
  transform: scale(1.2);
}

.copy {
  text-align: left;
  font-size: 0.8rem !important;
  color: #aaa;
  margin: 0;                     /* 🔹去掉多餘 margin */
}


/*footer section*/
footer {
  position: relative;
  background: #111;
  color: #eee;
  padding: 30px 40px;
  text-align: left;
  transform-origin: bottom center;   /* 從底部翻開 */
  transform: rotateX(90deg);         /* 初始收起來 */
  transition: transform 1s ease;     /* 翻開動畫 */
}

footer.show {
  transform: rotateX(0deg);          /* 翻開 */
}

.footer-content {
  max-width: 1200 px;
  margin: auto;
  display: flex;                     /* 加這個 */
  justify-content: space-between;    /* 左右對齊 */
  align-items: center;               /* 垂直置中 */
}



.social-icon {
  display: flex;               
  margin:0;
  gap: 24px;
  align-items: center;
}

.social-icon svg {
  stroke-width: 1.2; 
}
.social-icon a {
  color: #fff;             /* 統一 icon 顏色 */
  text-decoration: none;      /* 移除底線 */
  display: inline-flex;
  transition: color 0.3s, transform 0.2s;
}


.social-icon a:hover {
  color: #2baaff;                /* hover 顯示白色 */
  transform: scale(1.2);
}

.copy {
  text-align: left;
  font-size: 0.8rem !important;
  color: #aaa;
  margin: 0;                     /* 🔹去掉多餘 margin */
}



/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    height: auto;
    padding: 40px 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-meta {
    justify-content: flex-start;
  }
  
  .challenge-images {
    gap: 20px;
    margin: 30px 0 0 0;
  }
  
  .challenge-image-item {
    flex: 0 0 150px;
    max-width: 150px;
  }
  
  .challenge-with-description {
    flex-direction: column;
    gap: 15px;
  }
  
  .challenge-image-container {
    flex: none;
    width: 100%;
    max-width: 200px;
  }
  
  .challenge-bottom-images {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
  
  .challenge-bottom-images .challenge-image-item:not(.challenge-with-description) {
    flex: 0 0 auto;
    max-width: 250px;
  }
  
  .challenge-bottom-images .challenge-image-item.challenge-with-description {
    flex: 0 0 auto;
    max-width: 100%;
  }
}
  
  .wireframe-content,
  .solution-content,
  .process-content,
  .results-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .metrics {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0 20px;
  }
  
  .social-icon {
    gap: 16px;
  }
  
  .copy {
    font-size: 0.7rem !important;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
