/* =========================================
   WUDA Pte. Ltd. — Design System & Styles
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --clr-bg:          #ffffff;
  --clr-bg-alt:      #f7f7f5;
  --clr-bg-dark:     #1a1a1a;
  --clr-text:        #2c2c2c;
  --clr-text-muted:  #6b6b6b;
  --clr-text-light:  #999999;
  --clr-accent:      #c0392b;
  --clr-accent-soft: #e74c3c;
  --clr-accent-bg:   hsl(4, 60%, 97%);
  --clr-border:      #e8e8e8;
  --clr-white:       #ffffff;

  /* Typography */
  --ff-primary: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs:     0.75rem;
  --fs-sm:     0.875rem;
  --fs-base:   1rem;
  --fs-md:     1.125rem;
  --fs-lg:     1.25rem;
  --fs-xl:     1.5rem;
  --fs-2xl:    2rem;
  --fs-3xl:    2.75rem;
  --fs-4xl:    3.5rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-h:  72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur: 0.3s;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.section {
  padding: var(--sp-5xl) 0;
}

.section-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: var(--sp-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.text-center { text-align: center; }

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  transition: box-shadow var(--dur) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-text span {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.02em;
  transition: color var(--dur) var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--dur) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: var(--fs-sm) !important;
  font-weight: 600 !important;
  color: var(--clr-white) !important;
  background: var(--clr-accent);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--clr-accent-soft) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.hamburger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding-top: calc(var(--header-h) + var(--sp-3xl));
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xl);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--dur) var(--ease-out);
}

.mobile-menu a:hover { color: var(--clr-accent); }

/* ============================
   HERO SECTION
   ============================ */
.hero {
  padding-top: calc(var(--header-h) + var(--sp-4xl));
  padding-bottom: var(--sp-5xl);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-xl);
}

.hero-title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin-bottom: var(--sp-lg);
}

.hero-title .cn {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
  margin-top: var(--sp-sm);
}

.hero-desc {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: var(--sp-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-text);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Trust strip */
.trust-strip {
  margin-top: var(--sp-4xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.trust-item span {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
}

/* ============================
   SERVICES SECTION
   ============================ */
.services {
  background: var(--clr-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.service-card {
  background: var(--clr-white);
  padding: var(--sp-2xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: all var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-lg);
}

.service-card h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
  letter-spacing: -0.01em;
}

.service-card .cn-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-md);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ============================
   CERTIFICATIONS SECTION
   ============================ */
.certifications {
  background: var(--clr-bg);
}

.cert-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
  margin-bottom: var(--sp-3xl);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.cert-card {
  padding: var(--sp-xl) var(--sp-lg);
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: all var(--dur) var(--ease-out);
}

.cert-card:hover {
  background: var(--clr-white);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
  transform: translateY(-2px);
}

.cert-abbr {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-xs);
}

.cert-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.cert-name-cn {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  line-height: 1.5;
}

.cert-org {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

/* ============================
   ABOUT / WHY US SECTION
   ============================ */
.about {
  background: var(--clr-bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.about-item {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
}

.about-item .number {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.about-item h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.about-item .cn-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-md);
}

.about-item p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact {
  background: var(--clr-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  margin-top: var(--sp-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

.contact-detail {
  display: flex;
  gap: var(--sp-lg);
}

.contact-detail .icon {
  width: 48px;
  height: 48px;
  background: var(--clr-accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail .label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-light);
  margin-bottom: 4px;
}

.contact-detail .value {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-text);
}

.contact-detail .value a {
  transition: color var(--dur) var(--ease-out);
}

.contact-detail .value a:hover {
  color: var(--clr-accent);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  padding: 12px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
}

/* Chat Connectors (Contact Section) */
.chat-connectors {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-sm);
  flex-wrap: wrap;
}

.connector {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
  text-decoration: none;
}

.connector-whatsapp {
  background: #25D366;
  color: white;
}

.connector-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.connector-wechat {
  background: #07C160;
  color: white;
}

.connector-wechat:hover {
  background: #06a953;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-xl);
}

.footer-brand .logo-text strong {
  color: var(--clr-white);
}

.footer-brand .logo-text span {
  color: rgba(255,255,255,0.4);
}

.footer-brand p {
  margin-top: var(--sp-md);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-lg);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-sm);
  transition: color var(--dur) var(--ease-out);
}

.footer-col a:hover { color: var(--clr-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-title { font-size: var(--fs-3xl); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .hero { padding-top: calc(var(--header-h) + var(--sp-2xl)); padding-bottom: var(--sp-3xl); }
  .hero-title { font-size: var(--fs-2xl); }
  .section-title { font-size: var(--fs-2xl); }

  .trust-strip {
    gap: var(--sp-lg);
  }

  .trust-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .cert-intro { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .footer-bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }
  .section { padding: var(--sp-3xl) 0; }
}

/* ============================
   LANGUAGE SWITCHER
   ============================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--sp-md);
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--clr-border);
}

.lang-btn {
  font-family: var(--ff-primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 14px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  color: var(--clr-text-muted);
  transition: all var(--dur) var(--ease-out);
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-btn.active {
  background: var(--clr-white);
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--clr-text);
}

/* Mobile lang switcher */
.mobile-lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--clr-border);
  margin-top: var(--sp-lg);
}

.mobile-lang-switcher .lang-btn {
  font-size: var(--fs-sm);
  padding: 10px 24px;
}

/* ============================
   FLOATING CHAT FAB
   ============================ */
.chat-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-md);
}

.chat-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--clr-accent);
  color: var(--clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
  transition: all var(--dur) var(--ease-out);
  position: relative;
}

