/* SaleWisely - Pure CSS
 * Design: 清爽白·专业蓝 (Clean White + Professional Blue)
 * Primary: #1D4ED8 | Background: #FFFFFF | Text: #111827
 */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  font-family: 'Noto Sans SC', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Noto Sans SC', 'Plus Jakarta Sans', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ============ UTILITIES ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.hidden { display: none !important; }
.bg-white { background: #ffffff; }
.section-pad { padding: 6rem 0; }
.mt-10 { margin-top: 2.5rem; }

/* Color utilities referenced in JS-generated elements */
.text-blue-600 { color: #2563eb; }
.text-indigo-600 { color: #4f46e5; }
.text-cyan-600 { color: #0891b2; }
.text-purple-600 { color: #9333ea; }
.text-blue-400 { color: #60a5fa; }

/* ============ ANIMATIONS ============ */
@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-8px) translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float-up-down 5s ease-in-out infinite; }
.animate-testimonial-left {
  animation: marquee-scroll-left 45s linear infinite;
  will-change: transform;
}
.animate-testimonial-right {
  animation: marquee-scroll-right 45s linear infinite;
  will-change: transform;
}
.animate-testimonial-left:hover,
.animate-testimonial-right:hover { animation-play-state: paused; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Fade-in items (hero) */
.fade-in-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: var(--delay, 0s);
}

/* ============ HERO TITLE CAROUSEL ============ */
.hero-text-block {
  position: relative;
  z-index: 2;
}

/* Title: row (brackets + carousel) + underline on next line — avoids abspos line crossing text */
.hero-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  position: relative;
  z-index: 1;
}

/* Carousel: min-height so CJK lines never clip; active item supplies real height */
.hero-title-carousel {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-height: 1.15em;
}

/* Each carousel item */
.hero-title-item {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: transparent;
  line-height: 1.1;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);

  /* Refined blue gradient — subtle, no aggressive flow */
  background: linear-gradient(
    120deg,
    #1e40af 0%,
    #2563eb 45%,
    #1e40af 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  overflow: hidden;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;

  /* Subtle depth shadow — not flashy */
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.15));
}
.hero-title-item.zh,
.hero-title-item.zh-hant {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-title-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  animation: title-shimmer 6s ease-in-out infinite;
}
.hero-title-item.exit {
  opacity: 0;
  transform: translateY(-12px);
}

@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Tech underline — refined, understated */
.tech-underline {
  position: relative;
  width: min(18rem, 85vw);
  height: 1.5px;
  background: #bfdbfe;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}
.tech-underline-fill {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, #3b82f6, #93c5fd, #3b82f6, transparent);
  background-size: 200% 100%;
  border-radius: 9999px;
  animation: underline-shimmer 4s ease-in-out infinite;
}
@keyframes underline-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: 0.6; }
  50%       { background-position: 100% 50%; opacity: 1; }
}

