﻿/* ===================================================
   ACMSI å®˜ç¶²æ¨£å¼è¡¨ â€” styles.css
   Design System: Academic Futurism Ã— TCM Heritage
   =================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0A3D62;
  --primary-light: #1A5A8A;
  --primary-dark: #062540;
  --secondary: #F5F5F5;
  --secondary-dark: #EBEBEB;
  --accent: #D4AC0D;
  --accent-light: #E8C030;
  --accent-dark: #A88808;
  --dark: #1A1A2E;
  --darker: #0F0F1A;
  --text: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --border: rgba(10, 61, 98, 0.12);
  --shadow-sm: 0 2px 8px rgba(10, 61, 98, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 61, 98, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 61, 98, 0.16);
  --shadow-xl: 0 24px 64px rgba(10, 61, 98, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en-display: 'Cormorant Garamond', Georgia, serif;
  --font-en: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --container: 1200px;
  --section-pad: clamp(64px, 8vw, 120px);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-zh);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ===== SELECTION ===== */
::selection { background: var(--accent); color: var(--white); }

/* ===== FOCUS ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ===== SECTION BASE ===== */
.section {
  padding: var(--section-pad) 0;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
}

.section__eyebrow::before,
.section__eyebrow::after {
  content: 'â€”';
  margin: 0 8px;
  color: var(--border);
  opacity: 0.6;
}

.section__eyebrow--light {
  color: var(--accent-light);
}

.section__eyebrow--light::before,
.section__eyebrow--light::after {
  color: rgba(255,255,255,0.3);
}

.section__title {
  font-family: var(--font-zh);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-align: center;
}

.section__title--light {
  color: var(--white);
}

.section__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-zh);
}

.section__desc--light {
  color: rgba(255,255,255,0.75);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-zh);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,61,98,0.3);
}

.btn--gold {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  font-weight: 600;
}
.btn--gold:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,172,13,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.btn__icon { width: 18px; height: 18px; }
.btn__icon-right { width: 16px; height: 16px; margin-left: 4px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(10,61,98,0.1);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  transition: opacity var(--transition-fast);
  text-decoration: none;
}
.nav__logo:hover { opacity: 0.85; }

.nav__logo-img {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav--scrolled .nav__logo-cn,

.nav__logo-en-full {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav--scrolled .nav__logo-en-full {
  color: rgba(10,61,98,0.7);
}

.nav--scrolled .nav__logo-en {
  color: var(--primary);
}

.nav__logo-cn {
  font-family: var(--font-zh);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav__logo-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.nav__toggle {
  display: none;
  padding: 8px;
  color: var(--white);
  transition: color var(--transition-fast);
}

.nav--scrolled .nav__toggle { color: var(--primary); }
.nav__toggle-icon { width: 24px; height: 24px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all var(--transition-fast);
}

.nav--scrolled .nav__link { color: var(--text); }

.nav__link:hover,
.nav__link[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link[aria-expanded="true"] {
  background: var(--secondary);
  color: var(--primary);
}

.nav__sub-icon { width: 14px; height: 14px; opacity: 0.7; }

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.nav__item:hover .nav__sub,
.nav__link[aria-expanded="true"] + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav__sub a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text);
  transition: all var(--transition-fast);
}

.nav__sub a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.nav__link--cta {
  background: var(--accent);
  color: var(--dark) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
}

.nav__link--cta:hover {
  background: var(--accent-light) !important;
  color: var(--dark) !important;
  transform: translateY(-1px);
}

.nav__cta-icon { width: 16px; height: 16px; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100dvh;
  background: var(--dark);
  z-index: 2000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu--open { right: 0; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__title {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.mobile-menu__close {
  padding: 8px;
  color: rgba(255,255,255,0.7);
}
.mobile-menu__close svg { width: 24px; height: 24px; }

.mobile-menu__list {
  flex: 1;
  padding: 16px 0;
}

.mobile-menu__list a {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.mobile-menu__list a:hover {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--accent);
  color: var(--white);
}

.mobile-menu__cta {
  color: var(--accent) !important;
  font-weight: 600;
}

.mobile-menu__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__meridian {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__meridian-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: meridianDraw 3s ease-out forwards;
}

.hero__meridian-path--2 {
  animation-delay: 0.5s;
}

.hero__meridian-dot {
  animation: dotPulse 3s ease-in-out infinite;
}

.hero__meridian-dot:nth-child(odd) { animation-delay: 1s; }

@keyframes meridianDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; r: 3; }
  50% { opacity: 1; r: 6; }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,61,98,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,61,98,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px clamp(16px, 4vw, 48px) 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__eyebrow-text {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__title-cn {
  font-family: var(--font-zh);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-shadow: none;
}}

.hero__title-en {
  font-family: var(--font-en-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero__subtitle-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero__divider {
  color: var(--accent);
  font-size: 0.5rem;
}

.hero__subtitle {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero__desc {
  font-family: var(--font-zh);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: fadeInUp 0.8s ease-out 1.1s both;
}

.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 1.4s both;
}

.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

.hero__scroll-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== STATS ===== */
.stats {
  background: var(--primary);
  padding: clamp(32px, 5vw, 56px) 0;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.stats__item {
  text-align: center;
  padding: 20px;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stats__item:last-child { border-right: none; }

.stats__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.stats__sublabel {
  display: block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

/* ===== VALUES ===== */
.values { background: var(--white); }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,61,98,0.2);
}

.value-card:hover::before { transform: scaleX(1); }

.value-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10,61,98,0.08), rgba(212,172,13,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card__icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.value-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(10,61,98,0.06);
  line-height: 1;
}

.value-card__title {
  font-family: var(--font-zh);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.value-card__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.value-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

.value-card__desc-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.65;
  font-style: italic;
}

/* ===== AUTHORITY ===== */
.authority {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--white) 100%);
}

.authority__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.authority__intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.authority__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.authority__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.authority__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.authority__item-icon svg { width: 20px; height: 20px; }

.authority__item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.authority__item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.authority__badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.authority__badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.authority__badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.authority__badge-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin: 0 auto 10px;
}

.authority__badge span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.authority__badge small {
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ===== SERVICES ===== */
.services { background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  position: relative;
}

.service-card--featured::before {
  content: 'æŽ¨è';
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  z-index: 2;
  font-family: var(--font-zh);
}

.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img { transform: scale(1.05); }

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,61,98,0.6) 100%);
}

.service-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-zh);
}