.chat-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(192, 57, 43, 0.45);
}

.chat-fab-btn .icon-close {
  display: none;
}

.chat-fab.open .chat-fab-btn .icon-chat {
  display: none;
}

.chat-fab.open .chat-fab-btn .icon-close {
  display: block;
}

.chat-fab.open .chat-fab-btn {
  background: var(--clr-text);
}

/* Chat options */
.chat-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.25s var(--ease-out);
  pointer-events: none;
}

.chat-fab.open .chat-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.chat-whatsapp {
  background: #25D366;
  color: white;
}

.chat-whatsapp:hover {
  background: #1da851;
  transform: translateX(-4px);
}

.chat-wechat {
  background: #07C160;
  color: white;
}

.chat-wechat:hover {
  background: #06a953;
  transform: translateX(-4px);
}

/* Pulse animation on FAB */
.chat-fab-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.2);
  animation: fabPulse 2.5s ease-in-out infinite;
}

.chat-fab.open .chat-fab-btn::before {
  animation: none;
  opacity: 0;
}

@keyframes fabPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ============================
   WECHAT MODAL
   ============================ */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
}

.wechat-modal.open {
  opacity: 1;
  visibility: visible;
}

.wechat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.wechat-modal-content {
  position: relative;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-3xl) var(--sp-2xl);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.3s var(--ease-out);
}

.wechat-modal.open .wechat-modal-content {
  transform: translateY(0) scale(1);
}

.wechat-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--clr-bg-alt);
  color: var(--clr-text-muted);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease-out);
}

.wechat-modal-close:hover {
  background: var(--clr-border);
  color: var(--clr-text);
}

.wechat-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: hsl(145, 93%, 96%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
}

.wechat-modal-content h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}

.wechat-modal-content > p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-xl);
}

.wechat-id-box {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--clr-bg-alt);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: var(--sp-lg);
}

.wechat-id-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.wechat-id-value {
  font-size: var(--fs-md);
  font-weight: 700;
  color: #07C160;
  flex: 1;
  letter-spacing: 0.03em;
}

.wechat-copy-btn {
  font-family: var(--ff-primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  color: var(--clr-text);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}

.wechat-copy-btn:hover {
  border-color: #07C160;
  color: #07C160;
}

.wechat-copy-btn.copied {
  background: #07C160;
  border-color: #07C160;
  color: white;
}

.wechat-hint {
  font-size: var(--fs-xs) !important;
  color: var(--clr-text-light) !important;
  margin-bottom: 0 !important;
}

/* Responsive FAB */
@media (max-width: 768px) {
  .chat-fab {
    bottom: 20px;
    right: 20px;
  }

  .chat-fab-btn {
    width: 52px;
    height: 52px;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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