/* ===== 基础样式 ===== */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --accent: #06b6d4;
  --deep: #0b1220;
  --bg: #f8fafc;
  --bg-alt: #ecfdf5;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 8px 30px rgba(2, 6, 23, 0.08);
  --shadow-glow: 0 0 0 1px rgba(16, 185, 129, 0.2), 0 12px 40px rgba(16, 185, 129, 0.18);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

/* ===== 顶部导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(120deg, #10b981, #06b6d4);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-size: 19px;
  color: var(--text);
}

.logo-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 2px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== 首页横幅 ===== */
.hero {
  display: flex;
  align-items: center;
  padding: 46px 0 42px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(6, 182, 212, 0.32), transparent 60%),
    radial-gradient(720px 420px at -8% 110%, rgba(16, 185, 129, 0.38), transparent 55%),
    linear-gradient(150deg, #0b1220 0%, #0a1f2e 55%, #06291a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(27px, 4.6vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.35);
}

.hero-title .grad {
  background: linear-gradient(120deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(120deg, #10b981, #06b6d4);
  color: #fff;
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.45);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ===== 数据统计 ===== */
.stats {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item {
  text-align: center;
  padding: 8px 12px;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(120deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-plus {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ===== 通用 section ===== */
.section {
  padding: 64px 0;
}

.section-home {
  padding: 34px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-home .section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 18px;
}

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.about-list {
  list-style: none;
  margin-top: 22px;
}

.about-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-weight: 500;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  background: var(--primary);
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.about-card:hover {
  transform: translateY(-6px);
}

.about-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: var(--accent);
}

.about-card-icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}

.about-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 服务项目 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: transparent;
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 回收流程 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 34px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.process-num {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}

.contact-item h3 {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-item p {
  font-weight: 600;
}

.contact-item a {
  color: var(--primary);
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-tip {
  font-size: 13px;
  color: var(--primary);
  min-height: 18px;
}

/* ===== 页脚 ===== */
.footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  font-size: 14px;
}

.footer-note {
  margin-top: 6px;
  color: #34d399;
}

/* ===== 内页横幅 ===== */
.page-hero {
  background:
    radial-gradient(700px 340px at 80% -10%, rgba(6, 182, 212, 0.28), transparent 60%),
    linear-gradient(150deg, #0b1220 0%, #0a1f2e 55%, #06291a 100%);
  color: #fff;
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 16px;
  opacity: 0.92;
}

/* ===== 查看更多按钮 ===== */
.section-more {
  text-align: center;
  margin-top: 34px;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== 行动号召 ===== */
.cta {
  background: linear-gradient(135deg, #059669, #16a34a);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.95;
  margin-bottom: 24px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

/* ===== 经营范围 ===== */
.scope {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scope-block {
  margin-bottom: 26px;
}

.scope-block:last-child {
  margin-bottom: 0;
}

.scope-block h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.scope-block p {
  color: var(--text-muted);
  line-height: 1.8;
}

.scope-note {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 8px;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav-link {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 40px 0 34px;
  }
}