/* Gradient text */
.text-gradient-blue {
  background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ BUTTONS ============ */

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse-dot-anim 2s ease-in-out infinite;
}
.pulse-dot-green {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot-anim 2s ease-in-out infinite;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px; height: 0.85em;
  background: #2563eb;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}

/* ============ BUTTONS ============ */
.btn-login {
  font-size: 0.875rem; font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}
.btn-login:hover { color: #2563eb; }

.btn-outline-dark {
  font-size: 0.875rem; font-weight: 600;
  color: #1f2937;
  border: 2px solid #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: #1f2937; color: #fff; }

.btn-primary-pill {
  font-size: 0.875rem; font-weight: 600;
  color: #fff;
  background: #2563eb;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(37,99,235,0.3);
}
.btn-primary-pill:hover { background: #1d4ed8; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #2563eb; color: #fff;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(37,99,235,0.3);
}
.btn-hero-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(37,99,235,0.4); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #fff; color: #1f2937;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-hero-secondary:hover { border-color: #93c5fd; color: #2563eb; transform: translateY(-2px); }

.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #2563eb; color: #fff;
  font-weight: 700; font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(37,99,235,0.25);
}
.btn-primary-sm:hover { background: #1d4ed8; box-shadow: 0 8px 15px -3px rgba(37,99,235,0.35); }

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff; color: #374151;
  font-weight: 700; font-size: 0.875rem;
  border-radius: 9999px;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
}
.btn-outline-sm:hover { border-color: #93c5fd; color: #2563eb; }

.btn-with-arrow { display: inline-flex; align-items: center; gap: 0.5rem; }

.btn-cta-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem;
  background: #fff; color: #1d4ed8;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}
.btn-cta-white:hover { background: #eff6ff; transform: translateY(-4px); box-shadow: 0 25px 30px -5px rgba(0,0,0,0.25); }

.btn-cta-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent; color: #fff;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-4px); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid #f3f4f6;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; height: 72px; } }

.nav-logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img{width: 100%;height: 100%;object-fit: contain;}
.logo-text { font-size: 1.25rem; font-weight: 700; color: #111827; letter-spacing: -0.02em; }
.logo-blue { color: #2563eb; }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: #4b5563;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { color: #2563eb; background: #eff6ff; }

.nav-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .nav-cta { display: flex; } }

.nav-mobile-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
  color: #4b5563;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-btn:focus { outline: none; border: none; }
.nav-mobile-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.nav-mobile-btn:active { background-color: transparent; }
@media (min-width: 1024px) { .nav-mobile-btn { display: none; } }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 1rem;
}
.mobile-menu.open {
  display: block;
  max-height: 80vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s;
}
.mobile-nav-link:hover { color: #2563eb; background: #eff6ff; }
.mobile-cta { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 30%, #ffffff 70%);
}
.hero-bg-blobs {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.blob-1 { top: 80px; left: 40px; width: 288px; height: 288px; background: rgba(147,197,253,0.3); }
.blob-2 { top: 160px; right: 40px; width: 384px; height: 384px; background: rgba(147,197,253,0.2); }
.blob-3 { bottom: 80px; left: 33%; width: 256px; height: 256px; background: rgba(165,180,252,0.2); }
.grid-pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.03;
}

.hero-content {
  position: relative; z-index: 10;
  padding-top: 6rem; padding-bottom: 3rem;
  text-align: center;
  width: 100%;
}

.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: #dbeafe; color: #1d4ed8;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
}

@media(max-width: 768px) { .hero-badge{font-size: 13px;} }

.hero-subtitle {
  font-size: 1rem;
  color: #6b7280;
  max-width: 38rem; margin: 0 auto 0.25rem;
}
.hero-subtitle-en {
  font-size: 1.125rem; font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.025em;
  margin-bottom: 0.75rem;
}
.hero-subtitle-en-sm {
  font-size: 0.875rem; font-weight: 500;
  color: #9ca3af;
  max-width: 30rem; margin: 0 auto 2rem;
}

.social-icons-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-bottom: 2.75rem;
}
.social-label {
  font-size: 0.7rem; font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.social-showcase-card {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.35rem;
  border-radius: 1.125rem;
  /* Align with hero: #eff6ff → #dbeafe → #fff — softer blue glass, no harsh white slab */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(239, 246, 255, 0.78) 38%,
    rgba(219, 234, 254, 0.85) 72%,
    rgba(219, 234, 254, 0.92) 100%
  );
  border: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow:
    0 1px 2px rgba(37, 99, 235, 0.06),
    0 12px 36px -10px rgba(37, 99, 235, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 640px) {
  .social-showcase-card {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}
.social-icons-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.625rem;
}
.social-icons-row-featured {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .social-icons-row-featured { gap: 1rem 2.25rem; }
}
.social-icons-cluster {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}
.social-whatsapp-spotlight {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  padding: 0 0.25rem;
}
.hero-whatsapp-slogan {
  margin: 0;
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 130, 246, 0.14);
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #166534;
  text-align: center;
}
@media (min-width: 640px) {
  .hero-whatsapp-slogan {
    font-size: 1.0625rem;
    margin-top: 1.25rem;
    padding-top: 1.125rem;
    max-width: 28rem;
  }
}
.social-icon-item {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.2s;
}
.social-icon-item:hover { transform: scale(1.1); box-shadow: 0 4px 6px rgba(0,0,0,0.12); }
.social-icon-item svg { width: 20px; height: 20px; }
@keyframes social-whatsapp-accent {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 2px 8px rgba(37, 211, 102, 0.2),
      0 8px 22px -6px rgba(37, 99, 235, 0.12),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    transform: translateY(-3px);
    box-shadow:
      0 6px 18px rgba(37, 211, 102, 0.32),
      0 14px 32px -8px rgba(37, 99, 235, 0.18),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}
.social-icon-item--whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #86efac;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow:
    0 2px 8px rgba(37, 211, 102, 0.2),
    0 8px 22px -6px rgba(37, 99, 235, 0.12),
    0 0 0 0 rgba(37, 211, 102, 0.35);
  animation: social-whatsapp-accent 2.75s ease-in-out infinite;
}
.social-icon-item--whatsapp svg { width: 32px; height: 32px; }
@media (min-width: 640px) {
  .social-icon-item--whatsapp {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }
  .social-icon-item--whatsapp svg { width: 36px; height: 36px; }
}
.social-icon-item--whatsapp:hover {
  animation-play-state: paused;
  transform: scale(1.06) translateY(-2px);
  box-shadow:
    0 6px 16px rgba(37, 211, 102, 0.35),
    0 14px 30px -8px rgba(37, 99, 235, 0.2),
    0 0 0 6px rgba(37, 211, 102, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .social-icon-item--whatsapp {
    animation: none;
    box-shadow:
      0 2px 8px rgba(37, 211, 102, 0.2),
      0 8px 22px -6px rgba(37, 99, 235, 0.12);
  }
  .social-icon-item--whatsapp:hover {
    transform: scale(1.05);
  }
}
@media (max-width: 639px) {
  .social-icons-row-featured {
    flex-direction: column;
    gap: 1.125rem;
  }
  .social-icons-cluster--left { order: 1; }
  .social-whatsapp-spotlight { order: 2; }
  .social-icons-cluster--right { order: 3; }
}
.social-tooltip {
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  background: #111827; color: #fff;
  font-size: 0.7rem; font-weight: 500;
  padding: 3px 8px; border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.social-icon-item:hover .social-tooltip { opacity: 1; }

.hero-cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; justify-content: center; } }

.hero-dashboard { display: flex; justify-content: center; }
.hero-dashboard video {max-width: 100%;}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: #9ca3af;
  font-size: 0.75rem;
}

/* ============ STATS ============ */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  position: relative; overflow: hidden;
}
.stats-grid-bg {
  position: absolute; inset: 0;
  opacity: 0.1;
}
.stats-inner {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(147,197,253,0.3);
  }
}
.stat-item { text-align: center; padding: 0 1rem; }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.stat-desc { color: #bfdbfe; font-size: 0.875rem; font-weight: 500; }

/* ============ SECTION HEADER ============ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #eff6ff; color: #2563eb;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900; color: #111827;
  margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.125rem; color: #6b7280; max-width: 38rem; margin: 0 auto; }

/* ============ ADVANTAGES ============ */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .advantages-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .advantages-grid { grid-template-columns: repeat(3,1fr); } }

