/* ============================================
   多扬互联网医院 - 官网样式表
   Design: Modern Healthcare Premium
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0A7BF5;
  --primary-dark: #0652B5;
  --primary-light: #E8F2FF;
  --secondary: #10B981;
  --secondary-dark: #059669;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;

  --bg-white: #FFFFFF;
  --bg-light: #F8FAFD;
  --bg-muted: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-section-alt: #F0F7FF;

  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --text-white: #FFFFFF;

  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 30px rgba(10, 123, 245, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 72px;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-dark .section-badge {
  background: rgba(10, 123, 245, 0.15);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark .section-desc {
  color: var(--text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(10, 123, 245, 0.35);
}

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

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

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

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.btn-hero-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-white);
  z-index: 1001;
}

.navbar.scrolled .nav-brand {
  color: var(--text-primary);
}

.nav-brand img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  margin-left: 12px;
}

.navbar:not(.scrolled) .nav-cta.btn-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.navbar:not(.scrolled) .nav-cta.btn-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A1628 0%, #0F2A4A 40%, #0A3D6B 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(10, 123, 245, 0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

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

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

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

.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-stat-num span {
  color: var(--primary);
  font-size: 24px;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* Page Hero (for inner pages) */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0A1628 0%, #0F2A4A 50%, #0A3D6B 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.breadcrumb .separator {
  font-size: 12px;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- About Preview --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
}

.about-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  opacity: 0.6;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.08));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-list {
  margin: 28px 0 36px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.about-list li .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

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

.stat-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.8;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 123, 245, 0.05), transparent);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info .title {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.news-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.news-thumb.blue { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.news-thumb.green { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.news-thumb.amber { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.news-thumb.purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.news-thumb.rose { background: linear-gradient(135deg, #FFE4E6, #FECDD3); }
.news-thumb.teal { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }

.news-body {
  padding: 28px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.news-tag {
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.news-link:hover {
  gap: 10px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 2;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

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

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: var(--bg-white);
  transition: all var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-question .icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 36px;
  border-radius: 4px;
}

.footer-brand span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--text-white);
}

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

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* --- Detailed Service Page --- */
.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.service-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-detail-card ul {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-detail-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.service-detail-card ul li::before {
  content: '\2713';
  color: var(--secondary);
  font-weight: 700;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Map Placeholder --- */
.map-placeholder {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #DBEAFE, #E0F2FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.map-placeholder::after {
  content: '四川省成都市双流区';
  position: absolute;
  bottom: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.8);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    padding: 12px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid,
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

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

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

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 50px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card ul {
    grid-template-columns: 1fr;
  }
}

/* --- Article Detail --- */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-meta .tag {
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.article-meta .date {
  font-size: 14px;
  color: var(--text-muted);
}

.article-meta .author {
  font-size: 14px;
  color: var(--text-secondary);
}

.article-detail h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 32px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul {
  margin: 12px 0 18px 20px;
  list-style: disc;
}

.article-content ul li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.article-content .tip-box {
  padding: 20px 24px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin: 24px 0;
}

.article-content .tip-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.article-content .tip-box p {
  font-size: 14px;
  margin-bottom: 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  padding: 16px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  flex: 1;
}

.article-nav a:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.article-nav a .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.article-nav a .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .article-nav {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }

  .stat-num {
    font-size: 32px;
  }
}
