/* Reset and base styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Gotham HTF-Book", "Inter", sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 42px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

section .container {
  margin-bottom: 32px;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 16px 0;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.header.hidden {
  transform: translateY(-100%);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.logo-text {
  font-family: "Gotham HTF-Book", Helvetica;
  font-size: 20px;
  color: #ffffff;
  margin: 0;
}

.cta-button {
  background-color: #9affe0;
  color: #003629;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: "Gotham-Book", Helvetica;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  margin-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0, 54, 41, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
}

.gradient-follow {
  position: absolute;
  width: 1400px;
  height: 1400px;
  background: radial-gradient(circle at center, 
    rgba(36, 185, 141, 0.35) 0%, 
    rgba(36, 185, 141, 0.2) 35%,
    rgba(36, 185, 141, 0.05) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: opacity 0.4s ease;
  opacity: 0;
  filter: blur(50px);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-title {
  font-family: "Gotham HTF-Book", Helvetica;
  font-size: 144px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 144px;
  max-width: 1320px;
}

.hero-subtitle {
  font-family: "Gotham HTF-Book", Helvetica;
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 16px 0 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hide description and stats on desktop */
.hero-description,
.hero-stats {
  display: none;
}

.hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stats::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #9affe0;
  border-radius: 50%;
}

/* 카드 컨테이너 - 데스크탑 */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.card {
  background: linear-gradient(to bottom, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  flex: 1;
  min-width: 320px;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(154, 255, 224, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(20, 20, 20, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 255, 224, 0.15);
  box-shadow: 
    0 20px 40px -20px rgba(0, 0, 0, 0.5),
    0 2px 20px -10px rgba(154, 255, 224, 0.2);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-logo {
  width: 48px;
  height: 48px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(154, 255, 224, 0.2));
  transition: all 0.6s ease;
}

.card:hover .card-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(154, 255, 224, 0.3));
}

.card h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.card-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(154, 255, 224, 0.3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover .card-text {
  opacity: 1;
  transform: translateY(0);
}

.card:hover .card-text::before {
  transform: scaleX(1);
}

.card-initial {
  transition: all 0.3s ease;
  opacity: 1;
}

.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.95) 0%, rgba(22, 22, 22, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.card:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
}

.card:hover .card-initial {
  opacity: 0;
  transform: translateY(-10px);
}

.card h3 {
  color: #9affe0;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.card-hover h3 {
  margin-bottom: 12px;
}

.card-hover .card-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 255, 224, 0.2);
  box-shadow: 0 8px 32px rgba(154, 255, 224, 0.1);
}

.card:hover::before {
  left: 100%;
}

.card h3 {
  color: #9affe0;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.card h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(154, 255, 224, 0.3);
  margin-top: 12px;
}

.card-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.hero-image {
  position: relative;
  width: 738px;
  height: 738px;
  margin: 0 auto;
  display: block;
  margin-top: 100px;
  z-index: 2;
}

/* Section styles */
.section {
  padding: clamp(40px, 5vw, 80px) 0;
  position: relative;
}

.section-title {
  font-family: "Gotham HTF-Book", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 144px;
  line-height: 144px;
  margin-bottom: 60px;
}

.description {
  font-family: "Gotham HTF-Book", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  line-height: 36px;
  max-width: 800px;
}

/* Features section */
.features {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}

.feature-column {
  background-color: #003629;
  padding: 40px;
  flex: 1;
  transition: all 0.3s ease;
}

.feature-column:nth-child(2) {
  background-color: #9affe0;
}

.feature-column:nth-child(2) .feature-title,
.feature-column:nth-child(2) .feature-description,
.feature-column:nth-child(2) .feature-item,
.feature-column:nth-child(2) .feature-item-details {
  color: #003629;
}

.feature-column:nth-child(2) .feature-item {
  border-bottom: 1px solid rgba(0, 54, 41, 0.3);
}

.feature-column:nth-child(2) .feature-item:hover {
  color: #000000;
}

.feature-title {
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #9affe0;
  font-size: 60px;
  line-height: 60px;
  margin-bottom: 20px;
  margin-top: 0;
}

.feature-description {
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #9affe0;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 40px;
}

.feature-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 40px;
}

