/* ========================================
   企洺星科技官网样式
   ======================================== */

/* CSS Variables */
:root {
  --primary-blue: #0066FF;
  --star-gold: #FFD700;
  --deep-space: #0A0E27;
  --neutral-gray: #64748B;
  --pure-white: #FFFFFF;
  --light-bg: #F8FAFC;
  --dark-text: #1E293B;
  --mid-gray: #94A3B8;
  --light-border: #E2E8F0;
  
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Section Padding */
.section-padding {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s var(--ease-expo-out);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--deep-space);
}

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

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s var(--ease-expo-out);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-link {
  color: var(--dark-text);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-blue), #00D4AA);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: all 0.3s var(--ease-expo-out);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 2rem;
  color: white;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
}

.navbar.scrolled .lang-switch {
  color: var(--dark-text);
  background: rgba(0, 0, 0, 0.05);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--dark-text);
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--deep-space) 0%, #1a1f3a 50%, var(--deep-space) 100%);
  overflow: hidden;
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(165deg, transparent 0%, transparent 45%, rgba(0, 102, 255, 0.05) 45%, rgba(0, 102, 255, 0.05) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
}

.hero-text {
  color: white;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-expo-out) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }

.title-dot {
  color: var(--star-gold);
  animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-expo-out) 0.7s forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-expo-out) 0.9s forwards;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-visual {
  display: none;
}

.tech-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 50%;
}

.orbit-1 { width: 60%; height: 60%; }
.orbit-2 { width: 80%; height: 80%; }
.orbit-3 { width: 100%; height: 100%; }

.orbit-item {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), #00D4AA);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  animation: orbit 20s linear infinite;
  animation-delay: var(--delay);
}

.orbit-1 .orbit-item { top: -1.5rem; left: calc(50% - 1.5rem); }
.orbit-2 .orbit-item { top: -1.5rem; left: calc(50% - 1.5rem); animation-duration: 25s; animation-direction: reverse; }
.orbit-3 .orbit-item { top: -1.5rem; left: calc(50% - 1.5rem); animation-duration: 30s; }

.center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
}

.hub-svg {
  width: 100%;
  height: 100%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-visual {
    display: block;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-gray);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* ========================================
   Services Section with Images
   ======================================== */
.services {
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-expo-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-expo-out);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color, var(--primary-blue)) 15%;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color, var(--primary-blue));
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-blue), #00D4AA, var(--primary-blue));
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
}

.stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.1'%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");
  opacity: 0.3;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .stat-number {
    font-size: 3rem;
  }
}

/* ========================================
   Process Section (Detailed)
   ======================================== */
.process {
  background: white;
}

.process-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .process-detailed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-detailed {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-phase {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-expo-out);
}

.process-phase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.phase-header {
  margin-bottom: 1rem;
}

.phase-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.phase-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
}

.phase-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.phase-step {
  font-size: 0.75rem;
  color: var(--neutral-gray);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* ========================================
   Cases Section with Categories
   ======================================== */
.cases {
  background: var(--light-bg);
}

.case-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.case-category {
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-gray);
  cursor: pointer;
  transition: all 0.3s;
}

.case-category:hover,
.case-category.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-expo-out);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-card.hidden {
  display: none;
}

.case-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-expo-out);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.case-content {
  padding: 1.5rem;
}

.case-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* ========================================
   Tech Stack Section
   ======================================== */
.tech-stack {
  background: white;
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.tech-item {
  padding: 0.75rem 1.5rem;
  background: var(--light-bg);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color, var(--primary-blue));
  transition: all 0.3s var(--ease-expo-out);
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-blue), #00D4AA, var(--primary-blue));
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cta-icon svg {
  width: 2rem;
  height: 2rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.cta-feature svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--light-bg);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-values {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s var(--ease-expo-out);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color, var(--primary-blue)) 15%;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color, var(--primary-blue));
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--neutral-gray);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.contact-form-wrapper {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-text);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.3s;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 0.75rem;
}

.info-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-blue);
}

.info-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
  font-size: 0.875rem;
  color: var(--neutral-gray);
}

.info-content a:hover {
  color: var(--primary-blue);
}

/* WeChat QR Code */
.wechat-card {
  background: var(--light-bg);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.wechat-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.wechat-qr {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
  padding: 0.5rem;
}

.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-card p {
  font-size: 0.75rem;
  color: var(--neutral-gray);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--deep-space);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-services li,
.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--star-gold);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--primary-blue);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--star-gold);
}

/* ========================================
   Modal
   ======================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: scaleIn 0.3s var(--ease-expo-out);
}

.modal-icon {
  width: 4rem;
  height: 4rem;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-icon svg {
  width: 2rem;
  height: 2rem;
  color: #16a34a;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.modal-text {
  font-size: 0.875rem;
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(var(--orbit-radius, 100px)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--orbit-radius, 100px)) rotate(-360deg);
  }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-expo-out), transform 0.6s var(--ease-expo-out);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}
ease-expo-out);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}