.adv-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  padding: 1.75rem;
  transition: all 0.3s;
  cursor: default;
  transition-delay: var(--delay, 0s);
}
.adv-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-4px); }

.adv-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.adv-card:hover .adv-icon { transform: scale(1.1); }
.adv-icon-blue { background: #eff6ff; color: #2563eb; }
.adv-icon-indigo { background: #eef2ff; color: #4f46e5; }
.adv-icon-cyan { background: #ecfeff; color: #0891b2; }
.adv-icon-purple { background: #faf5ff; color: #9333ea; }
.adv-icon-green { background: #f0fdf4; color: #16a34a; }
.adv-icon-orange { background: #fff7ed; color: #ea580c; }

.adv-title { font-size: 1.125rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; }
.adv-desc { font-size: 0.875rem; color: #6b7280; line-height: 1.7; }

/* ============ FEATURES ============ */
.features-section { background: linear-gradient(180deg, #fff 0%, rgba(239,246,255,0.5) 100%); }

.features-tabs {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.5rem;
  margin-bottom: 3rem;
}
.feat-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  background: #fff;
  transition: all 0.2s;
}
.feat-tab:hover { border-color: #93c5fd; color: #2563eb; }
.feat-tab.active { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 10px 15px -3px rgba(37,99,235,0.25); }

.feature-panels { }
.feat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) { .feat-panel { flex-direction: row; } }

.feat-panel .feat-image { order: -1; }
@media (min-width: 1024px) {
  .feat-panel .feat-image { order: unset; }
  .feat-panel .feat-image-reverse { order: -1; }
}

.feat-text { flex: 1; }
.feat-image { flex: 1; width: 100%; }

.feat-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; color: #111827; margin-bottom: 0.5rem; }
.feat-sub { color: #2563eb; font-weight: 600; font-size: 1.125rem; margin-bottom: 1.5rem; }

.feat-points { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.feat-point {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: all 0.2s;
}
.feat-point:hover { border-color: #bfdbfe; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.feat-point-icon { font-size: 1.5rem; flex-shrink: 0; }
.feat-point span:last-child { color: #374151; font-weight: 500; line-height: 1.6; }

.feat-actions { display: flex; gap: 0.75rem; padding-top: 0.5rem; }

.feat-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border: 1px solid #f3f4f6;
  position: relative;
}
.feat-img-wrap img {
  width: 100%;
  height: auto;
}
.feat-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29,78,216,0.1), transparent);
  pointer-events: none;
}

/* ============ SCENARIOS ============ */
.scenario-tabs {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.75rem;
  margin-bottom: 3rem;
}
.scen-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  background: #fff;
  transition: all 0.2s;
}
.scen-tab:hover { border-color: #d1d5db; }
.scen-tab.active-blue { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 10px 15px -3px rgba(37,99,235,0.3); }
.scen-tab.active-indigo { background: #4f46e5; color: #fff; border-color: #4f46e5; box-shadow: 0 10px 15px -3px rgba(79,70,229,0.3); }
.scen-tab.active-cyan { background: #0891b2; color: #fff; border-color: #0891b2; box-shadow: 0 10px 15px -3px rgba(8,145,178,0.3); }
.scen-tab.active-purple { background: #9333ea; color: #fff; border-color: #9333ea; box-shadow: 0 10px 15px -3px rgba(147,51,234,0.3); }

.scen-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .scen-panel { grid-template-columns: 1fr 1fr; } }

.scen-image { position: relative; }
.scen-img-glow {
  position: absolute; inset: -16px;
  background: rgba(219,234,254,0.4);
  border-radius: 24px;
  filter: blur(32px);
}
.scen-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.scen-img-wrap img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 1024px) { .scen-img-wrap img { height: 384px; } }
.scen-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.4), transparent);
}
.scen-stats-overlay {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  display: flex; gap: 0.75rem;
}
.scen-stat-item {
  flex: 1;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.scen-stat-val { font-size: 1.5rem; font-weight: 900; }
.scen-stat-lbl { font-size: 0.75rem; color: #6b7280; margin-top: 2px; }

.scen-content { display: flex; flex-direction: column; gap: 1.5rem;align-items: flex-start; }
.scen-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 9999px;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-indigo { background: #e0e7ff; color: #4338ca; }
.badge-cyan { background: #cffafe; color: #0e7490; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }

/* color utility classes for dynamic stat colors */
.border-blue-200 { border-color: #bfdbfe; }
.border-indigo-200 { border-color: #c7d2fe; }
.border-cyan-200 { border-color: #a5f3fc; }
.border-purple-200 { border-color: #e9d5ff; }

.scen-title { font-size: 1.875rem; font-weight: 900; color: #111827; }
.scen-desc { color: #4b5563; font-size: 1rem; line-height: 1.7; }
.scen-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;width: 100%; }
.scen-stat-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid;
  background: #fff;
}
.scen-stat-big { font-size: 1.875rem; font-weight: 900; }
.scen-stat-sm { font-size: 0.875rem; color: #6b7280; margin-top: 4px; }

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(239,246,255,0.4) 0%, #fff 100%);
  overflow: hidden;
}
.rating-wrap {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.25rem;
}
.stars { display: flex; gap: 4px; }
.star { width: 24px; height: 24px; fill: #fbbf24; }
.rating-number { font-size: 1.875rem; font-weight: 900; color: #111827; }
.rating-total { font-size: 0.875rem; font-weight: 500; color: #9ca3af; }

.mt-5 { margin-top: 1.25rem; }
.marquee-wrap { position: relative; overflow: hidden; margin-bottom: 0; }
.marquee-fade-left {
  position: absolute; left: 0; top: 0; bottom: 0; width: 128px;
  background: linear-gradient(to right, rgba(239,246,255,0.4), transparent);
  z-index: 10; pointer-events: none;
}
.marquee-fade-right {
  position: absolute; right: 0; top: 0; bottom: 0; width: 128px;
  background: linear-gradient(to left, #fff, transparent);
  z-index: 10; pointer-events: none;
}
.marquee-track { display: flex; width: max-content; }

.tcard {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #f3f4f6;
  margin: 0 0.75rem;
  transition: all 0.2s;
  cursor: default;
  user-select: none;
}
.tcard:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tcard-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.tcard-star { width: 16px; height: 16px; fill: #fbbf24; }
.tcard-quote { font-size: 0.875rem; color: #374151; line-height: 1.7; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-author { display: flex; align-items: center; gap: 0.75rem; }
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.875rem;
  flex-shrink: 0;
}
.avatar-blue { background: #2563eb; }
.avatar-indigo { background: #4f46e5; }
.avatar-purple { background: #9333ea; }
.avatar-cyan { background: #06b6d4; }
.avatar-green { background: #16a34a; }
.avatar-orange { background: #f97316; }
.tcard-name { font-weight: 600; font-size: 0.875rem; color: #111827; }
.tcard-role { font-size: 0.75rem; color: #9ca3af; }

/* ============ PRICING ============ */
.pricing-section { background: linear-gradient(180deg, #fff 0%, rgba(239,246,255,0.3) 100%); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(4,1fr); gap: 8px; } }

.pricing-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  position: relative;
  transition: all 0.3s;
  transition-delay: var(--delay, 0s);
  display: flex; flex-direction: column;
}
.pricing-card:not(.pricing-card-highlight):hover { border-color: #bfdbfe; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.pricing-card-highlight {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 25px 50px -12px rgba(37,99,235,0.4);
  transform: scale(1.05);
}

.plan-badge-top {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
}
.plan-popular {
  background: #fbbf24; color: #78350f;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pricing-card-header { margin-bottom: 1.5rem; }
.plan-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.plan-name.text-gray { color: #6b7280; }
.plan-name.text-blue-light { color: #bfdbfe; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.25rem; font-weight: 900; }
.plan-price.text-dark { color: #111827; }
.plan-price.text-white { color: #fff; }
.plan-period { font-size: 0.875rem; }
.pricing-card:not(.pricing-card-highlight) .plan-period { color: #9ca3af; }
.pricing-card-highlight .plan-period { color: #bfdbfe; }
.plan-desc { font-size: 0.875rem; }
.pricing-card:not(.pricing-card-highlight) .plan-desc { color: #6b7280; }
.plan-desc.text-blue-faint { color: #bfdbfe; }

.plan-features { flex: 1; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-feat {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: #4b5563;
}
.plan-feat-white { color: #bfdbfe; }
.feat-check { width: 16px; height: 16px; flex-shrink: 0; color: #2563eb; }
.feat-check-light { width: 16px; height: 16px; flex-shrink: 0; color: #bfdbfe; }

.plan-btn {
  display: block; text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700; font-size: 0.875rem;
  transition: all 0.2s;
}
.plan-btn-normal { background: #2563eb; color: #fff; box-shadow: 0 4px 6px rgba(37,99,235,0.25); }
.plan-btn-normal:hover { background: #1d4ed8; box-shadow: 0 8px 15px rgba(37,99,235,0.35); }
.plan-btn-white { background: #fff; color: #2563eb; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.plan-btn-white:hover { background: #eff6ff; box-shadow: 0 15px 20px rgba(0,0,0,0.15); }

/* ============ CTA ============ */
.cta-section {
  padding: 6rem 0;
  position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #2563eb 70%, #3b82f6 100%);
}
.cta-circle {
  position: absolute;
  width: 384px; height: 384px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-circle-tl { top: 0; left: 0; transform: translate(-50%,-50%); }
.cta-circle-br { bottom: 0; right: 0; transform: translate(33%,33%); width: 320px; height: 320px; }
.cta-blur {
  position: absolute; top: 50%; left: 25%;
  width: 256px; height: 256px;
  background: rgba(96,165,250,0.1);
  border-radius: 50%;
  filter: blur(40px);
}
.cta-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.04;
}
.cta-inner { position: relative; z-index: 10; text-align: center;  }
.cta-badge-wrap { margin-bottom: 1.5rem; }
.cta-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.2); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.cta-title-light { color: #bfdbfe; }
.cta-subtitle {
  font-size: 1.125rem; color: #bfdbfe;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-btns {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .cta-btns { flex-direction: row; justify-content: center; } }
.cta-trust {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 1.5rem;
  color: #bfdbfe; font-size: 0.875rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; }

/* ============ FOOTER ============ */
.footer { background: #030712; color: #9ca3af; }
.footer-inner { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media(max-width: 768px) { .footer-inner{padding: 2rem 1rem;} }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; } }

.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 3; } }
@media (min-width: 1024px) { .footer-brand { grid-column: span 1; } }

.footer-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer-logo-text { font-size: 1.25rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-copy { font-size: 0.75rem; color: #4b5563; }

.footer-col-title { color: #fff; font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-links a:hover { color: #60a5fa; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  display: flex;
  flex-direction: column; gap: 1rem;
  align-items: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.75rem; color: #4b5563; }
.footer-legal a { color: #4b5563; transition: color 0.2s; }
.footer-legal a:hover { color: #9ca3af; }
.footer-socials { display: flex; align-items: center; gap: 0.75rem; }
.footer-social {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #1f2937;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  transition: all 0.2s;
}
.footer-social:hover { background: #2563eb; color: #fff; }
