/* ============================================================
   东序星见科技 - 企业官网样式
   ============================================================ */

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

:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-accent: #06b6d4;
  --color-dark: #0f172a;
  --color-dark-2: #1e293b;
  --color-gray-900: #111827;
  --color-gray-700: #374151;
  --color-gray-500: #6b7280;
  --color-gray-300: #d1d5db;
  --color-gray-100: #f3f4f6;
  --color-white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-gray-700);
  line-height: 1.7;
  background: var(--color-white);
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

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

.btn-block {
  width: 100%;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 18px;
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* 标题底部装饰线 */
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}

.logo-icon {
  font-size: 24px;
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

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

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

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

.btn-header {
  padding: 8px 24px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-header:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

/* Hero 背景装饰线 */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Animated grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  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;
  animation: gridMove 20s linear infinite;
}

/* Dot pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  bottom: 10%;
  left: 5%;
  animation-delay: -3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #a855f7;
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--color-accent), #a78bfa, var(--color-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-white);
}

.stat-suffix {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
}

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

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
}

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

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.tech-stack::before,
.services::before,
.why-us::before,
.cases::before,
.about::before,
.process::before,
.contact::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.tech-stack::before,
.why-us::before,
.about::before,
.process::before {
  top: 0;
}

.services::before,
.cases::before,
.contact::before {
  top: 0;
}

.tech-stack {
  position: relative;
  padding-top: 100px;
}

.tech-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 100%);
  pointer-events: none;
}
  padding: 80px 0;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-tag {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.tech-tag:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
}

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

.service-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* 每张卡片顶部装饰色条 */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

/* 卡片背景装饰纹理 */
.service-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  width: 160px;
  height: 160px;
  opacity: 0.6;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* 图标背景微纹理 */
.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  opacity: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);
  border-color: rgba(37, 99, 235, 0.25);
  transform: scale(1.05);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--color-gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  transition: var(--transition);
}

.service-link:hover {
  color: var(--color-accent);
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  position: relative;
}

.why-us::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

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

.why-content .section-tag,
.why-content .section-title,
.why-content .section-desc {
  text-align: left;
}

.why-content .section-desc {
  margin: 0;
  max-width: none;
}

/* Dark section overrides for tech-stack */
.tech-stack .section-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
}

.tech-stack .section-title {
  color: var(--color-white);
}

.tech-stack .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

/* Dark section overrides for why-us */
.why-us .section-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
}

.why-us .section-title {
  color: var(--color-white);
}

.why-us .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

.why-us .why-item h4 {
  color: var(--color-white);
}

.why-us .why-item p {
  color: rgba(255, 255, 255, 0.5);
}

.why-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.why-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.why-item p {
  font-size: 15px;
  color: var(--color-gray-500);
}

.why-visual {
  position: relative;
  height: 420px;
}

.visual-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.visual-card:hover {
  transform: translateY(-4px);
}

.visual-card:first-child {
  background: var(--gradient-primary);
  color: var(--color-white);
  width: 200px;
  height: 200px;
  top: 0;
  right: 0;
}

.visual-card--secondary {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  color: var(--color-white);
  width: 180px;
  height: 180px;
  bottom: 40px;
  left: 0;
}

.visual-card--tertiary {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(37, 99, 235, 0.3));
  color: var(--color-white);
  width: 160px;
  height: 160px;
  bottom: 0;
  right: 20px;
}

.visual-year {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.visual-label {
  font-size: 14px;
  opacity: 0.8;
}

/* ============================================================
   CASES
   ============================================================ */
.cases {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
}

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

.case-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-gray-100);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.case-img {
  height: 180px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* 每张卡片顶部图片叠加层 */
.case-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  transition: var(--transition);
}

/* 网格纹理叠加 */
.case-img::after {
  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: 20px 20px;
  z-index: 2;
  transition: var(--transition);
}

.case-card:hover .case-img::before {
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.4) 100%);
}

.case-card:hover .case-img::after {
  opacity: 0;
}

.case-body {
  padding: 28px;
}

.case-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.case-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.case-body p {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  position: relative;
}

.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

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

.about-visual {
  position: relative;
  height: 480px;
}

.about-image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* 点阵纹理 */
.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* 对角线条纹 */
.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.01) 40px,
    rgba(255, 255, 255, 0.01) 41px
  );
  pointer-events: none;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(40px);
}

.about-shape--1 {
  width: 200px;
  height: 200px;
  background: var(--color-primary);
  top: -30px;
  right: -30px;
}

.about-shape--2 {
  width: 150px;
  height: 150px;
  background: var(--color-accent);
  bottom: -20px;
  left: -20px;
}

.about-shape--3 {
  width: 100px;
  height: 100px;
  background: #a855f7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.about-company {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-founded {
  font-size: 16px;
  opacity: 0.7;
}

/* Dark section overrides for about */
.about .section-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
}

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

.about .about-text {
  color: rgba(255, 255, 255, 0.5);
}

.about .about-feature strong {
  color: var(--color-white);
}

.about .about-feature p {
  color: rgba(255, 255, 255, 0.5);
}

.about .about-feature-num {
  color: var(--color-accent);
}

.about-content .section-tag,
.about-content .section-title {
  text-align: left;
}

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

.about-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-num {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.5;
}

.about-feature strong {
  display: block;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 14px;
  color: var(--color-gray-500);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  position: relative;
}

.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.process .section-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
}

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

.process .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

.process .step-content h3 {
  color: var(--color-white);
}

.process .step-content p {
  color: rgba(255, 255, 255, 0.5);
}

.process .step-connector {
  background: rgba(255, 255, 255, 0.1);
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  align-items: flex-start;
  flex: 1;
  max-width: 200px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
}

/* 步骤编号光晕 */
.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: -1;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  margin-top: 24px;
}

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

.step-content {
  padding-left: 16px;
  text-align: left;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--color-gray-500);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
}

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

.contact-info .section-tag,
.contact-info .section-title {
  text-align: left;
}

.contact-info > p {
  font-size: 16px;
  color: var(--color-gray-500);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

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

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--color-gray-500);
}

/* Form */
.contact-form-wrapper {
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* 表单区域背景装饰 */
.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form-wrapper::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

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

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}

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

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* 底部背景装饰 */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.footer-brand p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.social-link {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 13px;
  transition: var(--transition);
}

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

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-visual,
  .about-visual {
    height: 300px;
  }

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

@media (max-width: 768px) {
  .nav,
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 24px;
    gap: 20px;
  }

  .nav.open .nav-link {
    font-size: 18px;
  }

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

  .hero-stats {
    gap: 32px;
  }

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

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

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

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

  .process-step {
    max-width: 100%;
    flex-direction: row;
    text-align: left;
  }

  .step-connector {
    display: none;
  }

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

  .contact-form-wrapper {
    padding: 28px;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s ease forwards;
  max-width: 400px;
  min-width: 280px;
}

.toast.toast-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast.toast-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast.toast-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #fff;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(60px);
  }
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

@media (max-width: 768px) {
  .toast-container {
    top: 20px;
    right: 12px;
    left: 12px;
  }
  .toast {
    max-width: none;
    min-width: 0;
    font-size: 14px;
    padding: 12px 16px;
  }
}
