/* ========================================
   福州同好会联盟 - 全局样式
   ======================================== */

:root {
  --primary: #3b82f6;
  --secondary: #60a5fa;
  --accent: #0ea5e9;
  --success: #22c55e;
  --bg-dark: #ffffff;
  --bg-card: #f0f7ff;
  --text-light: #1e3a5f;
  --text-muted: #5a7fa8;
  --border: rgba(59, 130, 246, 0.15);
  --glow: 0 0 20px rgba(59, 130, 246, 0.15);
  --transition: all 0.3s ease;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(59, 130, 246, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid var(--border);
  }

  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(160deg, #ffffff 0%, #e8f4ff 50%, #dbeafe 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.club-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

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

.club-logo-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.club-logo span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(59, 130, 246, 0.4);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.06);
  color: var(--primary);
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline-section {
  background: #f0f7ff;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  padding: 2rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  padding-right: 4rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 4rem;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  top: 2.5rem;
  box-shadow: var(--glow);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ========================================
   Clubs Section
   ======================================== */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.club-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.club-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.club-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8f4ff;
}

.club-card-content {
  padding: 2rem;
}

.club-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.club-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.club-card h3 {
  font-size: 1.25rem;
  color: var(--text-light);
}

.club-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.club-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.club-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
  background: #f0f7ff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  background: #e8f4ff;
  border: 3px solid rgba(59, 130, 246, 0.2);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.team-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-clubs {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.team-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-contact a {
  width: 36px;
  height: 36px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.team-contact a:hover {
  background: var(--primary);
  color: white;
}

/* ========================================
   Join Section
   ======================================== */
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.join-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.join-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

.join-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.join-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.join-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.join-qr {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #999;
  border: 1px solid var(--border);
}

.join-number {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.join-number strong {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #f0f7ff;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand span {
  font-weight: 600;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    padding-left: 3rem !important;
    padding-right: 0 !important;
    width: 100%;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .timeline-dot {
    left: -8px !important;
    right: auto !important;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========================================
   Card (通用卡片)
   ======================================== */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.card:hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   Hero 子页面（关于/服务/联系）
   ======================================== */
.about-hero,
.services-hero,
.contact-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  text-align: center;
  background: linear-gradient(160deg, #e8f4ff 0%, #dbeafe 100%);
  border-bottom: 1px solid var(--border);
}

.about-hero h1,
.services-hero h1,
.contact-hero h1 {
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.about-hero p,
.services-hero p,
.contact-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Story Grid（关于页）
   ======================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.story-content h2 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  padding: 1rem;
  background: #f0f7ff;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
}

.value-item h4 {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ========================================
   Services Grid（产品服务页）
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   Process Grid（定制流程）
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.process-step h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ========================================
   Pricing（定价套餐）
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 100%);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ========================================
   Contact（联系页）
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f0f7ff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.08);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #f8fbff;
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9bbcd4;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-message {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* ========================================
   Footer（about/services/contact 扩展版）
   ======================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  background: #e8f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.footer-col h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .services-grid,
  .process-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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