* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #2d2d2d;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SCROLL-BASED WORD-BY-WORD REVEAL ===== */
.progressive-text {
  display: inline-block;
}

.reveal-word {
  display: inline-block;
  opacity: 0.2;
  filter: blur(4px);
  transform: translateY(0) scale(1);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 0.1em;
  will-change: opacity, filter;
}

/* Hero section - no blur animation */
.hero .reveal-word {
  opacity: 1;
  filter: none;
}

.reveal-word.visible {
  opacity: 0.3;
  filter: blur(3px);
}

/* Reading window - currently reading words stay highlighted and CLEAR */
.reveal-word.reading {
  opacity: 1;
  filter: blur(0px);
}

/* Past words - already read, stay CLEAR */
.reveal-word.past {
  opacity: 1;
  filter: blur(0px);
}

@media (max-width: 768px) {
  .reveal-word {
    margin: 0 0.08em;
    transition: opacity 0.7s ease-out;
  }
}

@media (max-width: 480px) {
  .reveal-word {
    margin: 0 0.05em;
    transition: opacity 0.7s ease-out;
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-word {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .carousel-btn:hover,
  .issuing-card:hover,
  .logo-box:hover {
    transform: none;
  }
  
  .btn:active,
  .carousel-btn:active,
  .issuing-card:active {
    transform: scale(0.98);
  }
  
  /* Card stack touch optimizations */
  .card-stack-container {
    cursor: pointer;
  }
  
  /* Larger touch targets for mobile */
  .carousel-btn,
  .logo-slider-btn,
  .clarity-nav-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Smooth scrolling on touch devices */
  .clarity-nav,
  .logo-slider {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
}

#page {
  overflow-x: hidden;
}

.section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vh, 64px) clamp(20px, 8vw, 10vw);
  background: #ffffff;
}

@media (max-width: 768px) {
  .section {
    padding: 36px 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 28px 16px;
  }
}

.hero {
  /* background-image: url('images/hero.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px clamp(20px, 8vw, 10vw) clamp(60px, 15vh, 120px);
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    min-height: 82vh;
    padding: 36px 20px;
  }
  
  .hero-inner {
    gap: 14px;
  }
  
  .hero-scroll {
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 75vh;
    padding: 32px 16px;
  }
  
  .hero-inner {
    gap: 12px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(16px, 3vh, 28px);
}

.hero-title {
  margin: 0;
  line-height: 1.2;
  max-width: 900px;
  text-align: center;
  padding-top: -150px;
}

.hero-main {
  display: block;
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #57636C;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: heroFadeInDown 1s ease-out 0.2s both;
}

.hero-highlight {
  display: block;
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #57636C;
  
  padding: 16px 24px;
  border-radius: 12px;
  animation: heroFadeInUp 1s ease-out 0.4s both;
}

/* Hero animations */
@keyframes heroFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  margin-top: clamp(20px, 4vh, 48px);
  animation: heroFadeInUp 1s ease-out 0.6s both;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: clamp(50px, 10vw, 75px);
  width: clamp(55px, 12vw, 80px);
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .logo-img {
    height: 45px;
    width: 50px;
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(12px, 3vh, 18px) clamp(20px, 8vw, 10vw);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-left {
  flex: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.narrative-inner {
  max-width: 900px;
  width: 100%;
}

.section-title {
  font-size: clamp(36px, 6vw, 70px);
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 64px;
  color: #57636C;
}

p {
  color: #888;
  font-size: 31px;
  line-height: 1.8;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  font-family: inherit;
}}

/* Keep all paragraph-like text in the same font */
.message-block p,
.transition-item p,
.clarity-content,
.carousel-item p,
.card-content p,
.problem-text,
.feature-description p {
  font-family: inherit;
}

.subheader {
  font-size: 26px;
  font-weight: 500;
  color: #888;
  margin-bottom: 48px;
}

.muted {
  color: #999;
  font-size: 16px;
  margin-bottom: 40px;
}

.highlight-text {
  /* border-bottom: 2.5px solid #c9a24d; */
  padding-bottom: 4px;
  display: inline-block;
}

.problem {
  background: #ffffff;
}

.carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin: 80px 0;
}

#carousel-text {
  font-size: clamp(18px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.7;
  max-width: 800px;
  width: 100%;
  text-align: center;
  color: #2d2d2d;
  min-height: clamp(100px, 20vh, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
  padding: 0 20px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #f5f5f5;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: 600;
}

.carousel-btn:hover {
  background: #eee;
  border-color: #999;
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot.active {
  background: #2d2d2d;
  width: 24px;
  border-radius: 4px;
}

.not-section {
  margin-top: 64px;
  padding: 40px;
  /* background: #f9f9f9; */
  border-radius: 12px;
}

.not-section p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #888;
  margin-bottom: 16px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.not-section p.emphasis {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin-top: 24px;
  color: #57636C;
  letter-spacing: -0.02em;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.not-section p.emphasis .highlight-text {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #57636C;
  border-bottom-color: #c9a24d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cta {
  text-align: center;
  position: relative;
  background-image: url('images/hero.PNG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.cta .narrative-inner {
  position: relative;
  z-index: 2;
}

.cta-inner {
  max-width: 720px;
}

.site-footer {
  border-top: 1px solid #e3e6ef;
  padding: clamp(56px, 8vh, 90px) clamp(28px, 8vw, 10vw) 26px;
  color: #6f7785;
  font-size: 16px;
  background: #ffffff;
}

.site-footer * {
  color: inherit;
}

.site-footer .site-footer-col,
.site-footer .site-footer-col p,
.site-footer .site-footer-address,
.site-footer .site-footer-contact,
.site-footer .site-footer-contact a {
  color: #6f7785;
}

.site-footer p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: #7a8393;
}

.site-footer address {
  font-style: normal;
}

.site-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 140px);
}

.site-footer-col {
  flex: 1 1 0;
  max-width: 520px;
}

.site-footer-col:last-child {
  text-align: right;
}

.site-footer-title {
  font-size: 24px;
  font-weight: 600;
  color: #2e3542;
  margin-bottom: 20px;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer-link {
  color: #2e3542;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.site-footer-link:hover {
  color: #1d2430;
  text-decoration: underline;
}

.site-footer-hours {
  color: #7a8393;
  font-size: 16px;
  line-height: 1.9;
}

.site-footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e3e6ef;
  text-align: center;
  color: #8a93a3;
  font-size: 14px;
}

.footer-simple {
  border-top: 1px solid #e3e3e8;
  padding: clamp(56px, 8vh, 90px) clamp(28px, 8vw, 10vw) 26px;
  background: #ffffff;
  color: #666666;
  font-size: 16px;
  animation: none !important;
  opacity: 1 !important;
}

.footer-simple * {
  color: inherit !important;
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  text-shadow: none !important;
}

.footer-simple p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: #666666 !important;
}

.footer-simple-address {
  font-style: normal;
  margin-bottom: 16px;
}

.address-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0;
}

