/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --blue: #1a56db;
  --blue-dark: #1e3a8a;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================
   LAYOUT
   ============================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--orange-dark); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

/* ============================
   HEADER
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-size: 1.7rem; font-weight: 900; color: var(--blue); letter-spacing: -0.5px; }
.logo span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 500; color: var(--gray-800); transition: color 0.2s; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--blue); }
.header-cta { display: flex; gap: 0.75rem; align-items: center; }
.header-cta .btn { padding: 0.55rem 1.25rem; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  background: var(--white);
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--gray-200);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:hover { color: var(--blue); background: var(--gray-50); }
.mobile-menu-cta {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 0;
}
.mobile-menu-cta .btn { flex: 1; font-size: 0.9rem; padding: 0.6rem 1rem; }

/* ============================
   HERO (homepage)
   ============================ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 5.5rem 0 5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { min-width: 160px; font-size: 1.05rem; padding: 0.85rem 2rem; }
.hero-badge {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.85;
}
.hero-badge-item { font-size: 0.875rem; display: flex; align-items: center; gap: 0.4rem; }

/* ============================
   PAGE HERO BANNER (inner pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* ============================
   SECTIONS
   ============================ */
section { padding: 4.5rem 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.bg-light { background: var(--gray-50); }

/* ============================
   BRAND AMBASSADORS
   ============================ */
.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 750px;
  margin: 0 auto;
}
.ambassador-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ambassador-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.13); }
.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 4px solid var(--blue);
}
.ambassador-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.25rem; }
.ambassador-card .chinese-name { font-size: 1rem; color: var(--text-light); margin-bottom: 0.25rem; }
.ambassador-card .role { color: var(--orange); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.ambassador-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.65; }

/* ============================
   TRUST STRIP
   ============================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.trust-item:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(26,86,219,0.1); }
.trust-item .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.trust-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.85rem; color: var(--text-light); }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.cta-banner p {
  opacity: 0.9;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================
   PROVIDERS GRID
   ============================ */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.provider-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-800);
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: default;
  padding: 0.75rem;
  overflow: hidden;
}
.provider-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.1); border-color: var(--blue); }
.provider-card img {
  max-width: 130px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.provider-card .provider-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-top: 6px;
  line-height: 1.2;
}
.provider-card .provider-icon { font-size: 1.6rem; margin-bottom: 4px; }
/* Cards with no logo — show styled text only */
.provider-card.text-card {
  background: var(--gray-50);
}
.provider-card.text-card:hover { background: var(--white); }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.stars { color: #f59e0b; font-size: 1.15rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.reviewer-location { font-size: 0.8rem; color: var(--text-light); margin-top: 1px; }

/* ============================
   FOOTER
   ============================ */
.footer { background: var(--gray-800); color: var(--white); padding: 2.5rem 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--white); }
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #94a3b8; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: #64748b; font-size: 0.825rem; }
.footer-disclaimer { color: #475569; font-size: 0.775rem; max-width: 620px; line-height: 1.55; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  section { padding: 3rem 0; }
  .hero-badge { gap: 1rem; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}
