/* UCAHP Website Styles */
:root {
  --purple-900: #2D0F47;
  --purple-800: #3D155E;
  --purple-700: #4A1A6B;
  --purple-600: #5E2388;
  --purple-500: #7B2CBF;
  --purple-400: #9D4EDD;
  --purple-200: #D8B4E8;
  --purple-100: #F0E6F7;
  --purple-50: #F8F4FB;
  --red-600: #B01E3C;
  --red-500: #C41E3A;
  --red-400: #E63946;
  --gold-500: #C9A227;
  --gold-400: #D4AF37;
  --gray-900: #1A1A2E;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(45,15,71,0.10);
  --shadow-lg: 0 12px 32px rgba(45,15,71,0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans TC", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-500); }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .zh { font-size: 17px; font-weight: 700; color: var(--purple-800); letter-spacing: 1px; }
.logo-text .en { font-size: 10px; color: var(--gray-500); font-family: Georgia, serif; font-style: italic; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--gray-700); border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--purple-700); background: var(--purple-50); }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  margin-left: 12px; padding: 4px;
  background: var(--gray-100); border-radius: 20px;
}
.lang-switch a {
  padding: 4px 12px; font-size: 12px; font-weight: 600;
  color: var(--gray-500); border-radius: 20px;
}
.lang-switch a.active { background: var(--purple-700); color: var(--white); }
.lang-switch a:hover:not(.active) { color: var(--purple-700); background: transparent; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 600px;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 50%, var(--purple-600) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../picture/hero-bridge.jpg');
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,15,71,0.88) 0%, rgba(74,26,107,0.75) 60%, rgba(176,30,60,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold-400); font-size: 13px; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 1px;
}
.hero h1 {
  font-size: 44px; font-weight: 800; color: var(--white);
  line-height: 1.25; margin-bottom: 20px; letter-spacing: 1px;
}
.hero h1 .accent { color: var(--gold-400); }
.hero p.lead {
  font-size: 18px; color: rgba(255,255,255,0.88);
  line-height: 1.8; margin-bottom: 36px; max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all .25s;
  text-decoration: none;
}
.btn-primary { background: var(--red-500); color: var(--white); border-color: var(--red-500); }
.btn-primary:hover { background: var(--red-600); border-color: var(--red-600); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,30,58,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-purple { background: var(--purple-700); color: var(--white); border-color: var(--purple-700); }
.btn-purple:hover { background: var(--purple-800); color: var(--white); }

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--white); padding: 0; position: relative; z-index: 10;
  box-shadow: var(--shadow-md); margin-top: -40px; border-radius: var(--radius-lg);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width); margin: 0 auto;
}
.stat-item {
  text-align: center; padding: 32px 20px;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 38px; font-weight: 800; color: var(--purple-700);
  line-height: 1; margin-bottom: 8px;
}
.stat-num .unit { font-size: 20px; font-weight: 600; }
.stat-label { font-size: 14px; color: var(--gray-500); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--purple-50); }
.section-dark { background: var(--purple-900); color: var(--white); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--red-500); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 34px; font-weight: 800; color: var(--gray-900);
  line-height: 1.3; margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-desc { font-size: 16px; color: var(--gray-500); line-height: 1.8; }
.section-dark .section-desc { color: rgba(255,255,255,0.7); }

/* ===== Cards grid ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--gray-200);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 28px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--purple-100); color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray-600); line-height: 1.7; }

/* Feature with image */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse .feature-img { order: 2; }
.feature-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.feature-img { position: relative; }
.feature-img::after {
  content: ''; position: absolute; inset: -12px -12px -12px auto;
  width: 60%; border: 3px solid var(--gold-400);
  border-radius: var(--radius-lg); z-index: -1;
}
.feature-row.reverse .feature-img::after { inset: -12px auto -12px -12px; }
.feature-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 20px; color: var(--gray-900); line-height: 1.3; }
.feature-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
  padding: 10px 0 10px 32px; position: relative;
  color: var(--gray-700); font-size: 15px;
}
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-100); color: var(--purple-700);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Highlight banner (AI CONNECT) ===== */
.highlight-banner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.highlight-banner-img img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.highlight-banner-content {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: var(--white); padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.highlight-banner-content .eyebrow {
  color: var(--gold-400); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.highlight-banner-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.highlight-banner-content p { color: rgba(255,255,255,0.85); margin-bottom: 24px; line-height: 1.8; font-size: 15px; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
  position: relative; box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 8px; right: 24px;
  font-size: 72px; color: var(--purple-100); font-family: Georgia, serif; line-height: 1;
}
.testimonial-card .quote {
  font-size: 15px; color: var(--gray-700); line-height: 1.9;
  margin-bottom: 24px; font-style: italic; position: relative; z-index: 1;
}
.testimonial-card .author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testimonial-card .author-info .name { font-weight: 700; font-size: 15px; color: var(--gray-900); }
.testimonial-card .author-info .role { font-size: 13px; color: var(--gray-500); }

/* ===== Industry tags ===== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  transition: all .2s;
}
.industry-item:hover {
  border-color: var(--purple-400); background: var(--purple-50);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.industry-item .icon { font-size: 24px; }

/* ===== Mission cards ===== */
.mission-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; border-top: 4px solid var(--purple-700);
  box-shadow: var(--shadow-sm);
}
.mission-card .num {
  font-size: 40px; font-weight: 800; color: var(--purple-100);
  line-height: 1; margin-bottom: 16px;
}
.mission-card h3 { font-size: 20px; color: var(--purple-800); margin-bottom: 12px; }
.mission-card p { font-size: 14.5px; color: var(--gray-600); line-height: 1.8; }

/* ===== Leader cards ===== */
.leader-card { text-align: center; padding: 36px 28px; }
.leader-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
}
.leader-card h3 { font-size: 22px; color: var(--gray-900); margin-bottom: 4px; }
.leader-card .role { font-size: 14px; color: var(--red-500); font-weight: 600; margin-bottom: 14px; }
.leader-card p { font-size: 14px; color: var(--gray-600); line-height: 1.8; }