.address-item p {
  margin: 0;
  font-size: 15px;
  color: #555 !important;
  line-height: 1.5;
}

.footer-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  color: #333333;
  margin-top: 2px;
}

.footer-simple-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 140px);
}

.footer-simple-col {
  flex: 1 1 0;
  max-width: 520px;
}

.footer-simple-col:last-child {
  text-align: left;
}

.footer-simple-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.footer-simple-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-simple-link {
  color: #888 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-simple-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #333333;
}

.footer-simple-link span {
  display: flex;
  align-items: center;
}

.footer-simple-link:hover {
  color: #1d1d1d !important;
  text-decoration: underline;
}

.footer-simple-hours {
  color: #666666 !important;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 6px;
}

.footer-hours-item {
  margin-bottom: 18px;
}

.footer-hours-day {
  font-weight: 600;
  margin: 0;
  color: #111;
}

.footer-hours-time {
  margin: 4px 0 0;
  color: #555;
  font-size: 15px;
}

.footer-simple-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e3e3e8;
  text-align: center;
  color: #888888 !important;
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer-simple-grid {
    flex-direction: column;
  }

  .footer-simple-col {
    max-width: none;
  }

  .footer-simple-col:last-child {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .footer-simple {
    padding: 40px 20px 20px;
  }

  .footer-simple-title {
    font-size: 20px;
  }

  .footer-simple p,
  .footer-simple-hours {
    font-size: 15px;
  }
}


@media (max-width: 900px) {
  .site-footer-grid {
    flex-direction: column;
  }

  .site-footer-col {
    max-width: none;
  }

  .site-footer-col:last-child {
    text-align: left;
  }

  .site-footer-hours {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 40px 20px 20px;
  }

  .site-footer-title {
    font-size: 20px;
  }

  .site-footer p,
  .site-footer-hours {
    font-size: 15px;
  }
}

