/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== 导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dark);
}

.logo-icon {
  font-size: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

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

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

#particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: calc((100% - 1200px) / 2 + 24px);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

/* Hero Visual - Digital Human */
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digital-human {
  position: relative;
  width: 320px;
  height: 320px;
}

.dh-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid;
  animation: ringRotate 8s linear infinite;
}

.dh-ring.outer {
  width: 280px; height: 280px;
  border-color: rgba(99,102,241,0.15);
  animation-duration: 12s;
}

.dh-ring.mid {
  width: 200px; height: 200px;
  border-color: rgba(99,102,241,0.25);
  animation-duration: 8s;
  animation-direction: reverse;
}

.dh-ring.inner {
  width: 120px; height: 120px;
  border-color: rgba(99,102,241,0.4);
  border-style: dashed;
  animation-duration: 5s;
}

.dh-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background: var(--gradient);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(99,102,241,0.5), 0 0 80px rgba(99,102,241,0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(99,102,241,0.4), 0 0 60px rgba(99,102,241,0.15); }
  50% { box-shadow: 0 0 50px rgba(99,102,241,0.7), 0 0 100px rgba(99,102,241,0.3); }
}

/* ===== Section 通用 ===== */
.section { padding: 100px 0; }

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

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

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

/* ===== 关于我们 ===== */
.about { background: var(--white); }

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

.about-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.3s;
}

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

.about-icon { font-size: 40px; margin-bottom: 16px; }

.about-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== 核心业务 ===== */
.business { background: var(--light); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.biz-card {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}

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

.biz-icon { font-size: 36px; margin-bottom: 16px; }

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

.biz-card > p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.biz-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.biz-tags li {
  padding: 4px 10px;
  background: rgba(79,70,229,0.06);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
}

/* ===== 技术优势 ===== */
.features { background: var(--white); }

.features-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--light);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  min-width: 60px;
}

.feature-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-body p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== 品牌故事 ===== */
.brand-story {
  background: var(--dark);
  padding: 80px 0;
}

.story-card {
  display: flex;
  gap: 80px;
  align-items: center;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-subtitle {
  font-size: 18px;
  color: var(--gray-light);
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.story-text p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.story-visual {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.island-svg { width: 100%; height: 100%; }

.island-svg svg {
  width: 100%; height: 100%;
  animation: float 4s ease-in-out infinite;
}

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

/* ===== 联系我们 ===== */
.contact { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.ci-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }

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

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form .btn { justify-content: center; }

/* ===== 页脚 ===== */
.footer {
  background: var(--dark-2);
  padding: 48px 0 24px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 32px;
}

.footer-brand .logo-text {
  font-size: 22px;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p { color: var(--gray-light); font-size: 13px; }

.footer-links { display: flex; gap: 60px; }

.fl-group h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.fl-group a {
  display: block;
  color: var(--gray-light);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.fl-group a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-light);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding: 100px 24px 60px; }
  .hero-content { margin-left: 0; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-title { font-size: 36px; }
  .hero-visual { margin-top: 40px; }
  .digital-human { width: 240px; height: 240px; }
  .dh-ring.outer { width: 200px; height: 200px; }
  .dh-ring.mid { width: 140px; height: 140px; }
  .dh-ring.inner { width: 80px; height: 80px; }

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

  .story-card { flex-direction: column; gap: 40px; }
  .story-visual { width: 200px; height: 200px; }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
  .feature-item { flex-direction: column; gap: 12px; }
  .footer-main { flex-direction: column; gap: 32px; }
}
