/* ===== CSS Variables ===== */
:root {
  --primary: #0d9b9b;
  --primary-light: #12c4c4;
  --primary-dark: #087a7a;
  --accent: #0066cc;
  --dark: #0a1628;
  --dark-soft: #132238;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0a1628;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #0d9b9b 0%, #0066cc 100%);
  --gradient-dark: linear-gradient(135deg, #0a1628 0%, #132238 50%, #0d4a4a 100%);
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--gradient-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--primary-light); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}
.section-dark .section-desc { color: rgba(255,255,255,0.7); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(13, 155, 155, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 155, 155, 0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-ghost {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

/* 首屏透明导航栏：浅色文字，滚动后恢复深色 */
.header:not(.scrolled) .logo-name {
  color: #fff;
}
.header:not(.scrolled) .logo-sub {
  color: rgba(255, 255, 255, 0.65);
}
.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.header:not(.scrolled) .menu-toggle span {
  background: #fff;
}
.header:not(.scrolled) .nav.open .nav-link {
  color: var(--text);
}
.header:not(.scrolled) .nav.open .nav-link:hover,
.header:not(.scrolled) .nav.open .nav-link.active {
  color: var(--primary);
  background: rgba(13, 155, 155, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(13, 155, 155, 0.08);
}
.nav-cta {
  margin-left: 8px;
  padding: 10px 24px;
  font-size: 0.875rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(13, 155, 155, 0.3) 0%, transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
}
.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;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, #12c4c4, #4dd0e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-video-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-aura {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 155, 155, 0.28) 0%, rgba(0, 102, 204, 0.12) 45%, transparent 72%);
  filter: blur(8px);
  animation: heroAuraPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroAuraPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.hero-video-orbit {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(18, 196, 196, 0.22);
  box-shadow:
    0 0 40px rgba(13, 155, 155, 0.15),
    inset 0 0 60px rgba(13, 155, 155, 0.06);
  animation: heroOrbitSpin 24s linear infinite;
  pointer-events: none;
}
.hero-video-orbit::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
@keyframes heroOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-video-frame {
  position: relative;
  z-index: 1;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #0a1628;
  border: 2px solid rgba(18, 196, 196, 0.25);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(13, 155, 155, 0.18),
    inset 0 0 40px rgba(13, 155, 155, 0.08);
}
.hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translate(-50%, calc(-50% - 10px));
  display: block;
  background: #0a1628;
}
.hero-video-shine {
  position: absolute;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(18, 196, 196, 0.08) 54%,
    transparent 62%
  );
  pointer-events: none;
  animation: heroShinePulse 5s ease-in-out infinite;
}
@keyframes heroShinePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-aura,
  .hero-video-orbit,
  .hero-video-shine {
    animation: none;
  }
}
.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
}
.stat-item { text-align: center; color: #fff; }
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #12c4c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gradient);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 600;
}
.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}
.about-feature h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin: 0;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 4px solid var(--bg);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(13, 155, 155, 0.2);
}
.timeline-content {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 360px;
  border: 1px solid var(--border);
}
.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(13,155,155,0.1), rgba(0,102,204,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(13, 155, 155, 0.3);
}
.process-step h4 {
  font-size: 0.9375rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.advantage-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.advantage-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}
.advantage-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.advantage-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

/* ===== Cases ===== */
.cases-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cases-grid .case-card {
  display: flex;
  flex-direction: column;
}
.cases-grid .case-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cases-grid .case-link {
  margin-top: auto;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.case-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card-image--logo {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
}
.case-card-image--logo img {
  width: auto;
  height: auto;
  max-width: 75%;
  max-height: 140px;
  object-fit: contain;
}
.case-card:hover .case-card-image img {
  transform: scale(1.05);
}
.case-card:hover .case-card-image--logo img {
  transform: scale(1.03);
}
.case-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}
.case-card-body { padding: 24px; }
.case-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.case-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-metrics {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-metric {
  flex: 1;
  text-align: center;
}
.case-metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}
.case-metric-label {
  font-size: 0.75rem;
  color: var(--text-light);
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
}
.case-link:hover { gap: 10px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Partners ===== */
.partners-marquee {
  display: flex;
  gap: 40px;
  overflow: hidden;
  padding: 20px 0;
}
.partners-track {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-item {
  flex-shrink: 0;
  padding: 16px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info { }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 1.0625rem;
  font-weight: 500;
}
.contact-item a:hover { color: var(--primary); }

.qrcode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.qrcode-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qrcode-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qrcode-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.qrcode-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
}
.footer-bottom a:hover { color: var(--primary-light); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-legal span {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}
.legal-content ul {
  margin: 0 0 16px 1.25em;
  color: var(--text-muted);
}
.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  list-style: disc;
}
.legal-content strong {
  color: var(--text);
}

/* ===== Case Detail Page ===== */
.page-hero {
  background: var(--gradient-dark);
  color: #fff;
  padding: calc(var(--header-h) + 80px) 0 80px;
  text-align: center;
}
.page-hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto;
}

.case-detail-content {
  max-width: 900px;
  margin: 0 auto;
}
.case-section {
  margin-bottom: 48px;
}
.case-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}
.case-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.case-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.case-highlight {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.case-highlight h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.case-highlight p {
  font-size: 0.875rem;
  margin: 0;
}
.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.case-result-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
}
.case-result-value {
  font-size: 1.75rem;
  font-weight: 800;
}
.case-result-label {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-top: 4px;
}
.case-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.case-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.case-images .full { grid-column: 1 / -1; }

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  justify-content: center;
}
.breadcrumb a:hover { color: #fff; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Back to top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-top:hover { transform: translateY(-4px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-video-stage { max-width: 320px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .case-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot { left: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }
  .legal-content { padding: 32px 24px; }
  .case-highlight-grid { grid-template-columns: 1fr; }
  .case-images { grid-template-columns: 1fr; }
  .qrcode-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none !important; position: relative; bottom: auto; margin-top: 40px; }
}