.logo-chip {
  padding: 12px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  color: #b8b8b8;
  background: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-chip:hover {
  background: #f8f8f8;
  border-color: #d0d0d0;
  color: #888;
}

.logo-slider-container {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 16px;
}

.logo-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.logo-slider::-webkit-scrollbar {
  display: none;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  width: 130px;
  height: 130px;
  background: transparent;
  border: none;
  border-radius: 14px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.logo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.logo-box:hover::before {
  left: 100%;
}

.logo-box:hover {
  background: transparent;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}}

.logo-content {
  font-size: 16px;
  font-weight: 600;
  color: #b8b8b8;
  letter-spacing: -0.01em;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.logo-box:hover .logo-content {
  color: #888;
}

.logo-image {
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.logo-box:hover .logo-image {
  opacity: 1;
}

.logo-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.logo-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #ffffff;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 600;
}

.logo-slider-btn:hover {
  background: #f5f5f5;
  border-color: #999;
  transform: scale(1.05);
}

.logo-slider-btn:active {
  transform: scale(0.95);
}

.logo-slider-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.logo-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-slider-dot.active {
  background: #2d2d2d;
  width: 20px;
  border-radius: 3px;
}

/* Responsive logo slider */
@media (max-width: 768px) {
  .logo-slider-container {
    padding: 20px 12px;
    margin-top: 48px;
    margin-bottom: 32px;
  }
  
  .logo-box {
    min-width: 110px;
    width: 110px;
    height: 110px;
    padding: 10px;
    border-radius: 12px;
  }
  
  .logo-content {
    font-size: 14px;
  }
  
  .logo-slider-nav {
    gap: 20px;
    margin-top: 20px;
  }
  
  .logo-slider-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .logo-slider-container {
    padding: 16px 10px;
    margin-top: 40px;
    margin-bottom: 24px;
  }
  
  .logo-box {
    min-width: 95px;
    width: 95px;
    height: 95px;
    padding: 8px;
    border-radius: 11px;
  }
  
  .logo-content {
    font-size: 12px;
  }
  
  .logo-slider-nav {
    gap: 16px;
  }
  
  .logo-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.scroll-arrow {
  margin-top: clamp(20px, 4vh, 40px);
  width: clamp(44px, 8vw, 52px);
  height: clamp(44px, 8vw, 52px);
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #f5f5f5;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  animation: bounce 2.5s infinite;
  padding: 0;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .scroll-arrow {
    animation: bounce 3s infinite;
  }
}

.scroll-arrow:hover {
  transform: translateY(2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #efefef;
  animation: none;
}

.scroll-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.btn {
  display: inline-block;
  padding: clamp(12px, 2vh, 14px) clamp(24px, 5vw, 36px);
  border: none;
  border-radius: 999px;
  background: #57636C;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: clamp(14px, 2vw, 16px);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  /* background: #333; */
}

.btn:active {
  transform: translateY(0);
}

.btn-small {
  padding: 12px 20px;
  font-size: 14px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

input, select {
  padding: clamp(14px, 2.5vh, 16px) clamp(16px, 3vw, 18px);
  font-size: 16px;
  border: 1px solid #ddd;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: clamp(8px, 2vw, 12px);
  transition: all 0.2s ease;
  font-family: inherit;
  min-height: 48px;
  width: 100%;
}

@media (max-width: 768px) {
  input, select {
    font-size: 16px;
  }
}

input::placeholder {
  color: #ccc;
}

input:focus, select:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.08);
  outline: none;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* .problem-carousel {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
} */

/* Circular Carousel Styles */
.circular-carousel {
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.circle-container {
  position: relative;
  width: 400px;
  height: 400px;
  max-width: 90vw;
  max-height: 90vw;
  aspect-ratio: 1;
}

/* ===== ROTATING WORDS CIRCLE ===== */
.rotating-words {
  background: #ffffff;
}

.rotating-circle-wrap {
  position: relative;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-word {
  position: absolute;
  width: 220px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1f2937;
  opacity: 0.15;
  filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.rotating-word.near {
  opacity: 0.55;
  filter: blur(2px);
  transform: scale(1.03);
}

.rotating-word.far {
  opacity: 0.3;
  filter: blur(3.5px);
}

.rotating-word.hidden {
  opacity: 0.08;
  filter: blur(6px);
}

.rotating-word.active {
  opacity: 1;
  filter: blur(0);
  color: #0f172a;
  font-weight: 700;
  transform: scale(1.2);
  text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 8px 24px rgba(118, 75, 162, 0.3);
  animation: wordGlow 1.2s ease-in-out infinite;
}

@keyframes wordGlow {
  0%, 100% {
    text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 8px 24px rgba(118, 75, 162, 0.3);
    transform: scale(1.2);
  }
  50% {
    text-shadow: 0 8px 20px rgba(102, 126, 234, 0.6), 0 16px 40px rgba(118, 75, 162, 0.5);
    transform: scale(1.25);
  }
}

@media (max-width: 768px) {
  .rotating-circle-wrap {
    width: min(450px, 92vw);
    height: min(450px, 92vw);
    margin: 50px auto 0;
  }

  .rotating-word {
    width: 180px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .rotating-circle-wrap {
    width: min(360px, 94vw);
    height: min(360px, 94vw);
    margin: 40px auto 0;
  }

  .rotating-word {
    width: 150px;
    font-size: 14px;
    font-size: 12px;
  }
}

/* ===== ROTATING WORDS CIRCLE ===== */
.rotating-words {
  background: #ffffff;
}

.rotating-circle-wrap {
  position: relative;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-word {
  position: absolute;
  width: 220px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1f2937;
  opacity: 0.15;
  filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.rotating-word.near {
  opacity: 0.55;
  filter: blur(2px);
  transform: scale(1.03);
}

.rotating-word.far {
  opacity: 0.3;
  filter: blur(3.5px);
}

.rotating-word.hidden {
  opacity: 0.08;
  filter: blur(6px);
}

.rotating-word.active {
  opacity: 1;
  filter: blur(0);
  color: #0f172a;
  font-weight: 700;
  transform: scale(1.2);
  text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 8px 24px rgba(118, 75, 162, 0.3);
  animation: wordGlow 1.2s ease-in-out infinite;
}

@keyframes wordGlow {
  0%, 100% {
    text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 8px 24px rgba(118, 75, 162, 0.3);
    transform: scale(1.2);
  }
  50% {
    text-shadow: 0 8px 20px rgba(102, 126, 234, 0.6), 0 16px 40px rgba(118, 75, 162, 0.5);
    transform: scale(1.25);
  }
}

@media (max-width: 768px) {
  .rotating-circle-wrap {
    width: min(450px, 92vw);
    height: min(450px, 92vw);
    margin: 50px auto 0;
  }

  .rotating-word {
    width: 180px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .rotating-circle-wrap {
    width: min(360px, 94vw);
    height: min(360px, 94vw);
    margin: 40px auto 0;
  }

  .rotating-word {
    width: 150px;
    font-size: 14px;
  }
}

/* ===== SLIDING CAROUSEL ===== */
/* Interactive Carousel with Text Pills */
.interactive-carousel-section {
  padding: 60px 20px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.carousel-wrapper-pills {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track-pills {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-pill-item {
  position: absolute;
  padding: 14px 32px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  user-select: none;
}

/* Carousel pill positions */
.carousel-pill-item[data-position="center"] {
  z-index: 10;
  transform: translateX(0) scale(1.15);
  opacity: 1;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.carousel-pill-item[data-position="left-1"] {
  z-index: 8;
  transform: translateX(-280px) scale(0.88);
  opacity: 0.65;
}

.carousel-pill-item[data-position="left-2"] {
  z-index: 6;
  transform: translateX(-500px) scale(0.75);
  opacity: 0.35;
}

.carousel-pill-item[data-position="right-1"] {
  z-index: 8;
  transform: translateX(280px) scale(0.88);
  opacity: 0.65;
}

.carousel-pill-item[data-position="right-2"] {
  z-index: 6;
  transform: translateX(500px) scale(0.75);
  opacity: 0.35;
}

.carousel-pill-item[data-position="hidden"] {
  z-index: 1;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.carousel-display-top {
  text-align: center;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 60px;
}

.carousel-animated-text {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: #57636C;
  max-width: 1000px;
  letter-spacing: -0.02em;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-animated-text.text-change {
  animation: textChange 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes textChange {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  30% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  70% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .carousel-pill-item[data-position="left-1"] {
    transform: translateX(-230px) scale(0.85);
  }

  .carousel-pill-item[data-position="left-2"] {
    transform: translateX(-420px) scale(0.72);
  }

  .carousel-pill-item[data-position="right-1"] {
    transform: translateX(230px) scale(0.85);
  }

  .carousel-pill-item[data-position="right-2"] {
    transform: translateX(420px) scale(0.72);
  }
}

@media (max-width: 768px) {
  .interactive-carousel-section {
    padding: 50px 20px 30px;
    gap: 40px;
  }
  
  .carousel-wrapper-pills {
    min-height: 70px;
  }

  .carousel-pill-item {
    padding: 11px 22px;
    font-size: 14px;
  }

  .carousel-pill-item[data-position="center"] {
    transform: translateX(0) scale(1.1);
  }

  .carousel-pill-item[data-position="left-1"] {
    transform: translateX(-200px) scale(0.78);
    opacity: 0.55;
  }

  .carousel-pill-item[data-position="left-2"],
  .carousel-pill-item[data-position="right-2"] {
    transform: translateX(-360px) scale(0.6);
    opacity: 0.2;
  }

  .carousel-pill-item[data-position="right-1"] {
    transform: translateX(200px) scale(0.78);
    opacity: 0.55;
  }

  .carousel-pill-item[data-position="right-2"] {
    transform: translateX(360px) scale(0.6);
  }

  .carousel-display-top {
    min-height: 90px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .interactive-carousel-section {
    padding: 32px 16px 24px;
  }
  
  .carousel-wrapper-pills {
    min-height: 60px;
  }

  .carousel-pill-item {
    padding: 9px 16px;
    font-size: 12px;
  }

  .carousel-pill-item[data-position="center"] {
    transform: translateX(0) scale(1.05);
  }

  .carousel-pill-item[data-position="left-1"] {
    transform: translateX(-170px) scale(0.72);
    opacity: 0.5;
  }

  .carousel-pill-item[data-position="right-1"] {
    transform: translateX(170px) scale(0.72);
    opacity: 0.5;
  }

  .carousel-pill-item[data-position="left-2"],
  .carousel-pill-item[data-position="right-2"] {
    opacity: 0;
    pointer-events: none;
  }

  .carousel-display-top {
    min-height: 80px;
    margin-bottom: 32px;
  }
}
  }
  
  .carousel-wrapper {
    height: 150px;
  }
  
  .carousel-item {
    width: 400px;
    padding: 24px 32px;
  }
  
  .carousel-item p {
    font-size: 16px;
  }
  
  .carousel-item[data-position="center"] p {
    font-size: 19px;
  }
  
  .carousel-item[data-position="left"] {
    transform: translateX(-260px) scale(0.65);
    opacity: 0.3;
  }
  
  .carousel-item[data-position="right"] {
    transform: translateX(260px) scale(0.65);
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .sliding-carousel-section {
    padding: 40px 15px 25px;
  }
  
  .carousel-display {
    margin-bottom: 40px;
    min-height: 90px;
  }
  
  .carousel-wrapper {
    height: 130px;
  }
  
  .carousel-item {
    width: 300px;
    padding: 20px 24px;
  }
  
  .carousel-item p {
    font-size: 14px;
  }
  
  .carousel-item[data-position="center"] p {
    font-size: 17px;
  }
  
  .carousel-item[data-position="left"] {
    transform: translateX(-200px) scale(0.6);
    opacity: 0.2;
  }
  
  .carousel-item[data-position="right"] {
    transform: translateX(200px) scale(0.6);
    opacity: 0.2;
  }
}

.problem-text {
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 600;
  line-height: 1.7;
  max-width: 900px;
  width: 100%;
  text-align: center;
  color: #000000;
  min-height: clamp(180px, 30vh, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(30px, 6vw, 60px) clamp(20px, 5vw, 40px);
  backdrop-filter: blur(10px);
}

.problem-text.active {
  opacity: 1;
  transform: none;
}

.problem-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.problem-nav .carousel-btn {
  pointer-events: all;
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #f5f5f5;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  z-index: 15;
}

#circle-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

#circle-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.problem-nav .carousel-btn:hover {
  background: #efefef;
  border-color: #999;
  transform: scale(1.1);
}

.problem-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

/* FEATURE SHOWCASE - APPLE STYLE */
.infrastructure-label {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin-bottom: 48px;
}

/* ===== DECISION STORYBOARD GRID ===== */
.decision-visual {
  width: min(1100px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.decision-visual-title {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  color: #57636C;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
  position: relative;
}

.pipeline-tile {
  position: relative;
  min-height: 170px;
  border-radius: 18px;
  background: #fbfbfb;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  padding: 20px;
  opacity: 1;
}

/* Add arrows between boxes */
.pipeline-tile:not(:nth-child(3n))::before {
  content: "→";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #57636C;
  font-weight: 900;
  z-index: 10;
  opacity: 0;
  text-shadow: 0 2px 4px rgba(87, 99, 108, 0.2);
  animation: arrowFadeIn 0.5s ease-out forwards;
}

@keyframes arrowFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Staggered arrow animations */
.pipeline-tile.stage-1::before { animation-delay: 0.5s; }
.pipeline-tile.stage-2::before { animation-delay: 1.1s; }
.pipeline-tile.stage-3::before { animation-delay: 1.7s; }
.pipeline-tile.stage-4::before { animation-delay: 2.3s; }
.pipeline-tile.stage-5::before { animation-delay: 2.9s; }
.pipeline-tile.stage-6::before { animation-delay: 3.5s; }
.pipeline-tile.stage-7::before { animation-delay: 4.1s; }
.pipeline-tile.stage-8::before { animation-delay: 4.7s; }

.pipeline-tile::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 14px;
}

.tile-diagram {
  position: relative;
  height: 90px;
  margin-bottom: 16px;
  opacity: 0.2;
  animation: diagramReveal 0.7s linear forwards;
}

.tile-diagram::before,
.tile-diagram::after {
  content: "";
  position: absolute;
  background: #d9d9d9;
  border-radius: 5px;
  height: 14px;
}

.tile-label {
  font-size: 14px;
  color: #8a8a8a;
  letter-spacing: -0.01em;
}

/* Stage diagrams */
.grid-wide::before { width: 32px; left: 8px; top: 6px; }
.grid-wide::after { width: 32px; left: 8px; top: 28px; }
.grid-wide {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 46px 6px / 32px 14px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 84px 6px / 32px 14px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 46px 28px / 32px 14px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 84px 28px / 32px 14px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 46px 50px / 32px 14px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 84px 50px / 32px 14px no-repeat;
}

.grid-rules {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 10px 12px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 46px 12px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 82px 12px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 10px 36px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 46px 36px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 82px 36px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) 8px 64px / 100px 1px no-repeat;
}

.grid-fade {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 10px 10px / 26px 12px no-repeat,
    linear-gradient(#8a8a8a, #8a8a8a) 46px 10px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 82px 10px / 26px 12px no-repeat,
    linear-gradient(#8a8a8a, #8a8a8a) 10px 32px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 46px 32px / 26px 12px no-repeat,
    linear-gradient(#8a8a8a, #8a8a8a) 82px 32px / 26px 12px no-repeat;
}

.path-emerge {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 8px 12px / 26px 12px no-repeat,
    linear-gradient(#bdbdbd, #bdbdbd) 46px 12px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 84px 12px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)) 38px 18px / 60px 2px no-repeat,
    linear-gradient(#bdbdbd, #bdbdbd) 46px 40px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)) 38px 46px / 60px 2px no-repeat;
}

.tighten {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 18px 12px / 26px 12px no-repeat,
    linear-gradient(#c2c2c2, #c2c2c2) 52px 12px / 26px 12px no-repeat,
    linear-gradient(#a8a8a8, #a8a8a8) 86px 12px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 105px 8px / 2px 45px no-repeat,
    linear-gradient(#e5e5e5, #e5e5e5) 52px 42px / 26px 12px no-repeat;
}

.single-branch {
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 18px 14px / 26px 12px no-repeat,
    linear-gradient(#a8a8a8, #a8a8a8) 52px 14px / 26px 12px no-repeat,
    linear-gradient(#7a7a7a, #7a7a7a) 86px 14px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 44px 20px / 68px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 105px 10px / 2px 45px no-repeat;
}

.gate-left {
  background:
    linear-gradient(#7a7a7a, #7a7a7a) 20px 18px / 26px 12px no-repeat,
    linear-gradient(#a8a8a8, #a8a8a8) 54px 18px / 26px 12px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 88px 18px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 46px 24px / 68px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 105px 14px / 2px 40px no-repeat;
}

.gate-right {
  background:
    linear-gradient(#8a8a8a, #8a8a8a) 25px 18px / 26px 12px no-repeat,
    linear-gradient(#8a8a8a, #8a8a8a) 73px 18px / 26px 12px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 25px 24px / 74px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 61px 0px / 2px 50px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 51px 24px / 22px 2px no-repeat;
}

.final {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.final-text {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.4;
}

.final-underline {
  width: 0;
  height: 2px;
  background: #c9a24d;
  margin-top: 8px;
  animation: underlineDraw 0.6s linear 5.2s forwards;
}

@keyframes diagramReveal {
  to { opacity: 1; }
}

.pipeline-tile.stage-1 .tile-diagram { animation-delay: 0.2s; }
.pipeline-tile.stage-2 .tile-diagram { animation-delay: 0.8s; }
.pipeline-tile.stage-3 .tile-diagram { animation-delay: 1.4s; }
.pipeline-tile.stage-4 .tile-diagram { animation-delay: 2.0s; }
.pipeline-tile.stage-5 .tile-diagram { animation-delay: 2.6s; }
.pipeline-tile.stage-6 .tile-diagram { animation-delay: 3.2s; }
.pipeline-tile.stage-7 .tile-diagram { animation-delay: 3.8s; }
.pipeline-tile.stage-8 .tile-diagram { animation-delay: 4.4s; }
.pipeline-tile.stage-9 .tile-diagram { animation-delay: 5.0s; }

@media (max-width: 768px) {
  .decision-visual {
    margin: 0 auto 40px;
    padding: 0 15px;
  }
  
  .pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .tile-label {
    font-size: 9px;
    line-height: 1.4;
    padding: 0 5px;
  }
  
  .decision-visual-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 24px;
    padding: 0 10px;
  }
  
  .pipeline-tile {
    min-height: 140px;
    padding: 16px 12px;
  }
  
  .tile-diagram {
    margin-bottom: 12px;
  }
  
  /* Hide arrows on tablet to prevent overlap */
  .pipeline-tile:not(:nth-child(3n))::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .decision-visual {
    margin: 0 auto 30px;
    padding: 0 10px;
  }
  
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .tile-label {
    font-size: 9px;
    line-height: 1.4;
    word-wrap: break-word;
    padding: 0;
  }
  
  .decision-visual-title {
    font-size: 18px;
    line-height: 1.4;
    padding: 0 10px;
    margin-bottom: 60px;
  }
  
  /* Hide arrows on mobile to prevent overlap */
  .pipeline-tile:not(:nth-child(3n))::before {
    display: none;
  }

  .pipeline-tile {
    min-height: 130px;
    padding: 18px 14px;
  }
  
  .tile-diagram {
    margin-bottom: 10px;
    transform: scale(0.9);
  }
  
  /* Left align gate-left and gate-right diagrams for mobile */
  .gate-left {
    background:
      linear-gradient(#7a7a7a, #7a7a7a) 5px 18px / 26px 12px no-repeat,
      linear-gradient(#a8a8a8, #a8a8a8) 39px 18px / 26px 12px no-repeat,
      linear-gradient(#d9d9d9, #d9d9d9) 73px 18px / 26px 12px no-repeat,
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 31px 24px / 68px 2px no-repeat,
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 90px 14px / 2px 40px no-repeat;
  }
  
  .gate-right {
    background:
      linear-gradient(#8a8a8a, #8a8a8a) 5px 18px / 26px 12px no-repeat,
      linear-gradient(#8a8a8a, #8a8a8a) 53px 18px / 26px 12px no-repeat,
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 5px 24px / 74px 2px no-repeat,
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 41px 0px / 2px 50px no-repeat,
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) 31px 24px / 22px 2px no-repeat;
  }
  
  /* Ensure text is left-aligned and readable */
  .pipeline-tile .tile-label {
    text-align: center;
    padding: 0 8px;
    word-spacing: normal;
    hyphens: auto;
  }
  
  /* Improve text alignment for specific tiles */
  .pipeline-tile.stage-1 .tile-label,
  .pipeline-tile.stage-2 .tile-label,
  .pipeline-tile.stage-3 .tile-label,
  .pipeline-tile.stage-4 .tile-label,
  .pipeline-tile.stage-5 .tile-label,
  .pipeline-tile.stage-6 .tile-label,
  .pipeline-tile.stage-7 .tile-label,
  .pipeline-tile.stage-8 .tile-label {
    font-size: 10px;
    line-height: 1.6;
    padding: 8px 3px;
    word-break: break-word;
    white-space: normal;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 35px;
    font-weight: 500;
  }
  
  /* Specific smaller font for stage-2 and stage-3 */
  .pipeline-tile.stage-2 .tile-label,
  .pipeline-tile.stage-3 .tile-label {
    font-size: 9px;
  }
  
  /* Better handling for longer text labels on mobile */
  .pipeline-tile.stage-5 .tile-label,
  .pipeline-tile.stage-7 .tile-label {
    font-size: 8px;
    line-height: 1.5;
    padding: 6px 4px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  
  /* Ensure final section golden line is visible on mobile */
  .pipeline-tile.stage-9 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .final {
    min-height: 90px !important;
    height: 100% !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
  
  .final-text {
    font-size: 9px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
    display: block !important;
    width: 100% !important;
  }
  
  .final-text br {
    display: inline !important;
  }
  
  .final-underline {
    display: block !important;
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
    height: 2px !important;
    background: #c9a24d !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    border-radius: 1px !important;
    visibility: visible !important;
    animation: none !important;
    flex-shrink: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile-diagram,
  .final-underline {
    animation: none !important;
  }
  .tile-diagram { opacity: 1; }
  .final-underline { width: 140px; }
}

/* ===== CARD ISSUING SECTION - STRIPE STYLE ===== */
.card-issuing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  margin-top: 64px;
  margin-bottom: 64px;
}

.card-stack-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  perspective: 2000px;
  cursor: pointer;
  padding: 60px 20px;
}

.card-stack {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 420px;
}

.issuing-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, #fafafa 0%, #f7f7f7 55%, #ebebeb 100%) padding-box,
    linear-gradient(135deg, #a8b8d0 0%, #6b7a8c 25%, #4a5766 50%, #57636C 75%, #3d4852 100%) border-box !important;
  border-radius: 20px;
  padding: 48px;
  border: 2.5px solid transparent !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.015) !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  will-change: transform, opacity, box-shadow, border-color;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.issuing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 50%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
    background-position: 0% 0%;
  }
  50% {
    opacity: 0.85;
    background-position: 100% 100%;
  }
}

.card-stack-container:hover .issuing-card[data-index="0"]::before {
  opacity: 0.9;
  animation: shimmer 2s ease-in-out infinite;
}

/* Debit card chip + subtle gloss */
.issuing-card::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 28px;
  width: 74px;
  height: 50px;
  /* border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15)),
    linear-gradient(135deg, #d8d8d8 0%, #c6c6c6 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.12); */
  z-index: 2;
}

/* Card positions based on data-index */
.issuing-card[data-index="0"] {
  z-index: 20;
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.issuing-card[data-index="1"] {
  z-index: 19;
  transform: translateY(28px) scale(0.98) rotateX(4deg);
  opacity: 1;
  filter: none;
}

.issuing-card[data-index="2"] {
  z-index: 18;
  transform: translateY(56px) scale(0.96) rotateX(6deg);
  opacity: 1;
  filter: none;
}

.issuing-card[data-index="3"] {
  z-index: 17;
  transform: translateY(84px) scale(0.94) rotateX(8deg);
  opacity: 1;
  filter: none;
}

/* Active card (front card) - add pulse */
.issuing-card[data-index="0"] {
  animation: cardPulse 3.2s ease-in-out infinite;
}

/* Card hover effect */
.card-stack-container:hover .issuing-card[data-index="0"] {
  transform: translateY(-10px) scale(1.02) rotateX(-1deg);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 1),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.3);
  animation: none;
}

/* Pulse animation for active card */
@keyframes cardPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.04),
      0 2px 8px rgba(0, 0, 0, 0.03),
      inset 0 0 0 1px rgba(255, 255, 255, 0.95),
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 2px rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-5px) scale(1.01);
    box-shadow:
      0 12px 44px rgba(0, 0, 0, 0.05),
      0 4px 14px rgba(0, 0, 0, 0.04),
      inset 0 0 0 1px rgba(255, 255, 255, 1),
      inset 0 2px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 3px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.28);
  }
}

/* Card slide-out animation */
@keyframes cardSlideOut {
  0% {
    transform: translateY(0) scale(1) rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) scale(0.95) rotateY(-15deg);
    opacity: 0;
  }
}

/* Card slide-in animation */
@keyframes cardSlideIn {
  0% {
    transform: translateY(100px) scale(0.9) rotateY(15deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1) rotateY(0deg);
    opacity: 1;
  }
}

/* Apply slide-in to cards when they become active */
.issuing-card[data-index="0"] {
  animation: cardSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1), cardPulse 3.2s ease-in-out 0.8s infinite;
}

/* Card number styling */
.card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 10;
  background: rgba(245, 245, 245, 0.95);
  padding: 8px 14px;
  /* border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); */
}

/* Animate card number on active card */
.issuing-card[data-index="0"] .card-number {
  animation: numberPulse 3.2s ease-in-out infinite;
}

@keyframes numberPulse {
  0%, 100% {
    color: #000000;
    transform: scale(1);
  }
  50% {
    color: #333333;
    transform: scale(1.05);
  }
}

/* Card content */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center;
  color: #6e6e6e;
  position: relative;
  z-index: 2;
}

/* Animate card content on active card */
.issuing-card[data-index="0"] .card-content h3 {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.issuing-card[data-index="0"] .card-content p {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-content h3 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #57636C;
  text-shadow: none;
}

.card-content p {
  font-size: 20px;
  line-height: 1.7;
  color: #888;
  font-weight: 600;
  margin: 8px 0 0 0;
  text-shadow: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .card-stack-container {
    min-height: 400px;
    padding: 40px 15px;
  }
  
  .card-stack {
    height: 360px;
  }
  
  .issuing-card {
    padding: 32px;
  }

  .issuing-card::after {
    top: 22px;
    left: 24px;
    width: 58px;
    height: 44px;
    border-radius: 10px;
  }
  
  .card-number {
    top: 18px;
    left: 18px;
    font-size: 20px;
    padding: 6px 10px;
  }
  
  .card-content h3 {
    font-size: 24px;
  }
  
  .card-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .card-stack-container {
    min-height: 350px;
    padding: 30px 10px;
  }
  
  .card-stack {
    height: 320px;
  }
  
  .issuing-card {
    padding: 24px;
  }

  .issuing-card::after {
    top: 18px;
    left: 20px;
    width: 50px;
    height: 38px;
    border-radius: 8px;
  }
  
  .card-number {
    top: 14px;
    left: 14px;
    font-size: 18px;
    padding: 5px 8px;
  }
  
  .card-content h3 {
    font-size: 29px;
  }
  
  .card-content p {
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 0px ;
  }
}

.feature-description {
  text-align: center;
  max-width: 700px;
  padding: 32px;
  font-size: 28px;
  line-height: 1.8;
  color: #2d2d2d;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sequential-messages {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

.message-block {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.message-block.active {
  opacity: 1;
  transform: none;
}

.message-block p {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.8;
  color: #888;
  font-weight: 500;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.clarity-transitions {
  background: #ffffff;
  position: relative;
  background-image: url('images/hero.PNG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.build-description {
  font-size: 30px;
  line-height: 1.8;
  color: #888;
  font-weight: 500;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 0;
}

.clarity-transitions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.clarity-transitions .narrative-inner {
  position: relative;
  z-index: 2;
}

/* Decision Pipeline (Between Section 3 & 4) */
.decision-pipeline {
  background: #ffffff;
}

.pipeline-frame {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vh, 64px);
  border: 1px solid #ededed;
  border-radius: 24px;
  background: #fbfbfb;
  display: grid;
  gap: clamp(24px, 4vh, 40px);
  position: relative;
  overflow: hidden;
}

.pipeline-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  pointer-events: none;
}

.pipeline-stage {
  opacity: 0;
  transform: translateY(16px);
  animation: pipelineFade 1.2s linear forwards;
  position: relative;
  z-index: 1;
}

.pipeline-stage.stage-1 { animation-delay: 0.2s; }
.pipeline-stage.stage-2 { animation-delay: 1.6s; }
.pipeline-stage.stage-3 { animation-delay: 3.0s; }
.pipeline-stage.stage-4 { animation-delay: 4.4s; }
.pipeline-stage.stage-5 { animation-delay: 5.8s; }
.pipeline-stage.stage-6 { animation-delay: 7.2s; }

@keyframes pipelineFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.pipeline-grid.rules::before,
.pipeline-grid.rules::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(87, 99, 108, 0.15);
}

.pipeline-grid.rules::before { top: 33.3%; }
.pipeline-grid.rules::after { top: 66.6%; }

.pipeline-grid.locked::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(87, 99, 108, 0.2);
}

.block {
  height: 52px;
  border-radius: 10px;
  background: #f5f6f8;
  border: 1px solid #e6e8ec;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: opacity 0.6s linear, background 0.6s linear, border-color 0.6s linear;
}

.pipeline-grid.dimmed .block {
  opacity: 0.15;
}

.pipeline-grid.locked .block {
  opacity: 0.1;
}

.pipeline-grid.locked .block.active {
  opacity: 1;
  background: #57636C;
  border-color: #57636C;
  box-shadow: 0 10px 24px rgba(87, 99, 108, 0.25);
}

.pipeline-caption {
  margin: 16px 0 0;
  font-size: clamp(14px, 2vw, 18px);
  color: #57636C;
  text-align: center;
  letter-spacing: -0.01em;
}

.pipeline-caption.emphasis {
  font-weight: 700;
}

.pipeline-underline {
  display: block;
  width: 0;
  height: 2px;
  margin: 12px auto 0;
  background: #c9a24d;
  animation: underlineDraw 1.1s linear 6.2s forwards;
}

@keyframes underlineDraw {
  from { width: 0; opacity: 0; }
  to { width: 120px; opacity: 1; }
}

@media (max-width: 768px) {
  .pipeline-grid {
    gap: 8px;
  }
  .block {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-stage,
  .pipeline-underline {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.transition-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 64px;
}

.transition-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.transition-item.active {
  opacity: 1;
  transform: none;
}

/* CLARITY SHOWCASE - APPLE NAV STYLE */
.clarity-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 64px;
  margin-bottom: 64px;
}

.clarity-display {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 450px;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.clarity-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 32px;
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.clarity-icon {
  font-size: 100px;
  opacity: 0.9;
}

.clarity-content {
  max-width: 600px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin: 0;
}

.clarity-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1000px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  width: 100%;
  overflow-x: auto;
}

.clarity-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.clarity-nav-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.clarity-nav-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.transition-item p {
  font-size: 31px;
  font-weight: 500;
  line-height: 1.8;
  color: #888;
  margin: 0;
  padding: 0;
  letter-spacing: -0.01em;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.transition-item:nth-child(2) p {
  color: #888;
  font-weight: 500;
}

.transition-item:nth-child(3) p {
  color: #888;
}

.transition-item:nth-child(4) p {
  color: #888;
}

.transition-item:nth-child(5) p {
  color: #888;
  font-weight: 500;
}

/* CTA Section Text Styling */
.cta-text {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.7;
  color: #888;
  margin: 0 0 24px 0;
  padding: 0;
  letter-spacing: -0.01em;
}

/* NARRATIVE SECTIONS */
.narrative {
  padding: 120px 10vw;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: clamp(50px, 10vh, 80px) clamp(24px, 6vw, 40px);
    min-height: auto;
  }

  .hero {
    padding: 50px 6vw 90px;
    min-height: 100vh;
  }

  .hero-inner {
    gap: 48px;
  }

  .hero-main {
    font-size: 42px;
  }

  .hero-highlight {
    font-size: 42px;
  }

  .nav {
    padding: 16px 6vw;
  }

  .nav-actions {
    gap: 12px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  p {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .subheader {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .logo-row {
    gap: 12px;
  }

  .logo-chip {
    padding: 10px 14px;
    font-size: 13px;
  }

  .form {
    gap: 16px;
  }

  .problem-item {
    padding: 16px 20px;
    font-size: 16px;
  }

  .sequential-messages {
    gap: 32px;
  }

  .message-block p {
    font-size: 24px;
  }

  #carousel-text {
    font-size: 20px;
    line-height: 1.7;
    min-height: 120px;
  }

  .carousel-container {
    gap: 40px;
    margin: 60px 0;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .transition-stack {
    gap: 40px;
  }

  .transition-item p {
    font-size: 20px;
    line-height: 1.6;
  }

  .cta {
    text-align: center;
  }

  .not-section {
    padding: 32px;
    margin-top: 48px;
  }

  .not-section p {
    font-size: 24px;
  }

  .narrative {
    padding: 80px 6vw;
  }

  /* Infrastructure label responsive */
  .infrastructure-label {
    font-size: 16px;
  }

  /* CLARITY SHOWCASE RESPONSIVE */
  .clarity-showcase {
    gap: 30px;
    margin-top: 48px;
  }

  .clarity-display {
    min-height: 350px;
  }

  .clarity-visual {
    gap: 24px;
    padding: 30px;
  }

  .clarity-icon {
    font-size: 70px;
  }

  .clarity-content {
    font-size: 20px;
    line-height: 1.5;
  }

  .clarity-nav {
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .clarity-nav-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-main,
  .hero-highlight {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  p {
    font-size: 26px;
  }

  #carousel-text {
    font-size: 18px;
  }

  .transition-item p {
    font-size: 24px;
  }

  /* Progressive text mobile adjustments */
  .progressive-text .word {
    margin: 0 0.1em;
    transform: translateY(6px) scale(0.98);
  }
  
  .progressive-text .word.emphasized {
    transform: translateY(0) scale(1);
  }
  
  .progressive-text .word.deemphasized {
    transform: translateY(8px) scale(0.97);
  }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
  .progressive-text .word {
    margin: 0 0.12em;
    font-size: inherit;
  }
  
  .progressive-text .word {
    opacity: 0.28;
    transform: translateY(7px) scale(0.98);
  }
  
  .progressive-text .word.emphasized {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .progressive-text .word {
    margin: 0 0.08em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  h1.progressive-text .word,
  h2.progressive-text .word,
  .hero-main.progressive-text .word,
  .section-title.progressive-text .word {
    transform: translateY(8px) scale(0.97);
  }
  
  p.progressive-text .word {
    transform: translateY(5px) scale(0.98);
  }
}

/* ===== ADDITIONAL PROGRESSIVE EMPHASIS STYLES ===== */
.progressive-text .word {
  white-space: pre-wrap;
  position: relative;
}

/* Smooth text rendering */
.progressive-text {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hero specific progressive styles */
.hero .progressive-text .word {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero .progressive-text .word.emphasized {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* Carousel text progressive */
#carousel-text.progressive-text .word,
#problem-text.progressive-text .word {
  opacity: 0.35;
}

#carousel-text.progressive-text .word.emphasized,
#problem-text.progressive-text .word.emphasized {
  opacity: 1;
  font-weight: 700;
}

#carousel-text.progressive-text .word.active,
#problem-text.progressive-text .word.active {
  opacity: 1;
  font-weight: 800;
  transform: translateY(0) scale(1.12);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
  color: #000;
}

/* Highlight text within progressive */
.progressive-text .highlight-text .word.emphasized {
  color: #c9a24d;
  font-weight: 700;
}

/* Button progressive text */
.btn.progressive-text .word {
  opacity: 0.4;
  color: inherit;
}

.btn.progressive-text .word.emphasized {
  opacity: 1;
  font-weight: 600;
}

/* Logo chip progressive */
.logo-chip.progressive-text .word {
  opacity: 0.35;
}

.logo-chip.progressive-text .word.emphasized {
  opacity: 1;
  font-weight: 700;
}

/* Tab description progressive */
.tab-description.progressive-text .word,
.clarity-nav-btn span.progressive-text .word {
  opacity: 0.3;
}

.tab-description.progressive-text .word.emphasized,
.clarity-nav-btn span.progressive-text .word.emphasized {
  opacity: 1;
  font-weight: 500;
}

/* Feature description progressive */
.feature-description p.progressive-text .word {
  opacity: 0.28;
}

.feature-description p.progressive-text .word.emphasized {
  opacity: 1;
  font-weight: 600;
}

/* Legacy mobile styles */
@media (max-width: 560px) {
  .feature-description {
    font-size: 15px;
    padding: 16px;
    line-height: 1.5;
  }

  .infrastructure-label {
    font-size: 15px;
    margin-bottom: 32px;
  }

  /* CLARITY SHOWCASE MOBILE */
  .clarity-display {
    min-height: 300px;
  }

  .clarity-visual {
    gap: 20px;
    padding: 24px;
  }

  .clarity-icon {
    font-size: 50px;
  }

  .clarity-content {
    font-size: 18px;
    line-height: 1.4;
  }

  .clarity-nav {
    flex-direction: row;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .clarity-nav-btn {
    padding: 8px 10px;
    font-size: 10px;
    flex-shrink: 0;
  }
}

/* ===== PIPELINE ANIMATION STYLES ===== */
.pipeline-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 0;
  pointer-events: none;
}

.pipeline-line {
  stroke: #57636C;
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(87, 99, 108, 0.2));
}

.flow-particle {
  filter: drop-shadow(0 0 4px rgba(87, 99, 108, 0.5));
}

.pipeline-grid {
  position: relative;
  z-index: 1;
}

.pipeline-tile {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.pipeline-tile:hover {
  box-shadow: 0 8px 32px rgba(87, 99, 108, 0.2) !important;
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .pipeline-connectors {
    display: none;
  }
}

.footer-icon1{
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    color: #333333;
    margin-top: 15px;

