/* ============================
   流波山科技 — 网站样式
   主色调: 深绿+金色（云母矿石色系）
   ============================ */

:root {
  --primary: #1a5c3a;       /* 深绿 */
  --primary-light: #2d7a52;
  --primary-dark: #0d3d26;
  --gold: #c9a84c;          /* 金色 */
  --gold-light: #e8c97a;
  --dark: #1a1f1c;
  --text: #2c3531;
  --text-muted: #6b7a72;
  --bg-light: #f5f7f5;
  --bg-cream: #faf8f3;
  --white: #ffffff;
  --border: #e0e8e2;
  --shadow: 0 4px 24px rgba(26,92,58,0.10);
  --shadow-lg: 0 8px 40px rgba(26,92,58,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.bg-cream { background: var(--bg-cream); }
.bg-dark { background: var(--primary-dark); color: var(--white); }
.mt20 { margin-top: 20px !important; }
.w100 { width: 100%; }

/* ---- 按钮 ---- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 3px;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-weight: 700;
}
.section-header.light .tag {
  background: var(--gold);
  color: var(--dark);
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-header.light h2 { color: var(--white); }
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}
.section-header.light .section-sub { color: rgba(255,255,255,0.75); }

/* ==============================
   导航栏
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(13,61,38,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-zh {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ==============================
   Hero 首屏
   ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,61,38,0.75) 0%, rgba(13,61,38,0.45) 60%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-en {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ==============================
   统计数字
   ============================== */
.stats {
  background: var(--primary);
  padding: 40px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.stat-num em {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
  margin-left: 3px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  text-align: center;
}

/* ==============================
   关于我们
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}
.about-text strong { color: var(--primary); }
.about-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.icon-check {
  color: var(--primary);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--gold);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.about-badge strong {
  display: block;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
}
.about-badge span {
  color: var(--dark);
  font-size: 11px;
  opacity: 0.8;
}

/* ==============================
   业务架构
   ============================== */
.biz-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.biz-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.biz-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.biz-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.biz-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   产品 Tabs
   ============================== */
.prod-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.prod-tab {
  padding: 10px 28px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.prod-tab.active, .prod-tab:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.prod-panel { display: none; }
.prod-panel.active { display: block; }
.prod-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.prod-imgs {}
.prod-main-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity var(--transition);
}
.prod-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.prod-thumbs .thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.65;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.prod-thumbs .thumb:hover, .prod-thumbs .thumb.active {
  opacity: 1;
  border-color: var(--primary);
}
.hap-banner {
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.flame-banner {
  background: linear-gradient(135deg, #4a1c0a, #8b3a1a);
}
.hap-icon { font-size: 72px; margin-bottom: 16px; }
.hap-banner p {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.prod-info {}
.prod-info h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.prod-lead {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}
.prod-specs {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.spec-row {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-k {
  width: 90px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-weight: 500;
}
.spec-v { color: var(--text); font-weight: 600; }
.prod-apps h4 {
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 12px;
}
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.app-tags span {
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}
.hap-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.highlight-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.highlight-card strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 4px;
  font-size: 15px;
}
.highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ==============================
   天然片云母专题
   ============================== */
.mica-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.mica-gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}
.mica-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mica-gallery-grid img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.mica-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.mica-intro-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
}
.mica-intro-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.mica-intro-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
  line-height: 1.8;
}
.mica-props {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.prop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 22px;
  border-radius: 50px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.prop-icon { font-size: 20px; }

/* ==============================
   联系我们
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.contact-slogan {
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 28px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.c-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
}
a.c-val:hover { color: var(--primary); }
.contact-qr-note {
  margin-top: 28px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  text-align: center;
}
.contact-qr-note p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.wechat-id-box {
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  display: inline-block;
  font-size: 15px;
}
.wechat-id-box strong { font-size: 18px; letter-spacing: 1px; }
.contact-form-wrap {
  background: var(--bg-light);
  padding: 36px;
  border-radius: var(--radius);
}
.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; }
.form-success {
  text-align: center;
  padding: 40px;
  color: var(--primary);
}
.form-success span { font-size: 40px; display: block; margin-bottom: 12px; }
.form-success p { font-size: 16px; font-weight: 600; }

/* ==============================
   页脚
   ============================== */
.footer {
  background: var(--dark);
  color: var(--white);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .logo-zh {
  font-size: 26px;
  font-weight: 900;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links h4, .footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 1200px;
  margin: 0 auto;
}

/* ==============================
   返回顶部
   ============================== */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ==============================
   动画
   ============================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   响应式
   ============================== */
@media (max-width: 1024px) {
  .biz-cards { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 28px; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 68px 0 0;
    background: rgba(13,61,38,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 15px; }

  /* Stats */
  .stats .container { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img img { height: 300px; }

  /* Biz */
  .biz-cards { grid-template-columns: 1fr 1fr; }

  /* Prod */
  .prod-detail { grid-template-columns: 1fr; gap: 32px; }
  .prod-main-img { height: 260px; }

  /* Mica */
  .mica-gallery { grid-template-columns: 1fr; }
  .mica-gallery-main img { height: 260px; }
  .mica-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mica-gallery-grid img { height: 130px; }
  .mica-intro { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .biz-cards { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
}