.service-card__tag--ai {
  background: var(--accent);
  color: var(--dark);
}

.service-card__tag-icon { width: 12px; height: 12px; }

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.service-card__subtitle {
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-card__check { width: 16px; height: 16px; color: var(--accent); }

/* ===== TEAM ===== */
.team { background: var(--secondary); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card__photo {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,61,98,0.7) 100%);
}

.team-card__info {
  padding: 24px;
}

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.team-card__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 6px;
}

.team-card__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(10,61,98,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-family: var(--font-zh);
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-card__tags span {
  font-size: 0.72rem;
  color: var(--text-light);
  background: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-zh);
}

.team__cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.testimonials__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,172,13,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(10,61,98,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}

.testimonial:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,172,13,0.3);
  transform: translateY(-4px);
}

.testimonial--highlight {
  background: rgba(212,172,13,0.08);
  border-color: rgba(212,172,13,0.3);
}

.testimonial__quote-icon {
  margin-bottom:
.testimonial__quote-icon {
  margin-bottom: 20px;
}
.testimonial__quote-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.6;
}
.testimonial__text {
  font-family: var(--font-zh);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 10px;
}
.testimonial__text-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonial__author strong {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 2px;
}
.testimonial__author span {
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}
.testimonial__rating {
  display: flex;
  gap: 2px;
}
.testimonial__star {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--dark) 100%);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.cta-banner__text { flex: 1; }
.cta-banner__title {
  font-family: var(--font-zh);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 560px;
}
.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--secondary);
  padding: clamp(48px, 6vw, 80px) 0;
}
.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.newsletter__text { flex: 1; }
.newsletter__title {
  font-family: var(--font-zh);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.newsletter__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.newsletter__form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.newsletter__input-wrap {
  position: relative;
}
.newsletter__input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}
.newsletter__input {
  padding: 14px 14px 14px 42px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--secondary);
  width: 280px;
  transition: all var(--transition-fast);
}
.newsletter__input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.newsletter__input::placeholder { color: var(--text-light); }
.newsletter__btn { flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer__main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.footer__logo-cn {
  font-family: var(--font-zh);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.footer__logo-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer__tagline em { font-style: italic; }
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}
.footer__social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}
.footer__social-link svg { width: 16px; height: 16px; }
.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer__col-list { display: flex; flex-direction: column; gap: 10px; }
.footer__col-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.footer__col-list a:hover { color: var(--accent); }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__contact li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}
.footer__contact a { color: rgba(255,255,255,0.5); transition: color var(--transition-fast); }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copyright {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast__icon { width: 18px; height: 18px; color: var(--accent); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--delay, 0) * 120ms);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--delay, 0) * 120ms);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--delay, 0) * 120ms);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.12); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .authority__layout { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .newsletter__inner { flex-direction: column; }
  .newsletter__form { width: 100%; flex-wrap: wrap; }
  .newsletter__input { width: 100%; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero__title-cn { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .authority__badge-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { justify-content: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}