/* ============================================
   CLF - Landing Page Section Styles
   ============================================ */

/* --- Page Background --- */
body {
  background-color: #ffffff;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height-mobile);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
  background-color: #ffffff;
  border-bottom: 1px solid #ebebeb;
}

@media (min-width: 1024px) {
  .nav {
    height: var(--nav-height);
  }
}

.nav--scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 0 #ebebeb;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .nav__inner {
    padding: 0 var(--space-lg);
  }
}

.nav__logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav__logo {
    height: 56px;
  }
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-dark);
  white-space: nowrap;
  position: relative;
  top: 4px;
}

.nav:not(.nav--scrolled) .nav__brand-name {
  color: var(--color-text-dark);
}

@media (max-width: 767px) {
  .nav__brand-name {
    font-size: 14px;
  }
}

.nav__links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
  letter-spacing: 0.2px;
}

.nav--scrolled .nav__link {
  color: var(--color-text-dark);
}

/* Hero transparent state: dark text on light hero */
.nav:not(.nav--scrolled) .nav__link {
  color: var(--color-text-dark);
}
.nav:not(.nav--scrolled) .nav__link:hover {
  color: var(--color-primary);
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all 0.2s ease;
}

.nav:not(.nav--scrolled) .nav__hamburger span {
  background-color: var(--color-text-dark);
}

/* Mobile Language Button */
.nav__mobile-lang-wrap {
  display: none;
  position: relative;
}
@media (max-width: 1023px) {
  .nav__mobile-lang-wrap {
    display: block;
  }
}
.nav__mobile-lang {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}
.nav--scrolled .nav__mobile-lang {
  border-color: var(--color-border);
  color: var(--color-text-body);
}
.nav__mobile-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 160px;
  overflow: hidden;
  z-index: 200;
}
.nav__mobile-lang-dropdown.open {
  display: block;
}
.nav__mobile-lang-opt {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-text-body);
  text-decoration: none;
  transition: background 0.1s;
}
.nav__mobile-lang-opt:hover {
  background: var(--color-bg-light);
}
.nav__mobile-lang-opt--active {
  font-weight: 600;
  color: var(--color-cta);
}
.nav__mobile-lang-opt--active::after {
  content: '\2713';
  margin-left: auto;
  font-size: 14px;
}

/* Mobile: nav on light hero background */
@media (max-width: 767px) {
  .nav:not(.nav--scrolled) .nav__brand-name {
    color: var(--color-text-dark);
  }
  .nav:not(.nav--scrolled) .nav__hamburger span {
    background-color: var(--color-text-dark);
  }
  .nav:not(.nav--scrolled) .nav__link {
    color: var(--color-text-dark);
  }
  .nav:not(.nav--scrolled) .nav__mobile-lang {
    border-color: var(--color-border);
    color: var(--color-text-body);
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 1002;
  padding: var(--space-xl) var(--space-md);
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
}

.mobile-menu__link {
  display: block;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__cta {
  margin-top: var(--space-lg);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile-only line breaks & desktop-only punctuation --- */
.mobile-br { display: none; }
.desktop-br { display: inline; }
.desktop-punct { display: inline; }

/* --- Wave dividers between sections --- */
.wave-divider {
  display: none;
}

/* --- Hero Section (Video) --- */
.hero--video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) 20px 72px;
  background: transparent;
  min-height: auto;
}
.hero--video .hero__content {
  position: relative;
  z-index: 1;
}
.hero:not(.hero--video) {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-4xl) + 48px) 0 var(--space-xl);
  background-image:
    linear-gradient(180deg,
      rgba(15,15,30,0.55) 0%,
      rgba(15,15,30,0.25) 35%,
      rgba(15,15,30,0.10) 60%,
      rgba(15,15,30,0.35) 100%),
    url('../assets/hero-forbidden-city.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #faf8f5;
}
.hero--video .hero__video-wrap {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border: 1px solid #ebebeb;
}
.hero--video .hero__video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.hero--video .hero__title {
  color: #222222;
  margin-bottom: 12px;
}
.hero--video .hero__title .text-emphasis {
  color: #ff385c;
  -webkit-text-fill-color: #ff385c;
}
.hero--video .hero__subtitle {
  color: #717171;
  text-shadow: none;
  max-width: 640px;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .hero--video {
    min-height: auto !important;
    width: auto !important;
    margin-left: 0 !important;
    padding: calc(var(--nav-height-mobile) + 24px) 20px 40px;
    background: transparent !important;
    background-image: none !important;
  }
  .hero--video::before {
    display: none !important;
  }
  .hero--video .hero__title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #222222 !important;
    text-shadow: none !important;
    line-height: 1.15;
    letter-spacing: -0.8px;
  }
  .hero--video .hero__subtitle {
    color: #717171 !important;
    text-shadow: none !important;
    font-size: 15px !important;
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.55;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero--video .hero__video-wrap {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border: 1px solid #ebebeb;
  }
  .hero--video .hero__scroll-hint {
    display: none;
  }
}

