/* ============================================
   钧石顺维展示站 — 设计系统
   配色：深蓝商务风
   ============================================ */

/* ---------- 设计 Token ---------- */
:root {
  /* 主色 */
  --primary-dark: #0a1628;
  --primary: #0d2137;
  --primary-light: #1a3a5c;
  --accent: #2196F3;
  --accent-light: #64B5F6;
  --accent-glow: rgba(33, 150, 243, 0.3);

  /* 点缀 */
  --gold: #F5A623;
  --gold-light: #FFC94D;

  /* 中性色 */
  --white: #FFFFFF;
  --gray-50: #F5F7FA;
  --gray-100: #E8ECF1;
  --gray-200: #CBD2DC;
  --gray-500: #6B7A90;
  --gray-700: #3A4A5C;
  --gray-900: #1A1A2E;

  /* 字体 */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* 间距 */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

/* ---------- 全局重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 板块标题 ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

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

/* ============================================
   ① 导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .logo-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.navbar .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.navbar .logo-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

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

/* ============================================
   ② Hero Banner
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/energy-storage-2.webp?v=20260521') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 40, 0.7) 0%,
      rgba(13, 33, 55, 0.8) 50%,
      rgba(10, 22, 40, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 4px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle-en {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 6px;
  opacity: 0.7;
  margin-bottom: 24px;
}

.hero-content .tagline {
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 48px;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  margin: 0 auto 48px;
  border-radius: 2px;
}

/* 数据统计卡片 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-number .suffix {
  font-size: 20px;
  color: var(--gold);
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

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

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================
   ③ 关于我们
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--gray-50);
}

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

.about-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

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

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 0;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 0.85;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual .overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--white);
}

.about-visual .overlay-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.about-visual .overlay-card p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   全球网络板块
   ============================================ */
.network {
  padding: var(--section-padding);
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.network .section-header h2 {
  color: var(--white);
}

.network .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.network-map {
  position: relative;
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px var(--accent-glow);
}

.network-map img {
  width: 100%;
}

.network-locations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.location-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-group p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* ============================================
   服务优势网格
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.advantage-card .adv-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.advantage-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ============================================
   产品图册 / 运输实拍
   ============================================ */
.products {
  padding: var(--section-padding);
  background: var(--white);
}

.products-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.8));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   ④ 核心业务
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

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

.service-card {
  position: relative;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--gray-100);
}

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

.service-card .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform var(--transition);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
}

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

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

/* ============================================
   ⑥ 页脚
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.footer-brand .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd2dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-platforms .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}

.footer-platforms .badge:hover {
  background: rgba(33, 150, 243, 0.12);
  color: var(--accent-light);
  border-color: rgba(33, 150, 243, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s var(--ease);
}

.footer-col ul li a::before {
  content: '→';
  font-size: 11px;
  margin-right: 0;
  width: 0;
  opacity: 0;
  transition: all 0.3s var(--ease);
  color: var(--gold);
}

.footer-col ul li a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-col ul li a:hover::before {
  margin-right: 8px;
  width: 12px;
  opacity: 1;
}

.footer-contact h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  padding-bottom: 8px;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.contact-phone-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s var(--ease);
}

.contact-phone-card:hover {
  background: rgba(33, 150, 243, 0.06);
  border-color: rgba(33, 150, 243, 0.2);
  transform: translateY(-2px);
}

.contact-phone-card .phone-label {
  font-size: 10px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}

.contact-phone-card .phone-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.contact-phone-card .phone-number:hover {
  color: var(--white);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact .icon-wrapper {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.footer-contact .contact-item:hover .icon-wrapper {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

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

/* ============================================
   滚动入场动画
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-stats {
    gap: 32px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 80px;
  }

  .navbar .logo-icon {
    width: 56px;
    height: 56px;
  }

  .navbar .logo-text {
    font-size: 18px;
  }

  .navbar .logo-text span {
    font-size: 10px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-content .subtitle-en {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .hero-content .tagline {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .stat-item {
    min-width: 100px;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

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

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

  .products-gallery {
    grid-template-columns: 1fr;
  }

  .network-locations {
    grid-template-columns: 1fr;
  }

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