.feature-item {
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #9affe0;
  font-size: 20px;
  line-height: 32px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(154, 255, 224, 0.3);
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-item:before {
  content: "+";
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 20px;
}

.feature-item-details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #9affe0;
  font-size: 16px;
  line-height: 24px;
  opacity: 0;
  margin-top: 0;
}

.feature-item.active .feature-item-details {
  max-height: 200px;
  margin-top: 10px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.feature-item.active:before {
  content: "-";
}

.feature-item:hover {
  color: #ffffff;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq .container {
  display: flex;
  justify-content: space-between;
  gap: 120px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 42px;
}

.faq-content {
  flex: 0 1 500px;
}

.faq-title {
  font-family: "Gotham-Book", Helvetica;
  font-size: 60px;
  line-height: 72px;
  color: #ffffff;
  margin-bottom: 24px;
}

.faq-description {
  font-family: "Gotham-Book", Helvetica;
  font-size: 20px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.faq-list {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px 0;
  cursor: pointer;
}

.faq-question {
  font-family: "Gotham-Book", Helvetica;
  font-size: 20px;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  padding-right: 32px;
  font-weight: 300;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #ffffff;
}

.faq-item.active .faq-question:after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  font-family: "Gotham-Book", Helvetica;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.8);
  padding-right: 32px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 16px;
}

.see-more {
  grid-column: 2;
  margin-top: 40px;
}

.see-more {
  color: #00FF9D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 40px;
  font-size: 18px;
}