/* ===== Support services ===== */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-item {
  display: flex; gap: 16px; padding: 24px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); transition: all .2s;
}
.support-item:hover { border-color: var(--purple-400); box-shadow: var(--shadow-md); }
.support-item .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--purple-100); color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.support-item h3 { font-size: 17px; margin-bottom: 6px; }
.support-item p { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }

/* ===== Partner grid ===== */
.partner-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.partner-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 18px 12px;
  text-align: center; font-size: 14px; font-weight: 600;
  color: var(--purple-800); transition: all .2s;
}
.partner-item:hover {
  border-color: var(--gold-400); background: var(--purple-50);
  transform: translateY(-2px);
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  text-align: center; padding: 36px 28px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); position: relative;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--purple-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin: 0 auto 18px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; color: var(--gray-900); }
.step p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ===== Category cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 16px;
  text-align: center; transition: all .2s;
}
.category-card:hover {
  border-color: var(--purple-400); transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.category-card .icon { font-size: 32px; margin-bottom: 12px; }
.category-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--gray-900); }
.category-card p { font-size: 12.5px; color: var(--gray-500); line-height: 1.6; }

/* ===== Free membership banner ===== */
.free-banner {
  background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
  border: 2px solid var(--purple-200);
  border-radius: var(--radius-lg); padding: 44px;
  text-align: center; margin-bottom: 64px;
}
.free-banner .badge {
  display: inline-block; background: var(--purple-700); color: var(--white);
  padding: 7px 22px; border-radius: 20px; font-size: 13px;
  font-weight: 700; margin-bottom: 18px; letter-spacing: 1px;
}
.free-banner h2 { font-size: 28px; color: var(--purple-900); margin-bottom: 14px; }
.free-banner p { font-size: 16px; color: var(--gray-600); max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* ===== Newsletter ===== */
.newsletter-box {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  border-radius: var(--radius-lg); padding: 52px;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,58,0.2), transparent 70%);
}
.newsletter-box h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; position: relative; }
.newsletter-box p { color: rgba(255,255,255,0.85); margin-bottom: 28px; position: relative; }
.newsletter-form {
  display: flex; gap: 12px; max-width: 500px; margin: 0 auto;
  position: relative;
}
.newsletter-form input {
  flex: 1; padding: 14px 20px; border: none; border-radius: var(--radius);
  font-size: 15px; font-family: inherit; outline: none;
}
.newsletter-form button {
  padding: 14px 28px; background: var(--red-500); color: var(--white);
  border: none; border-radius: var(--radius); font-size: 15px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--red-600); }

/* ===== Speaker cards ===== */
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.speaker-card { text-align: center; padding: 32px 20px; }
.speaker-card .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.speaker-card h3 { font-size: 17px; margin-bottom: 6px; color: var(--gray-900); }
.speaker-card .role { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* News */
.news-card { display: flex; flex-direction: column; }
.news-card .card-img { height: 200px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--gray-400); }
.news-tag {
  padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
  background: var(--purple-100); color: var(--purple-700);
}
.news-card h3 { font-size: 17px; line-height: 1.5; }
.news-card h3 a { color: var(--gray-900); }
.news-card h3 a:hover { color: var(--red-500); }
.news-excerpt { font-size: 14px; color: var(--gray-500); margin-top: 8px; }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--purple-200);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--purple-700); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple-700);
}
.timeline-year { font-size: 15px; font-weight: 700; color: var(--red-500); margin-bottom: 4px; }
.timeline-item h4 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--gray-600); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  border-radius: var(--radius-lg); padding: 56px;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,58,0.2), transparent 70%);
}
.cta-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 16px; opacity: .85; margin-bottom: 28px; position: relative; }
.cta-banner .btn { position: relative; }

/* Page header (inner pages) */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--red-500), var(--gold-400));
}
.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 17px; opacity: .85; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 13px; opacity: .7; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }

/* News list page */
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-item {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); transition: box-shadow .3s;
}
.news-item:hover { box-shadow: var(--shadow-lg); }
.news-item img { width: 280px; height: 200px; object-fit: cover; }
.news-item-body { padding: 24px 28px 24px 0; }
.news-item-body h3 { font-size: 20px; margin-bottom: 10px; }
.news-item-body h3 a { color: var(--gray-900); }
.news-item-body h3 a:hover { color: var(--red-500); }
.news-item-body p { font-size: 14.5px; color: var(--gray-600); margin-bottom: 12px; }

/* Events */
.event-card { position: relative; }
.event-date {
  position: absolute; top: 16px; left: 16px;
  background: var(--red-500); color: var(--white);
  padding: 8px 14px; border-radius: var(--radius);
  text-align: center; font-weight: 700; line-height: 1.2;
}
.event-date .month { font-size: 11px; text-transform: uppercase; }
.event-date .day { font-size: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--purple-100); color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p { font-size: 14.5px; color: var(--gray-600); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--purple-500);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--purple-900); color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Success cases logos */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 20px; text-align: center;
  transition: all .3s;
}
.case-item:hover { border-color: var(--purple-400); box-shadow: var(--shadow-md); }
.case-item .name { font-size: 15px; font-weight: 700; color: var(--purple-800); margin-bottom: 4px; }
.case-item .desc { font-size: 12px; color: var(--gray-500); }

/* Team */
.team-card { text-align: center; }
.team-card .avatar {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto 16px; object-fit: cover;
  border: 4px solid var(--purple-100);
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--red-500); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13.5px; color: var(--gray-500); }

/* Footer registration links */
.footer-reg {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.footer-reg a {
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-reg a:hover { color: var(--gold-400); }
.footer-reg-sep {
  color: rgba(255,255,255,0.25);
  margin: 0 12px;
}



/* ===== China Map ===== */
.china-map-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.china-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.china-map-svg text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

/* ===== Inquery Page ===== */
.inquery-hero {
  position: relative;
  min-height: 560px;
  background: url('../picture/inquery-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.inquery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,41,99,0.88) 0%, rgba(55,48,128,0.82) 100%);
  display: flex;
  align-items: center;
  width: 100%;
}
.inquery-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}
.inquery-form-card h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 12px;
}
.inquery-form-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.inquery-field {
  position: relative;
  margin-bottom: 20px;
}
.inquery-field-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  opacity: 0.5;
  pointer-events: none;
}
.inquery-field input {
  width: 100%;
  padding: 18px 20px 18px 54px;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-md, 10px);
  background: rgba(255,255,255,0.95);
  color: var(--dark, #1a1a2e);
  outline: none;
  transition: box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.inquery-field input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}
.inquery-field input::placeholder {
  color: #999;
}
.inquery-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple, #4a3a8a) 0%, var(--purple-light, #6b5ca5) 100%);
  border: none;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}
.inquery-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,58,138,0.4);
}
.inquery-note {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 20px;
}
.inquery-result-section {
  padding: 40px 0;
}
.inquery-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.inquery-result-header h2 {
  font-size: 24px;
  color: var(--dark, #1a1a2e);
}
.inquery-newtab-link {
  color: var(--purple, #4a3a8a);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.inquery-newtab-link:hover {
  text-decoration: underline;
}
.inquery-iframe-wrap {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: #f5f5f5;
}
.inquery-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 768px) {
  .inquery-form-card { padding: 32px 20px; }
  .inquery-form-card h2 { font-size: 28px; }
  .inquery-hero { min-height: 480px; }
  .inquery-iframe-wrap { height: 70vh; min-height: 500px; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { width: 100%; height: 220px; }
  .news-item-body { padding: 0 20px 20px; }
  .highlight-banner { grid-template-columns: 1fr; }
  .highlight-banner-img img { min-height: 240px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .speaker-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px; gap: 4px;
    box-shadow: var(--shadow-md); border-bottom: 1px solid var(--gray-200); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .lang-switch { margin: 8px 16px 0; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .cta-banner { padding: 36px 24px; }
  .page-header h1 { font-size: 28px; }
  .logo-text .en { display: none; }
  .steps { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-banner-content { padding: 32px 24px; }
  .free-banner { padding: 32px 24px; }
  .newsletter-box { padding: 36px 24px; }
}

/* ===== News Article ===== */
.news-article { padding: 40px 0 60px; }
.back-link { display: inline-block; margin-bottom: 24px; color: #6f4bc4; text-decoration: none; font-weight: 600; font-size: 14px; transition: color .2s; }
.back-link:hover { color: #4a2d9e; }
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: 30px; line-height: 1.35; color: #1a0f3d; margin: 12px 0 0; font-weight: 800; }
.article-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; box-shadow: 0 4px 20px rgba(26,15,61,0.10); }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { font-size: 16px; line-height: 1.9; color: #3a3358; margin-bottom: 20px; }
.article-footer { max-width: 760px; margin: 36px auto 0; text-align: center; }
@media (max-width: 768px) {
  .article-header h1 { font-size: 22px; }
  .article-body p { font-size: 15px; }
}
