/* ========================================
   水媒官网 - 蓝白分明风格
   Bold Blue & White Style
   ======================================== */

:root {
  /* 强对比蓝白配色 */
  --primary-blue: #0052CC;
  --bright-blue: #0066FF;
  --light-blue: #CCE0FF;
  --pale-blue: #E6F0FF;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-white: #EEF2F7;
  --dark-blue-bg: #0A2463;
  --mid-blue-bg: #1E3A8A;
  --text-primary: #1A1A1A;
  --text-secondary: #404040;
  --text-muted: #666666;
  --border-color: #CBD5E1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.7;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: var(--white);
  border-bottom: 2px solid var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.15);
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo img {
  height: 48px;
  border-radius: 8px;
  vertical-align: middle;
}

.brand-logo .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-left: 12px;
  vertical-align: middle;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: var(--primary-blue);
}

.nav-links li a h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.nav-links li a span {
  font-size: 0.65rem;
  opacity: 0.8;
}

/* ========================================
   Hero Banner
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-blue-bg) 0%, var(--mid-blue-bg) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 span {
  color: #60A5FA;
}

.hero > .container > .hero-content > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-weight: 500;
}

.hero-mission {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.mission-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  min-width: 220px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.mission-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), #60A5FA);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.mission-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.mission-item:hover::before {
  transform: scaleX(1);
}

.mission-item .mission-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.mission-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.mission-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   内容区块
   ======================================== */
.content-section {
  padding: 80px 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-blue);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 500;
}

/* ========================================
   关于水媒
   ======================================== */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.stat-item h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.values-section {
  background: var(--pale-blue);
  border: 2px solid var(--light-blue);
  border-radius: 16px;
  padding: 2.5rem;
}

.values-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-item {
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--primary-blue);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   服务方案
   ======================================== */
#services {
  background: linear-gradient(180deg, var(--gray-white) 0%, var(--pale-blue) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 32px rgba(0, 82, 204, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

.service-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--primary-blue);
  border-radius: 25px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  background: var(--bright-blue);
  transform: scale(1.05);
}

/* ========================================
   核心技术
   ======================================== */
#tech {
  background: var(--white);
  position: relative;
}

#tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--bright-blue), var(--primary-blue));
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.tech-content > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.tech-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.tech-step:hover {
  transform: translateX(12px);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.12);
}

.tech-step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.tech-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.tech-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.tech-visual {
  text-align: center;
  padding: 3.5rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--mid-blue-bg) 100%);
  border-radius: 20px;
}

.tech-visual .tech-emoji {
  font-size: 7rem;
  margin-bottom: 1.5rem;
  display: block;
}

.tech-visual h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.tech-visual p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
}

/* ========================================
   行业案例
   ======================================== */
#cases {
  background: linear-gradient(180deg, var(--pale-blue) 0%, var(--gray-white) 100%);
}

/* ========================================
   底部联系
   ======================================== */
footer {
  background: var(--dark-blue-bg);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-contact a,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #60A5FA;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #60A5FA;
}

/* ========================================
   滚动条
   ======================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-white);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 5px;
}

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

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .hero {
    padding: 100px 1rem 60px;
  }

  .hero-mission {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

  .content-section {
    padding: 60px 1rem;
  }
}