.see-more::after {
  content: '→';
  margin-left: 8px;
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, #003629 0%, #001a14 50%, #000000 100%);
  background-image: url(https://c.animaapp.com/b3FISGYA/img/gradient-1.png) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 100px 0;
  position: relative;
  min-height: 400px;
}

.cta-title {
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1.1;
  margin-bottom: 60px;
  max-width: 678px;
}

.cta-content {
  max-width: 682px;
  margin-left: auto;
}

.cta-description {
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-email {
  display: block;
  font-family: "Gotham-Book", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  line-height: 16px;
  margin-bottom: 20px;
  text-decoration: none;
}

.email-input-container {
  margin-bottom: 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.cta-email-input {
  width: 100%;
  padding: 12px 40px 12px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-family: "Gotham HTF-Book", Helvetica;
  font-size: 18px;
  letter-spacing: -0.40px;
  transition: all 0.3s ease;
}

.cta-email-input:focus {
  outline: none;
  border-bottom-color: #fff;
}

.cta-email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Gotham HTF-Book", Helvetica;
  font-size: 18px;
  letter-spacing: -0.40px;
}

/* Arrow icon */
.email-input-container::after {
  content: '→';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 24px;
  pointer-events: none;
}

/* Original CTA button styles */
.cta-btn {
  background: linear-gradient(135deg, rgba(154, 255, 224, 0.2) 0%, rgba(154, 255, 224, 0.1) 100%);
  border: 1px solid rgba(154, 255, 224, 0.2);
  border-radius: 8px;
  color: #9affe0;
  font-size: 16px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  backdrop-filter: blur(10px);
  width: auto;
  display: inline-block;
}

.cta-btn:hover {
  background: linear-gradient(135deg, rgba(154, 255, 224, 0.3) 0%, rgba(154, 255, 224, 0.15) 100%);
  border-color: rgba(154, 255, 224, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Footer */
.footer {
  background: #fff;
  padding: 120px 0 60px;
  position: relative;
}

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 42px;
  position: relative;
}

.footer-title {
  font-size: 42px;
  font-weight: 400;
  color: #000;
  max-width: 800px;
  margin: 0 0 100px;
  line-height: 1.2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  font-size: 24px;
  color: #000;
}

.footer-nav,
.social-links {
  display: flex;
  flex-direction: column;
}

.footer-nav a,
.social-links a {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #000;
  font-size: 16px;
  line-height: 22.4px;
  margin-bottom: 10px;
  text-decoration: none;
}

.copyright {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  line-height: 22.4px;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .hero-title,
  .section-title {
    font-size: 100px;
    line-height: 100px;
  }
  
  .hero-subtitle {
    font-size: 20px;
    margin-top: 20px;
  }
  
  .cards-container {
    gap: 32px;
    max-width: 100%;
  }
  
  .card {
    width: 100%;
    max-width: 100%;
  }
  
  .features {
    flex-direction: column;
  }
  
  .faq-list {
    margin-left: 0;
    margin-top: 40px;
  }
  
  .see-more {
    margin-left: 0;
  }
  
  .cta-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }

  .faq .container {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    padding: 0 24px;
  }

  .faq-content {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .faq-title {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 16px;
  }

  .faq-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 0;
    max-width: 600px;
    margin: 0 auto;
  }

  .faq-list {
    flex: none;
    width: 100%;
  }

  .faq-item {
    padding: 20px 0;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .faq .container {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 12px;
  }

  .faq-description {
    font-size: 16px;
    line-height: 24px;
  }

  .faq-item {
    padding: 16px 0;
  }
}

/* Custom fonts */
@font-face {
  font-family: "Gotham HTF-Book";
  src: url("https://anima-uploads.s3.amazonaws.com/5c4631c799b050000a5bdde6/GothamHTF-Book.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham-Book";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/6546a6a8e6cfe31c46f5ccea/fonts/gotham-book.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham-Bold";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/65410c35416ace0412c89137/fonts/gotham-bold.otf")
    format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.problem-statement {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.problem-statement .container {
  position: relative;
  z-index: 2;
}

.problem-statement .title-container {
  margin-bottom: 30px;
}

.problem-statement .section-title {
  font-size: clamp(36px, 8vw, 144px);
  line-height: 1.1;
  margin-bottom: 40px;
}

.problem-statement .content-container {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.problem-statement .description {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.5;
  color: #ffffff;
  max-width: 100%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.problem-statement .description p {
  margin-bottom: clamp(16px, 2vw, 24px);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.problem-statement .description p:hover {
  opacity: 1;
}

.problem-statement .left-content {
  flex: 1;
  max-width: 50%;
}

.problem-statement .right-content {
  flex: 1;
  max-width: 50%;
}

.problem-statement .description p {
  margin-bottom: 24px;
}

.problem-statement .description p:last-child {
  margin-bottom: 0;
}

/* Add subtle animation to the gradient */
@keyframes gradientFloat {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1200px) {
  .problem-statement .content-container {
    flex-direction: column;
  }

  .problem-statement .left-content,
  .problem-statement .right-content {
    max-width: 100%;
  }
}

/* Solution Section (Borrowing/Lending) */
.solution {
  padding-top: 20px;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: #000;
}

/* Wrapper for sticky effect */
.how-it-works-sticky-wrapper {
  position: relative;
  height: 400vh; /* Increased total height for more scroll space */
}

/* Sticky container for How it Works section */
.how-it-works-sticky-container {
  position: sticky;
  top: -20vh; /* Start sticky effect from higher position */
  z-index: 10;
  background: #000;
  width: 100%;
  min-height: 100vh;
}

/* Spacer to create scroll space for sticky effect */
.how-it-works-spacer {
  height: 300vh; /* Increased height for more scroll space */
  background: transparent;
  position: relative;
  z-index: 1; /* Lower z-index so it doesn't interfere with subsequent sections */
}

@media (max-width: 768px) {
  .how-it-works-sticky-wrapper {
    height: 350vh; /* Increased total height for mobile */
  }
  
  .how-it-works-spacer {
    height: 250vh; /* Increased height for mobile */
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 0 !important;
    margin-top: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .cards-container {
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 80px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .how-it-works .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .how-it-works-header {
    padding: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .section-title {
    font-size: 32px;
    line-height: 1.2;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    flex: 0 0 10px;
  }

  .steps-container {
    padding: 0;
    width: 100%;
  }

  .steps-description {
    padding: 0;
    width: 100%;
  }

  .steps-visualization {
    position: relative;
    width: 100%;
    right: auto;
    top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

  .flow-diagram-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .flow-diagram {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .step-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    width: 100%;
}

  .steps-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 0;
  }

  .steps-description {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    height: 400px; /* Fixed height to prevent layout shifts */
    overflow: hidden; /* Hide overflow to prevent content from affecting layout */
  }

  .step-item {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    display: none;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
}

  .step-item.active,
  .step-item.initial-active {
    display: block;
  }

  .step-item h3 {
    font-size: 20px;
    margin: 0 0 0 0;
    padding: 0;
    width: 100% !important;
    text-align: center !important;
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto !important;
    margin-right: auto !important;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item h3::before {
  display: none;
  }

  .step-item h3::after {
    display: none !important;
  }

  .step-item.active h3,
  .step-item.initial-active h3 {
    color: #9affe0;
    filter: brightness(1);
  }

  .step-item p {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto !important;
    max-width: calc(100vw - 32px) !important;
    text-align: center !important;
    padding: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-top: 0 !important;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item.active p,
  .step-item.initial-active p {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    filter: brightness(1);
  }
}

@media (max-width: 480px) {
  .how-it-works {
    margin-top: 60px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .cards-container {
    margin-bottom: 60px;
  }

  .how-it-works .section-title {
    font-size: 28px;
    text-align: center;
  }

  .step-item h3 {
    font-size: 18px;
    text-align: center;
    margin: 0;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item p {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 0;
    margin-bottom: 0;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item.active h3,
  .step-item.initial-active h3 {
    color: #9affe0;
    filter: brightness(1);
  }

  .step-item.active p,
  .step-item.initial-active p {
    color: rgba(255, 255, 255, 0.9);
    filter: brightness(1);
  }
  
  .how-it-works .container {
    padding: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  /* 다른 섹션들은 적절한 여백 유지 */
  .hero .container,
  .problem-statement .container,
  .solution .container,
  .faq .container,
  .cta .container,
  .footer .container {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
}

.terms-agreement {
  margin-top: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #00ffc8;
}

.proceed-btn {
  background: #00ffc8;
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.proceed-btn:hover {
  background: #00e6b5;
}

.proceed-btn:disabled {
  background: #666;
  cursor: not-allowed;
}

/* Arrow indicators */
.step-image::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) rotate(45deg);
}

.step3::after {
  display: none;
}

/* Adjust the main content to account for fixed header */
main {
  padding-top: 80px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #003629;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  width: 90%;
  max-width: 500px;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  color: #9affe0;
  cursor: pointer;
  background: none;
  border: none;
}

.early-access-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  background-color: rgba(154, 255, 224, 0.1);
  border: 1px solid rgba(154, 255, 224, 0.3);
  border-radius: 8px;
  padding: 12px;
  color: #ffffff;
  font-family: "Gotham-Book", Helvetica;
  font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(154, 255, 224, 0.5);
}

.submit-btn {
  background-color: #9affe0;
  color: #003629;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: "Gotham-Book", Helvetica;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.modal h2 {
  color: #9affe0;
  font-family: "Gotham-Book", Helvetica;
  font-size: 32px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .step-item {
    padding: 24px;
  }

  .step-item::before {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .step-item h3 {
    font-size: 20px;
  }

  .step-item p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  
  section .container {
    margin-bottom: 24px;
  }
  
  /* How It Works 섹션만 특별히 패딩 제거 */
  .how-it-works .container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* 다른 섹션들은 적절한 여백 유지 */
  .hero .container,
  .problem-statement .container,
  .solution .container,
  .faq .container,
  .cta .container,
  .footer .container {
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 12px 24px;
  }
  
  .logo-icon {
    width: 20px;
    height: 20px;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .cta-button {
    font-size: 13px;
    padding: 6px 16px;
  }
}

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

  .hero {
    padding-top: 160px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 46px;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 20px;
    letter-spacing: 1px;
    opacity: 0.7;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 140px;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 14px 0;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .card {
    min-height: 340px;
    padding: 28px;
  }
  
  .card-hover {
    position: relative;
    opacity: 1;
    transform: none;
    padding: 0;
    background: none;
  }
  
  .card-initial {
    margin-bottom: 16px;
  }
  
  .card:hover .card-initial {
    opacity: 1;
    transform: none;
  }
  
  .card-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }
}

@media (max-width: 1024px) {
  .card {
    min-height: 380px;
    padding: 32px;
  }

  .card-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
  }

  .card h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .card-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .card {
    min-height: 340px;
    padding: 28px;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .card:hover .card-logo {
    transform: none;
  }
}

.section-title {
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1200px) {
  .footer {
    padding: 100px 0 50px;
  }

  .footer .container {
    padding: 0 20px;
  }

  .footer-title {
    font-size: 36px;
    margin-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0;
  }

  .footer-title {
    font-size: 32px;
    margin-bottom: 60px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .feature-column {
    padding: 24px;
  }

  .feature-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .feature-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .feature-item {
    font-size: 15px;
    padding: 12px 16px;
    position: relative;
  }

  .feature-item::before {
    font-size: 18px;
    right: 16px;
    top: 14px;
    transform: none;
  }

  .feature-item.active::before {
    top: 14px;
    transform: none;
  }

  .feature-item-details {
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.4;
  }

  .features {
    gap: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .feature-column {
    padding: 20px;
  }

  .feature-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .feature-description {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .feature-list {
    gap: 10px;
  }

  .feature-item {
    font-size: 14px;
    padding: 10px 14px;
  }

  .feature-item::before {
    font-size: 16px;
    right: 14px;
    top: 12px;
  }

  .feature-item.active::before {
    top: 12px;
  }

  .feature-item-details {
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.3;
  }

  .features {
    gap: 16px;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .cards-container {
    gap: 16px;
    margin-top: 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .card {
    min-width: unset;
    width: 100%;
    max-width: none;
    padding: 24px;
    margin: 0;
    min-height: unset;
    height: auto;
  }

  .card-content {
    gap: 12px;
    min-height: unset;
    height: auto;
  }

  .card-logo {
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
  }

  .card-text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  /* Remove hover effects and animations on mobile */
  .card::before,
  .card::after {
    display: none;
  }

  .card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .card-text::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .cards-container {
    gap: 14px;
    margin-top: 24px;
    max-width: 100%;
  }

  .card {
    padding: 20px;
  }

  .card-content {
    gap: 10px;
  }

  .card-logo {
    width: 32px;
    height: 32px;
  }

  .card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .card-text {
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 24px;
  }

  .hero-content {
    padding: 0;
    text-align: left;
    align-items: flex-start;
    width: 100%;
  }

  .hero-title {
    text-align: left;
    width: 100%;
  }

  .hero-subtitle {
    text-align: left;
    width: 100%;
  }

  .cards-container {
    gap: 16px;
    margin-top: 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .card {
    min-width: unset;
    width: 100%;
    max-width: none;
    padding: 24px;
    margin: 0;
    min-height: unset;
    height: auto;
  }
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #000;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-notification .success-icon {
  color: #9affe0;
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .toast-notification {
    width: calc(100% - 48px);
    bottom: 16px;
    font-size: 14px;
    padding: 12px 20px;
  }
}

@media (min-width: 1024px) {
  .faq {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
  }
  .faq-content {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding-bottom: 0;
  }
  .faq-title {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.1;
    display: inline-block;
    vertical-align: bottom;
  }
  .faq-list {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .faq-item:first-child {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .steps-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .step-item.initial-active {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .step-item.initial-active h3,
  .step-item.initial-active p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    padding: 0;
  }
  .steps-description {
    width: 100%;
    max-width: 100% !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
    flex: 0 0 220px;
  }
  .step-item.initial-active {
    width: 95%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .step-item.initial-active h3,
  .step-item.initial-active p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 모바일 오버플로우 방지 - 새로운 2개 화면 분할 시스템과 호환 */
@media (max-width: 1023px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .how-it-works,
  .how-it-works .container,
  .steps-description,
  .step-item,
  .step-item p {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .step-item p {
    max-width: calc(100vw - 32px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* How It Works 섹션 - 데스크탑 스타일 (1024px 이상) */
@media (min-width: 1024px) {
  .how-it-works {
    padding: 100px 0;
  }

  .how-it-works .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 42px;
    position: relative;
    overflow: visible;
  }

  .how-it-works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    position: relative;
  }

  .section-title {
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    flex: 0 0 450px;
    padding-top: 40px;
  }

  .steps-container {
    display: flex;
    gap: 0;
    align-items: flex-start;
    position: relative;
    padding-left: 40px;
    margin-top: 20px;
  }

  .steps-description {
    flex: 0 0 480px;
    padding-right: 0;
    position: relative;
    z-index: 2;
    height: 600px; /* Fixed height to prevent layout shifts */
    overflow: hidden; /* Hide overflow to prevent content from affecting layout */
  }

  .steps-visualization {
    position: absolute;
    right: 0;
    top: 80px;
    width: 700px;
    height: 700px;
  }

  .flow-diagram-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flow-diagram {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: none;
  }

  .flow-diagram.active {
    opacity: 1;
    visibility: visible;
  }

  .flow-diagram:first-child {
    position: relative;
    visibility: visible;
  }

  .step-numbers {
    display: none; /* Hide the step numbers since we're using inline numbers */
  }

  .step-item {
    margin-bottom: 60px;
    opacity: 0.4;
    transition: all 0.3s ease;
  }

  .step-item:last-child {
    margin-bottom: 0;
  }

  .step-item h3 {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 24px;
    color: #fff;
    margin-bottom: 24px;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
  }

  .step-item h3::before {
    content: attr(data-step);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 40px;
    display: inline-flex;
    align-items: center;
  }

  .step-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
  }

  .step-item.active h3::after,
  .step-item.initial-active h3::after {
    content: '-';
    color: #fff;
  }

  .step-item p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 60px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
  }

  .step-item.active {
    opacity: 1;
  }

  .step-item.active h3 {
    opacity: 1;
    color: #fff;
    margin-bottom: 28px;
  }

  .step-item.active p {
    max-height: 300px;
    opacity: 1;
    margin-top: 0;
  }

  /* Initial state for the first item */
  .step-item.initial-active p {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
  }

  .step-item.initial-active {
    opacity: 1;
  }

  .step-item.initial-active h3 {
    opacity: 1;
    color: #fff;
  }

  .flow-diagram-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flow-diagram {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: none;
  }

  .flow-diagram.active {
    opacity: 1;
    visibility: visible;
  }

  .flow-diagram:first-child {
    position: relative;
    visibility: visible;
  }

  .step-numbers {
    display: none; /* Hide the step numbers since we're using inline numbers */
  }
}

/* How It Works 섹션 - 모바일 스타일 (1024px 미만) */
@media (max-width: 1023px) {
  .how-it-works {
    padding: clamp(40px, 5vw, 80px) 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .how-it-works .container {
    padding: 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .how-it-works-header {
    padding: 0;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section-title {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .steps-visualization {
    position: relative;
    width: 100%;
    right: auto;
    top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
  }

  .flow-diagram-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .flow-diagram {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .flow-diagram.active {
    opacity: 1;
    visibility: visible;
  }

  .flow-diagram:first-child {
    position: relative;
    visibility: visible;
  }

  .step-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .steps-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 0;
  }

  .steps-description {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 400px; /* Fixed height to prevent layout shifts */
    overflow: hidden; /* Hide overflow to prevent content from affecting layout */
  }

  .step-item {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    display: none;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .step-item.active,
  .step-item.initial-active {
    display: block;
  }

  .step-item h3 {
    font-size: 20px;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
    margin-right: auto;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item h3::before {
    display: none;
  }

  .step-item h3::after {
    display: none;
  }

  .step-item.active h3,
  .step-item.initial-active h3 {
    color: #9affe0;
    filter: brightness(1);
  }

  .step-item p {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    max-width: calc(100vw - 32px);
    text-align: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 0;
    transition: color 0.6s ease, opacity 0.6s ease;
    filter: brightness(0.7);
  }

  .step-item.active p,
  .step-item.initial-active p {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    filter: brightness(1);
  }
}

@media (max-width: 768px) {
  .step-numbers {
    margin-bottom: 8px !important;
  }
  .steps-container {
    margin-top: 8px !important;
  }
}

/* Ensure subsequent sections appear properly after sticky effect */
.section.problem-statement,
.section.solution,
.section.faq,
.cta {
  position: relative;
  z-index: 5; /* Higher than spacer but lower than sticky container when active */
  background: #000; /* Ensure background is visible */
}

/* When sticky container is no longer sticky, ensure sections are visible */
.section.problem-statement {
  margin-top: 0; /* Remove any extra margin that might cause spacing issues */
}
