/* 全局样式 - 清新简洁科技风 */
:root {
  --primary-color: #00d4ff;
  --primary-dark: #0072cc;
  --primary-light: #9fe0ff;
  --accent-color: #67f7ff;
  --text-dark: #e8f4ff;
  --text-gray: #98aabb;
  --border-color: rgba(103, 205, 255, 0.16);
  --bg-light: #030b1d;
  --bg-white: rgba(255, 255, 255, 0.95);
  --bg-surface: rgba(10, 25, 55, 0.78);
  --shadow-sm: 0 4px 18px rgba(0, 212, 255, 0.12);
  --shadow-md: 0 12px 30px rgba(0, 212, 255, 0.18);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #041122 0%, #061a33 45%, #02101f 100%);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, transparent 8%, transparent 92%, rgba(255,255,255,0.01) 100%);
  pointer-events: none;
  opacity: 0.15;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* 头部导航 */
.site-header {
  background: rgba(2, 24, 42, 0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.45), rgba(0, 212, 255, 0));
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: slideDown 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(1, 14, 32, 0.95);
  border: 1px solid rgba(0, 212, 255, 0.16);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.brand:hover {
  transform: scale(1.04);
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.25);
}

.logo {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.28));
  transition: filter 0.3s ease;
}

.brand:hover .logo {
  filter: drop-shadow(0 8px 16px rgba(0, 102, 255, 0.4));
}

.brand-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #eff8ff;
  text-shadow: 0 1px 3px rgba(0, 68, 120, 0.35);
}

.brand-text p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #d8e9ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--primary-color);
}

.site-nav a:hover {
  color: var(--primary-color);
}

.site-nav a:hover::after {
  width: 100%;
}

/* 英雄区 */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #041127 0%, #072d56 42%, #063564 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -12%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 60%);
  border-radius: 50%;
  filter: blur(16px);
  animation: floatAnimation 9s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(103, 205, 255, 0.14), transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  animation: floatAnimation 11s ease-in-out infinite reverse;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.8s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  background: linear-gradient(135deg, #9df4ff, #ffffff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  max-width: 620px;
  margin: 0 0 32px;
  opacity: 0.95;
  line-height: 1.75;
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(103,205,255,0.7));
}

/* 按钮 */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.96), rgba(70, 194, 255, 0.95));
  color: #021628;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: left 0.45s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 212, 255, 0.45);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-contact {
  padding: 14px 32px;
  font-size: 16px;
  animation: pulse 2s infinite;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.btn-secondary:hover {
  background: var(--primary-light);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* 通用段落样式 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 80px 0;
  background: rgba(5, 14, 32, 0.92);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  animation: fadeInUp 0.6s ease;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.08);
}

.section h3 {
  font-size: 30px;
  margin: 0 0 14px;
  font-weight: 800;
  position: relative;
  background: linear-gradient(135deg, #92f7ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(103,205,255,1), rgba(0,212,255,.45));
}

.section-desc {
  font-size: 16px;
  color: var(--text-gray);
  margin-top: 12px;
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.75;
}

/* 关于我们 - 信息卡片 */
.about {
  background: linear-gradient(135deg, rgba(4, 11, 38, 0.9) 0%, transparent 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  background: rgba(6, 18, 44, 0.92);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(0, 212, 255, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(103,205,255,1), rgba(0,212,255,0.75));
  transition: left 0.4s ease;
}

.info-card:hover::before {
  left: 100%;
}

.info-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.12);
  transform: translateY(-6px);
}

.icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.2));
}

.info-card h4 {
  margin: 12px 0 12px 0;
  font-size: 18px;
  color: var(--text-dark);
}

.info-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

/* 服务板块 */
.services {
  background: rgba(3, 10, 22, 0.96);
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: rgba(6, 18, 44, 0.92);
  border-radius: 18px;
  padding: 30px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.service-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0, 212, 255, 0.14);
}

.service-card:hover::after {
  opacity: 0.12;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.15));
}

.service-card h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 600;
}

.service-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

/* 客户案例 */
.cases {
  background: rgba(3, 10, 22, 0.96);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.client-card {
  background: rgba(6, 18, 44, 0.92);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  transition: all 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.client-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 1), rgba(103, 205, 255, 0.8), rgba(0, 212, 255, 1));
  top: 0;
  left: -100%;
  transition: left 0.4s ease;
}

.client-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.12);
  transform: translateY(-6px);
}

.client-card:hover::before {
  left: 100%;
}

.client-card h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 600;
}

.client-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
}

/* 联系我们 */
.contact {
  background: transparent;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.contact-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
  animation: floatAnimation 10s ease-in-out infinite;
}

.contact-inner::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  border-radius: 50%;
  animation: floatAnimation 12s ease-in-out infinite reverse;
}

.contact-content {
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  flex: 1;
}

.contact-content h3 {
  margin-top: 0;
  font-size: 28px;
  color: #f4fbff;
  background: none;
  -webkit-text-fill-color: #f4fbff;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.contact-list .label {
  color: var(--text-gray);
}

.contact-list .value {
  color: var(--text-dark);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  font-size: 15px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.contact-list .label {
  color: rgba(255, 255, 255, 0.8);
  min-width: 80px;
  font-weight: 600;
}

.contact-list .value {
  color: white;
  font-weight: 500;
}

.btn-contact {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
  background: white;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* 页脚 */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  background: linear-gradient(180deg, rgba(3, 11, 29, 0.95) 0%, rgba(5, 17, 42, 0.95) 100%);
  border-top: 1px solid rgba(103, 205, 255, 0.1);
}

.site-footer p {
  margin: 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin-bottom: 16px;
}

/* 响应式设计 */
@media (max-width: 960px) {
  .header-inner {
    gap: 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .contact-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
  }

  .site-nav {
    width: 100%;
    gap: 16px;
    justify-content: flex-start;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 80px 0;
  }

  .hero h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section h3 {
    font-size: 24px;
  }

  .info-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    padding: 32px 24px;
  }

  .contact-list {
    text-align: left;
  }

  .info-card,
  .service-card,
  .client-card {
    padding: 20px;
  }

  .service-icon {
    font-size: 32px;
  }

  .contact-inner {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .info-grid,
  .service-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 56px;
  }

  .brand-text h1 {
    font-size: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .section h3 {
    font-size: 20px;
  }

  .info-card,
  .service-card {
    padding: 16px;
  }

  .service-icon {
    font-size: 28px;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contact-inner {
    padding: 24px 16px;
  }

  .icon {
    font-size: 28px;
  }
}

/* 持续动画 */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #1a1a2e;
    --bg-white: #16213e;
    --text-dark: #eaeaea;
    --text-gray: #b0b0b0;
    --border-color: #2a3f5f;
  }

  .site-header {
    background: rgba(22, 33, 62, 0.8);
    border-bottom-color: rgba(0, 102, 255, 0.2);
  }

  .info-card,
  .client-card,
  .service-card,
  .btn-secondary {
    background: var(--bg-white);
  }
}