/* Hero CTA row */
.hero__cta-row {
  display: none;
}
@media (max-width: 767px) {
  .hero__cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }
  .btn--hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff385c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255,56,92,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    letter-spacing: 0.3px;
  }
  .btn--hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,56,92,0.4);
  }
  .hero__trust {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: 0.3px;
  }
}

.hero__content {
  max-width: 860px;
  padding: 0 var(--space-md);
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: 16px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero__title { font-size: 54px; letter-spacing: -1px; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 64px; line-height: 1.08; }
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 22px; }
}

.hero__note {
  font-size: 16px;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

@media (min-width: 768px) {
  .hero__note { font-size: 18px; }
}

.hero__path-prompt {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero__path-prompt { font-size: 26px; }
}

.hero-paths {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-paths {
    gap: 20px;
  }
}

/* White cards, centered */
.hero-path {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 24px 22px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

@media (max-width: 639px) {
  .hero-path {
    padding: 16px 12px;
    border-radius: 12px;
    max-width: none;
  }
  .hero-path__emoji { font-size: 24px; margin-bottom: 8px; }
  .hero-path__label { font-size: 15px; margin-bottom: 4px; }
  .hero-path__desc { font-size: 12px; line-height: 1.4; margin-bottom: 10px; text-wrap: balance; }
  .hero-path__price { font-size: 22px; margin-bottom: 8px; }
  .hero-path__price-note { font-size: 12px; }
  .hero-path .btn { height: 40px; font-size: 13px; padding: 0 12px; }
  .hero-path__note { font-size: 11px; }
}

.hero-path:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.hero-path__emoji { font-size: 32px; margin-bottom: 12px; }

.hero-path__label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.hero-path__desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  text-wrap: balance;
}
.hero-path__bottom {
  margin-top: auto;
}
.hero-path__price {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}
.hero-path .btn {
  width: 100%;
}
.hero-path__price-note {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.hero-path__note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.hero__chat-link {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero__chat-link a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero__chat-link a:hover {
  color: #fff;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  z-index: 2;
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Hero Tab Toggle (mobile only) --- */
.hero-toggle {
  display: none;
}
@media (max-width: 767px) {
  .hero-toggle {
    display: flex;
    background: #f0f1f5;
    border-radius: 25px;
    padding: 3px;
    margin: 0 auto 16px;
    max-width: 280px;
  }
  .hero-toggle__btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    color: #8b92a8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
  }
  .hero-toggle__btn--active {
    background: #ffffff;
    color: var(--color-text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .hero-paths {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-path {
    grid-row: 1;
    grid-column: 1;
    max-width: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: flex;
  }
  .hero-path.hero-path--active {
    opacity: 1;
    visibility: visible;
  }
}

/* --- Hero Mobile Compression --- */
@media (max-width: 767px) {
  .mobile-br {
    display: inline;
  }
  .desktop-br {
    display: none;
  }
  .desktop-punct {
    display: none;
  }
  body {
    background-color: #ffffff;
  }
  .hero {
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: calc(var(--nav-height-mobile) + 20px) 0 16px;
    background-image: url('../assets/hero-mobile.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #0f0f1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  /* 均匀薄蒙版，用伪元素不干扰文字 */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.10);
    z-index: 0;
    pointer-events: none;
  }
  .hero__content {
    position: relative;
    z-index: 1;
  }
  .hero__title {
    font-size: 26px;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #10182f;
    text-shadow: none;
  }
  .hero__subtitle {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: #3d4663;
    text-shadow: none;
    font-weight: 500;
  }
  .hero__subtitle br {
    display: inline;
  }
  .hero__note br {
    display: inline;
  }
  .hero__note {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #545d7a;
    text-shadow: none;
  }
  .hero__path-prompt {
    font-size: 15px;
    margin-bottom: 12px;
    white-space: nowrap;
    color: #10182f;
    text-shadow: none;
  }
  .hero__chat-link {
    margin-top: 14px;
    font-size: 0;
    text-align: center;
  }
  .hero__chat-link a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #ff385c;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(255,56,92,0.35);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .hero__chat-link a:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255,56,92,0.45);
  }
  .hero__chat-free {
    display: block;
    font-size: 12px;
    color: #545d7a;
    margin-top: 6px;
    font-weight: 500;
  }
  .hero__scroll-hint {
    display: none;
  }
  /* Service cards adapt to light background */
  .hero-path {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232,234,240,0.6);
  }
  .hero-path__label {
    color: #10182f;
  }
  .hero-path__desc {
    color: #545d7a;
  }
  .hero-path__price {
    color: #10182f;
  }
  .hero-path__price-note,
  .hero-path__note {
    color: #8b92a8;
  }
}

/* --- Pain Points Section --- */
.pain-points {
  background: #f7f7f7;
  position: relative;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.pain-points__transition {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-top: var(--space-md);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .pain-points__transition {
    font-size: 20px;
    margin-top: var(--space-xl);
  }
}

/* Pain Points mobile: vertical stack */
@media (max-width: 767px) {
  .pain-points {
    padding: 40px 0 44px;
  }
  .pain-points__carousel--mobile .pain-points__track.grid--4 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pain-points__carousel--mobile .pain-points__slide {
    width: 100%;
  }
  .pain-points__transition {
    font-size: 15px;
    margin-top: 24px;
    padding: 0 8px;
    line-height: 1.5;
  }
}

/* --- Video Embed --- */
.video-wrap {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Solution Section --- */
.solution__flow {
  margin-top: var(--space-xl);
}

.solution__flow-note {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: var(--space-lg);
}

/* --- Solution Intro --- */
.solution__intro {
  max-width: 600px;
  margin: 0 auto var(--space-md);
  text-align: center;
}
@media (min-width: 768px) {
  .solution__intro {
    margin: 0 auto var(--space-xl);
  }
}
.solution__intro p {
  font-size: 17px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
@media (max-width: 767px) {
  .solution__intro p {
    font-size: 15px;
    margin-bottom: var(--space-xs);
  }
}
.solution__intro p:last-child {
  margin-bottom: 0;
}

/* Solution mobile: vertical stack */
@media (max-width: 767px) {
  .solution__carousel--mobile .solution__track.grid--3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .solution__carousel--mobile .solution__slide {
    width: 100%;
  }
}

/* --- Pricing Toggle (mobile only) --- */
.pricing-toggle {
  display: none;
}
@media (max-width: 767px) {
  .pricing-toggle {
    display: flex;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    padding: 3px;
    margin: 0 auto 20px;
    max-width: 280px;
  }
  .pricing-toggle__btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
  }
  .pricing-toggle__btn--active {
    background: var(--color-cta);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,56,92,0.25);
  }
}

/* --- Pricing Section --- */
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 840px;
  margin: 0 auto;
}
.pricing__chat-link {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 16px;
  color: var(--color-text-secondary);
}
.pricing__chat-link a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .pricing__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pricing__cards > .card--pricing {
    display: flex;
  }
  .pricing__cards .card--pricing {
    padding: 20px 16px;
  }
  .pricing__cards .card__name {
    font-size: 18px;
  }
  .pricing__cards .card__desc {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .pricing__cards .card__price {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .pricing__cards .card__tag {
    font-size: 12px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .pricing__cards .day-selector__label {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .pricing__cards .day-selector__pills {
    gap: 4px;
    margin-bottom: 12px;
  }
  .pricing__cards .day-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    width: auto;
    padding: 0 6px;
    height: 28px;
    font-size: 12px;
    border-width: 1.5px;
    line-height: 1;
  }
  .pricing__cards .day-selector__total {
    font-size: 26px;
  }
  .pricing__cards .day-selector__rate {
    font-size: 14px;
  }
  .pricing__cards .day-selector__save {
    font-size: 13px;
  }
  .pricing__cards .day-selector__hint {
    font-size: 12px;
  }
  /* Feature list: no folding, show all */
  .pricing__cards .card__feature {
    font-size: 14px;
    padding: 4px 0;
    gap: 6px;
  }
  .pricing__cards .card__feature-check {
    font-size: 13px;
  }
  .pricing__cards .btn {
    font-size: 15px;
    height: 44px;
    padding: 0 12px;
  }
  .pricing__cards .card__popular-badge {
    font-size: 10px;
    padding: 3px 10px;
    top: -11px;
  }
  .pricing__cards .card__footer {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .pricing__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* --- How It Works --- */
.how-it-works__note {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: var(--space-lg);
}

/* Solution intro: prevent orphan words on mobile */
@media (max-width: 767px) {
  .solution__intro p {
    font-size: 14px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* --- Use Cases --- */
.use-cases__group-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}
@media (max-width: 767px) {
  .use-cases__group-title {
    font-size: 18px;
    margin-bottom: 8px;
    margin-top: var(--space-md);
  }
  .use-cases__tag {
    margin-left: 4px;
    font-size: 11px;
    padding: 3px 8px;
  }
}
.use-cases__group-title:first-of-type {
  margin-top: 0;
}
@media (min-width: 768px) {
  .use-cases__group-title {
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
  }
}
.use-cases__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 8px;
}
.use-cases__grid--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}
/* Use Cases mobile: vertical stack */
@media (max-width: 767px) {
  .use-cases__grid--2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

/* --- Use Cases Tab Toggle (mobile only) --- */
.uc-toggle {
  display: none;
}
@media (max-width: 767px) {
  .uc-toggle {
    display: flex;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    padding: 3px;
    margin: 0 auto 20px;
    max-width: 340px;
  }
  .uc-toggle__btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
  }
  .uc-toggle__btn--active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,96,170,0.25);
  }
  /* Hide inactive group on mobile */
  .uc-group {
    display: none;
  }
  .uc-group--active {
    display: block;
  }
  /* Hide desktop group titles on mobile (toggle replaces them) */
  .uc-group .use-cases__group-title {
    display: none;
  }
}
@media (min-width: 768px) {
  .use-cases__grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Social Proof --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Testimonials mobile: 2x2 grid */
@media (max-width: 767px) {
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .testimonials__grid > .card--testimonial {
    padding: 14px;
    border: 1px solid #ebebeb;
    background: #fff;
    border-radius: 12px;
  }
  .testimonials__grid .card__stars {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .testimonials__grid .card__quote {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .testimonials__grid .card__author-row {
    gap: 6px;
  }
  .testimonials__grid .card__avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .testimonials__grid .card__author {
    font-size: 12px;
  }
  .testimonials__grid .card__country {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Tips Section --- */
.tips .section__subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

/* --- Tips Phase Labels --- */
.tips-phase {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.tips-phase__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tips-phase__text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-dark);
}

/* --- Tips Card Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* --- Tips Card --- */
.tips-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8eaf0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tips-card:hover {
  transform: translateY(-3px);
  border-color: #c0c4d0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.tips-card__icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.tips-card__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  margin: 0 0 6px;
}

.tips-card__desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

/* Tips Footer */
.tips__footer {
  text-align: center;
  margin-top: 32px;
}

/* --- Tips Mobile --- */
@media (max-width: 767px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tips-card {
    padding: 18px 12px 16px;
  }

  .tips-card__icon {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .tips-card__title {
    font-size: 13px;
  }

  .tips-card__desc {
    font-size: 11px;
  }

  .tips__footer .btn {
    font-size: 13px;
    height: 38px;
    padding: 0 20px;
  }
}

/* --- Final CTA --- */
.final-cta {
  background: #222222;
  text-align: center;
}

.final-cta__title {
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.final-cta__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .final-cta__subtitle {
    font-size: 18px;
  }
}

.final-cta .trust-bar {
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.7);
}

.final-cta .trust-bar__divider {
  color: rgba(255,255,255,0.3);
}

.final-cta__chat {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-sm);
}

/* --- Newsletter --- */
.newsletter {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}
.newsletter__desc {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.newsletter__form-wrap {
  margin-bottom: var(--space-sm);
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .newsletter__form {
    flex-direction: row;
  }
}
.newsletter__input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  transition: border-color var(--transition-fast);
}
.newsletter__input:focus {
  outline: none;
  border-color: var(--color-cta);
}
.newsletter__input::placeholder {
  color: var(--color-text-muted);
}
.newsletter__btn {
  white-space: nowrap;
  height: 48px;
  padding: 0 24px;
}
.newsletter__privacy {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* --- Language Switcher --- */
.lang-switch {
  position: relative;
}
.lang-switch__btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav--scrolled .lang-switch__btn {
  border-color: var(--color-border);
  color: var(--color-text-body);
}
.lang-switch__btn:hover {
  border-color: var(--color-cta);
}
.lang-switch__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 160px;
  z-index: 100;
  overflow: hidden;
}
.lang-switch__dropdown.open {
  display: block;
}
.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text-body);
  transition: background 0.1s;
  text-decoration: none;
}
.lang-switch__option:hover {
  background: var(--color-bg-light);
}
.lang-switch__option--active {
  font-weight: 600;
  color: var(--color-cta);
}

/* --- Mobile Language Switcher --- */
.mobile-menu__lang {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}
.mobile-menu__lang-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}
.mobile-menu__lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-body);
  background: var(--color-bg-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.mobile-lang-option:hover {
  background: var(--color-cta-light);
  color: var(--color-cta);
}
.mobile-lang-option--active {
  background: var(--color-cta);
  color: #fff;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    text-align: left;
  }
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-sm);
}

@media (max-width: 767px) {
  .footer__brand-row {
    justify-content: center;
  }
}

.footer__brand-logo {
  height: 36px;
  width: auto;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: #FFFFFF;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-md);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .footer__legal {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-md);
  }
}

.footer__legal-link {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: rgba(255,255,255,0.8);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.footer__copyright {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* --- Mobile Content Shortening --- */
@media (max-width: 767px) {
  /* Hide 3rd and 4th chat cards on mobile */
  .use-cases__grid--2 > .chat:nth-child(n+3) {
    display: none;
  }
  .use-cases__grid--2.show-all > .chat:nth-child(n+3) {
    display: block;
  }
  /* Hide 3rd and 4th testimonial cards on mobile */
  .testimonials__grid > .card--testimonial:nth-child(n+3) {
    display: none;
  }
  .testimonials__grid.show-all > .card--testimonial:nth-child(n+3) {
    display: flex;
  }
  /* Hide FAQ groups 3 and 4 on mobile */
  .faq-container > .faq-group:nth-child(n+3) {
    display: none;
  }
  .faq-container.show-all > .faq-group:nth-child(n+3) {
    display: block;
  }
}

/* Show-more toggle button */
.show-more-btn {
  display: none;
}
@media (max-width: 767px) {
  .show-more-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    margin-top: 12px;
    background: none;
    border: 1.5px dashed var(--color-border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .show-more-btn:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
  }
  .show-more-btn.hidden {
    display: none;
  }
}

/* --- Desktop Pricing: 2-column internal layout for single SKU --- */
@media (min-width: 768px) {
  .pricing__cards--single .card--pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0 40px;
    text-align: left;
    padding: 48px 48px;
  }
  .pricing__cards--single .card__name {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
  }
  .pricing__cards--single .day-selector {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
  .pricing__cards--single .card__features {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .pricing__cards--single .btn--full {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: 400px;
    margin: 16px auto 0;
  }
}

/* --- Comparison Section (Why Not Just Use...) --- */
.compare-section {
  background: transparent;
}
.compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .compare__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.compare-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid #ebebeb;
  transition: transform 0.2s, box-shadow 0.2s;
}
.compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.compare-card--clf .compare-card__price {
  color: var(--color-cta);
  font-weight: 700;
}
.compare-card__icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.compare-card__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.compare-card__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.compare-card__desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
}
@media (max-width: 767px) {
  .compare-card {
    padding: 18px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .compare-card__icon {
    font-size: 24px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .compare-card__body {
    flex: 1;
  }
  .compare-card__name {
    font-size: 15px;
  }
  .compare-card__desc {
    font-size: 13px;
  }
}

/* --- Team Section --- */
.team-section {
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  background: #f7f7f7;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
.team-member {
  text-align: center;
}
.team-member__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background-size: cover;
  background-position: center;
  background-color: #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.team-member__photo-placeholder {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b0b0b0;
}
/* Hide placeholder when real image loads */
.team-member__photo[style*="url"] .team-member__photo-placeholder {
  display: none;
}
.team-member__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 2px;
}
.team-member__role {
  font-size: 13px;
  color: #717171;
  margin-bottom: 2px;
}
.team-member__city {
  font-size: 12px;
  color: #b0b0b0;
}
.team-section__note {
  text-align: center;
  font-size: 15px;
  color: #717171;
  margin-top: 32px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .team-member__photo {
    width: 80px;
    height: 80px;
  }
  .team-member__photo-placeholder {
    font-size: 24px;
  }
  .team-member__name {
    font-size: 14px;
  }
  .team-member__role {
    font-size: 12px;
  }
  .team-section__note {
    font-size: 13px;
    margin-top: 24px;
  }
}

/* --- Mobile Sticky Bottom Bar (dual buttons) --- */
.mobile-sticky-bar {
  display: none;
}
@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  }
  .mobile-sticky-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    flex: 1;
  }
  .mobile-sticky-bar__btn:active {
    transform: scale(0.97);
  }
  .mobile-sticky-bar__btn--wa {
    background: #25d366;
    color: #fff;
  }
  .mobile-sticky-bar__btn--wa:hover {
    background: #1eba59;
  }
  .mobile-sticky-bar__btn--wa svg {
    fill: #fff;
    flex-shrink: 0;
  }
  .mobile-sticky-bar__btn--cta {
    background: #ff385c;
    color: #fff;
  }
  .mobile-sticky-bar__btn--cta:hover {
    background: #e31c5f;
  }
  /* Add bottom padding to footer so sticky bar doesn't cover content */
  .footer {
    padding-bottom: 66px;
  }
}

