/* ===== Design Tokens ===== */
:root {
  --navy-950: #0a1628;
  --navy-900: #0f2137;
  --navy-800: #162d4a;
  --navy-700: #1e3a5f;
  --navy-600: #2a5080;
  --teal-400: #5ec4c4;
  --teal-300: #7dd9d9;
  --teal-glow: rgba(94, 196, 196, 0.35);
  --gold-400: #d4a853;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e8eef4;
  --border: rgba(15, 33, 55, 0.08);
  --border-strong: rgba(15, 33, 55, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.14);
  --shadow-glow: 0 0 40px var(--teal-glow);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Ambient Background ===== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-400) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: drift 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: 20%; left: -100px;
  animation: drift 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-400) 0%, transparent 70%);
  top: 50%; right: 30%;
  opacity: 0.25;
  animation: drift 18s ease-in-out infinite 5s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-glow {
  background: linear-gradient(135deg, var(--teal-400) 0%, #3aafaf 100%);
  color: var(--navy-950);
  box-shadow: 0 4px 20px var(--teal-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}
.btn-full { width: 100%; }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.header.scrolled::before {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header.hero-mode::before {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(20px);
}
.header.hero-mode .nav-logo,
.header.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
.header.hero-mode .nav-links a:hover,
.header.hero-mode .nav-links a.active { color: #fff; }
.header.hero-mode .nav-links a::after { background: var(--teal-400); }
.header.hero-mode .nav-toggle span { background: #fff; }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  margin-right: auto;
}
.logo-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.4);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 2px;
  background: var(--teal-400);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy-900); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  margin-left: 24px;
  padding: 9px 20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header.hero-mode .nav-cta {
  background: var(--teal-400);
  color: var(--navy-950);
}
.header.hero-mode .nav-cta:hover {
  background: var(--teal-300);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: 12px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 45%, #1a4a5a 100%);
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94,196,196,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,196,196,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(94,196,196,0.12);
  border: 1px solid rgba(94,196,196,0.25);
  border-radius: 50px;
  color: var(--teal-300);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.tag-dot {
  width: 8px; height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--teal-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-400) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.trust-item.trust-highlight strong {
  font-size: 15px;
  color: var(--teal-300);
}
.trust-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin-right: 1px;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  margin: 0 20px;
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  height: 520px;
  margin: 0 auto;
}
.hero-visual-ring {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(94,196,196,0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.hero-visual-ring.ring-2 {
  width: 420px; height: 420px;
  border-style: dashed;
  border-color: rgba(94,196,196,0.1);
  animation: spin 45s linear infinite reverse;
}
.hero-visual-ring.ring-3 {
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.04);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateZ(0);
}
.chip-orbit .float-chip {
  --angle: calc(var(--i) * 30deg);
  --radius: 228px;
  --float-dur: calc(5s + (var(--i) % 5) * 0.6s);
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
  transform:
    translate3d(-50%, -50%, 0)
    rotate(var(--angle))
    translate3d(0, calc(-1 * var(--radius)), 0)
    rotate(calc(-1 * var(--angle)));
}
.float-chip-inner {
  display: inline-block;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
  animation: chipFloat var(--float-dur) cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: calc(var(--i) * -0.55s);
}
@keyframes chipFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

.float-chip.chip-teal .float-chip-inner {
  background: rgba(94,196,196,0.15);
  border-color: rgba(94,196,196,0.3);
  color: var(--teal-300);
}
.float-chip.chip-gold .float-chip-inner {
  background: rgba(212,168,83,0.15);
  border-color: rgba(212,168,83,0.3);
  color: #f0d090;
}

.hero-avatar-wrap {
  position: relative;
  z-index: 2;
  width: 240px; height: 240px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.4);
  border: 3px solid rgba(94,196,196,0.4);
  will-change: transform;
  animation: avatarFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
}
@keyframes avatarFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .float-chip-inner,
  .hero-avatar-wrap,
  .hero-visual-ring {
    animation: none !important;
  }
}

/* 移动端标签条 */
.hero-tags-mobile {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-tags-mobile span {
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 2px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(94,196,196,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Sections ===== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-dark {
  background: var(--navy-900);
  color: #fff;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.5); }
.section-dark .section-label { color: var(--teal-400); border-color: rgba(94,196,196,0.25); }

/* ===== Why Me ===== */
.section-why-me {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}
.section-why-me .section-header h2 { color: #fff; }
.section-why-me .section-header p { color: rgba(255,255,255,0.55); }
.section-why-me .section-label {
  color: var(--teal-400);
  border-color: rgba(94,196,196,0.25);
}

.why-me-top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 48px;
}

.why-me-profile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.45);
  box-shadow: 0 0 24px rgba(94,196,196,0.2);
  flex-shrink: 0;
}
.profile-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.profile-role {
  font-size: 13px;
  color: var(--teal-300);
  font-weight: 500;
}
.profile-bio {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 24px;
  flex: 1;
}
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.stat-item {
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-item strong small {
  font-size: 14px;
  font-weight: 700;
}
.stat-item span {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.stat-highlight {
  background: rgba(94,196,196,0.1);
  border-color: rgba(94,196,196,0.25);
}
.stat-highlight strong {
  background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 26px;
}
.profile-xianyu {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgba(94,196,196,0.12);
  border: 1px solid rgba(94,196,196,0.25);
  border-radius: var(--radius-sm);
  color: var(--teal-300);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.profile-xianyu:hover {
  background: rgba(94,196,196,0.2);
  transform: translateY(-1px);
}

.why-me-reviews {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.reviews-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.reviews-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.reviews-badge {
  flex-shrink: 0;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b35, #ff4757);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,71,87,0.35);
  letter-spacing: 0.5px;
}
.reviews-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(94,196,196,0.3) transparent;
}
.reviews-track::-webkit-scrollbar { height: 4px; }
.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(94,196,196,0.35);
  border-radius: 2px;
}
.review-shot {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  line-height: 0;
}
.review-shot:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.review-shot img {
  width: 200px;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
}
.reviews-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 8px;
}

.why-me-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.point-card {
  padding: 24px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease);
}
.point-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(94,196,196,0.2);
  transform: translateY(-3px);
}
.point-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(94,196,196,0.12);
  border-radius: 10px;
  margin-bottom: 14px;
}
.point-icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal-300);
}
.point-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.point-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: min(90vw, 420px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-close {
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 32px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--navy-600));
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.service-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--navy-700);
}
.service-icon-wrap.accent {
  background: linear-gradient(135deg, rgba(94,196,196,0.15), rgba(94,196,196,0.05));
}
.service-icon-wrap.accent svg { stroke: #2a9d9d; }
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
}
.service-card:hover .service-icon-wrap svg { stroke: var(--navy-950); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ===== Projects ===== */
.section-projects {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 24px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(94,196,196,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(94,196,196,0.3);
}
.project-card:hover::after { opacity: 1; }
.project-featured {
  border-color: rgba(94,196,196,0.25);
  background: linear-gradient(160deg, rgba(94,196,196,0.06) 0%, var(--surface) 50%);
}
.project-featured::before {
  content: "热门";
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
}
.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-600);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.project-featured .project-badge {
  background: rgba(94,196,196,0.12);
  color: #2a9d9d;
}
.project-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.project-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.project-tags li {
  padding: 3px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.projects-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
}
.projects-note a {
  color: var(--teal-400);
  font-weight: 600;
  filter: brightness(0.85);
}
.projects-note a:hover { text-decoration: underline; }

/* ===== Contact ===== */
.section-contact {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
  padding-bottom: 100px;
  color: #fff;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(94,196,196,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-intro {
  text-align: center;
  margin-bottom: 48px;
}
.contact-intro .section-label {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.contact-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-intro p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}
.contact-intro .section-label {
  border-color: rgba(94,196,196,0.25);
}

.contact-channels {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: #fff;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94,196,196,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,196,196,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.channel-card:hover::before { opacity: 1; }
.channel-main {
  background: linear-gradient(135deg, var(--navy-800) 0%, #1a4a5a 100%);
  border-color: rgba(94,196,196,0.25);
}
.channel-main:hover {
  box-shadow: 0 16px 48px rgba(94,196,196,0.15);
}
.channel-wechat {
  background: linear-gradient(135deg, rgba(7,193,96,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(7,193,96,0.25);
  padding: 20px 22px;
}
.channel-wechat:hover {
  border-color: rgba(7,193,96,0.4);
  box-shadow: 0 12px 40px rgba(7,193,96,0.12);
}
.channel-badge-wechat {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #fff;
  box-shadow: 0 4px 16px rgba(7,193,96,0.35);
}
.channel-icon-wechat {
  background: rgba(7,193,96,0.15) !important;
}
.channel-icon-wechat svg {
  width: 24px; height: 24px;
  fill: #07c160;
  stroke: none;
}
.wechat-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.wechat-info {
  flex: 1;
  min-width: 0;
}
.wechat-qr-btn {
  flex-shrink: 0;
  border: none;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  line-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wechat-qr-btn img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.wechat-qr-btn span {
  font-size: 10px;
  color: rgba(0,0,0,0.45);
  line-height: 1;
}
.wechat-qr-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.lightbox-img.lightbox-qr {
  max-width: min(88vw, 320px);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}
.channel-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 800;
  border-radius: 50px;
}
.channel-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
}
.channel-icon svg {
  width: 24px; height: 24px;
  stroke: var(--teal-300);
}
.channel-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
}
.channel-id {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 6px;
  position: relative;
}
.channel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  flex: 1;
  position: relative;
}
.channel-go {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-300);
  position: relative;
}
.channel-copy {
  align-self: flex-start;
  margin-top: 14px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
  position: relative;
}
.channel-copy:hover {
  background: rgba(94,196,196,0.15);
  border-color: rgba(94,196,196,0.3);
  color: var(--teal-300);
}

.contact-compose {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  backdrop-filter: blur(8px);
}
.compose-header {
  margin-bottom: 28px;
}
.compose-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.compose-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}
.compose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group-full {
  grid-column: 1 / -1;
}
.contact-compose .form-group {
  margin-bottom: 0;
}
.contact-compose .form-group label {
  color: rgba(255,255,255,0.75);
}
.contact-compose .form-group input,
.contact-compose .form-group textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.contact-compose .form-group input:focus,
.contact-compose .form-group textarea:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.contact-compose .form-group input::placeholder,
.contact-compose .form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.compose-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.compose-actions .btn {
  flex: 1;
  min-width: 180px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.25s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
  background: var(--navy-950);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.3);
}
.footer-brand strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-meta {
  text-align: right;
}
.footer-meta p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-meta a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-meta a:hover {
  color: rgba(255,255,255,0.6);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy-900);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 9999;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: 0.15s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { width: 460px; height: 460px; }
  .chip-orbit .float-chip { --radius: 200px; }
  .float-chip-inner { font-size: 10px; padding: 6px 12px; }
  .hero-avatar-wrap { width: 200px; height: 200px; }
  .hero-scroll { display: none; }
  .why-me-top { grid-template-columns: 1fr; }
  .why-me-points { grid-template-columns: repeat(2, 1fr); }
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .channel-main { grid-column: 1 / -1; }
  .channel-wechat { grid-column: 1 / -1; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    padding: 16px 28px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
  }
  .header.hero-mode .nav-links.open {
    background: rgba(10,22,40,0.97);
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open a { display: block; padding: 14px 0; }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .trust-divider { display: none; }
  .chip-orbit { display: none; }
  .hero-visual { width: auto; height: auto; }
  .hero-visual-ring { display: none; }
  .hero-avatar-wrap { width: 160px; height: 160px; margin: 0 auto; }
  .hero-tags-mobile { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-me-points { grid-template-columns: 1fr; }
  .review-shot { flex: 0 0 160px; }
  .review-shot img { width: 160px; }
  .wechat-inner { flex-direction: column; text-align: center; }
  .wechat-qr-btn img { width: 140px; height: 140px; }
  .compose-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .compose-actions { flex-direction: column; }
  .compose-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .section { padding: 80px 0; }
}
