/* ========================================
   Ningji Website - Main Stylesheet
   宁济官网 - 主样式表
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --dark-lighter: #1e293b;
  --dark-card: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 60px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-icon {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-light);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link .arrow {
  transition: var(--transition-fast);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--white);
}

.dropdown-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.dropdown-item-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.lang-switch span {
  font-size: 0.9rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-normal);
  transform-origin: center;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Announcement Banner (TaskUs Style)
   ======================================== */
.announcement-banner {
  background: linear-gradient(135deg, #e11d48 0%, #be185d 50%, #db2777 100%);
  padding: 12px 24px;
  text-align: center;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 999;
}

.announcement-banner a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.announcement-banner a:hover {
  opacity: 0.9;
}

.announcement-banner svg {
  transition: var(--transition-fast);
}

.announcement-banner a:hover svg {
  transform: translateX(4px);
}

/* ========================================
   Hero Section (Screen 1) - TaskUs Style
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  background: linear-gradient(180deg, #5555FF 0%, #4040DD 100%);
}

/* Hero Glow Effect */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, transparent 60%);
  animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Hero Layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title-large {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.gradient-text {
  color: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Hero Image - Seamless blend into background */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.hero-image-glow {
  display: none;
}

/* Hero Three Pillars */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-normal);
  text-align: center;
  backdrop-filter: blur(10px);
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ========================================
   Partners Section (Screen 2)
   ======================================== */
.partners {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.partners-title {
  font-size: 1.8rem;
  color: var(--light);
  font-weight: 600;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.partner-logo {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition-normal);
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.partner-logo svg {
  height: 28px;
  width: auto;
  color: var(--gray-light);
  transition: var(--transition-normal);
}

.partner-logo:hover svg {
  color: var(--white);
}

.partner-logo img {
  height: 100%;
  width: auto;
}

/* Partner Logo Text Fallback */
.partner-logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition-normal);
}

.partner-logo:hover .partner-logo-text {
  color: var(--white);
}

/* ========================================
   Services Section (Screen 3) - Bento Grid
   ======================================== */
.services {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.bento-desc {
  color: var(--gray-light);
  line-height: 1.7;
}

/* Large Card Variant */
.bento-card.large {
  grid-column: span 2;
}

/* ========================================
   Services Grid (Enhanced with Images)
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.15);
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.service-content {
  padding: 32px;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.service-content p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-stats {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-light);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-image {
    height: 200px;
  }
}


/* ========================================
   Culture Section (Screen 4)
   ======================================== */
.culture {
  padding: var(--section-padding);
  background: var(--dark-lighter);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.culture-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.culture-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
  border-radius: 24px;
}

.culture-content {
  padding: 20px 0;
}

.culture-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.culture-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.culture-desc {
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.culture-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.culture-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light);
}

.culture-feature-icon {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ========================================
   Process Section (Screen 5)
   ======================================== */
.process {
  padding: var(--section-padding);
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 60px;
}

.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* Arrow between steps */
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 30px;
  color: var(--primary-light);
  font-size: 1.5rem;
}

/* ========================================
   CTA Section (Screen 6)
   ======================================== */
.cta {
  padding: 120px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta::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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-email {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.cta-email a {
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
}

.cta-email a:hover {
  border-color: var(--white);
}

.btn-cta {
  background: var(--white);
  color: var(--primary-dark);
  padding: 18px 48px;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  grid-column: 1 / -1;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Footer Address & QR Styles */
.footer-col-address {
  max-width: 320px;
}

.footer-address {
  margin-bottom: 12px;
}

.address-label {
  font-weight: 600;
  color: var(--white);
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.address-text {
  font-size: 0.7rem;
  color: var(--gray);
  line-height: 1.4;
}

.footer-email {
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: 12px;
}

.footer-col-contact {
  text-align: center;
}

.footer-email {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 16px;
}

.footer-qr {
  display: inline-block;
}

.qr-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.qr-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 8px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.large {
    grid-column: span 1;
  }

  .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .announcement-banner {
    top: 70px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .announcement-banner a {
    font-size: 0.85rem;
    gap: 8px;
  }

  .hero {
    padding-top: 120px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-toggle {
    display: flex;
  }

  .dropdown {
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    border: none;
    padding: 10px 0 0 20px;
  }

  .nav-item.active .dropdown {
    display: block;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step::after {
    display: none;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {

  /* Hero 优化 */
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-title-large {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-image img {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  /* 按钮触控友好 - 48px 最小高度 */
  .btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .btn-lg {
    padding: 16px 28px;
  }

  /* 导航优化 */
  .nav {
    height: 60px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .announcement-banner {
    top: 60px;
    padding: 8px 12px;
  }

  .announcement-banner a {
    font-size: 0.75rem;
  }

  /* 服务卡片优化 */
  .service-image {
    height: 160px;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }

  .service-stats {
    flex-direction: column;
    gap: 16px;
  }

  /* Value 卡片优化 */
  .value-card {
    padding: 24px 20px;
  }

  .value-card h3 {
    font-size: 1.25rem;
  }

  .value-card .value-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  /* Section 标题优化 */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .value-title {
    font-size: 1.6rem;
  }

  /* Footer 优化 */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-brand {
    text-align: center;
    max-width: 100%;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-col-address {
    max-width: 100%;
    text-align: center;
  }

  .address-text {
    font-size: 0.65rem;
  }

  /* CTA 优化 */
  .cta {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-email {
    font-size: 1rem;
    word-break: break-all;
  }

  /* Location snapshot */
  .snapshot-title {
    font-size: 2rem;
    text-align: center;
  }

  .snapshot-desc {
    text-align: center;
    max-width: 100%;
  }

  .snapshot-content {
    text-align: center;
  }

  .snapshot-content .btn {
    width: 100%;
  }

  /* Partner logos */
  .partners-grid {
    gap: 24px;
  }

  .partner-logo {
    height: 24px;
    padding: 12px 16px;
  }
}

/* ========================================
   Value Section (TaskUs Style - Card Layout)
   ======================================== */
.value-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.value-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.value-header {
  text-align: center;
  margin-bottom: 80px;
}

.value-intro {
  font-size: 1rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.value-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
}

.value-card:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.value-card .value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.value-card .value-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.value-card p {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  flex-grow: 1;
}

.value-separator {
  width: 100%;
  max-width: 800px;
  height: 1px;
  margin: 80px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 50%, transparent 100%);
}


/* ========================================
   Location Snapshot Section (TaskUs Style)
   ======================================== */
.location-snapshot {
  padding: var(--section-padding);
  background: #0a0f2c;
  position: relative;
  overflow: hidden;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.snapshot-content {
  position: relative;
  z-index: 1;
}

.snapshot-tag {
  display: none;
}

.snapshot-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.snapshot-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}

.snapshot-visual {
  position: relative;
}

.global-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.location-dots {
  position: absolute;
  inset: 0;
}

.location-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.dot-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.dot-pulse::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(236, 72, 153, 0.4);
  border-radius: 50%;
  animation: dotRing 2s ease-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes dotRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.dot-label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--gray-light);
  opacity: 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

.location-dot:hover .dot-label {
  opacity: 1;
  color: var(--white);
}

/* Global Map Image */
.global-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  filter: brightness(1.1) saturate(1.2);
  animation: mapFloat 6s ease-in-out infinite;
}

@keyframes mapFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Location Badges */
.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.location-badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.location-badge:hover {
  background: rgba(139, 92, 246, 0.25);
  color: var(--white);
  border-color: rgba(139, 92, 246, 0.5);
}

/* ========================================
   Fishbone Process Section
   ======================================== */
.fishbone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 0 80px;
  max-width: 900px;
  margin: 0 auto;
  min-height: 400px;
}

.fishbone-spine {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 100px;
  height: 4px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.3) 0%, var(--primary) 100%);
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: 1;
}

.fishbone-spine::before {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left: 12px solid var(--primary);
}

.fishbone-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  z-index: 2;
}

.fishbone-item.fishbone-top {
  align-self: flex-start;
  margin-top: -20px;
}

.fishbone-item.fishbone-bottom {
  align-self: flex-end;
  margin-bottom: -20px;
}

.fishbone-content {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.fishbone-content:hover {
  border-color: rgba(236, 72, 153, 0.5);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.fishbone-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.fishbone-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.fishbone-content p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.fishbone-bone {
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.5) 0%, transparent 100%);
}

.fishbone-top .fishbone-bone {
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.5) 100%);
}

.fishbone-head {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.fishbone-head svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

/* Responsive for new sections */
@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .snapshot-visual {
    height: 300px;
  }

  .snapshot-title {
    font-size: 2.5rem;
  }

  .location-badges {
    justify-content: center;
  }

  /* Fishbone Mobile */
  .fishbone {
    flex-direction: column;
    padding: 40px 0;
  }

  .fishbone-spine {
    width: 4px;
    height: calc(100% - 80px);
    left: 50%;
    right: auto;
    top: 0;
    bottom: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.3) 0%, var(--primary) 100%);
  }

  .fishbone-spine::before {
    top: auto;
    bottom: -20px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top: 16px solid var(--primary);
    border-left: 10px solid transparent;
  }

  .fishbone-item {
    position: relative;
    width: 100%;
    left: 0 !important;
    margin-bottom: 40px;
  }

  .fishbone-item.fishbone-top,
  .fishbone-item.fishbone-bottom {
    top: auto;
    bottom: auto;
    margin-top: 0;
    margin-bottom: 40px;
    align-self: center;
  }

  .fishbone-bone {
    display: none;
  }

  .fishbone-head {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 20px;
  }
}