/* ============================================
   循碳未来（四川）科技有限公司 - 官网样式
   ============================================ */

:root {
  --primary: #07B53A;
  --primary-dark: #059428;
  --primary-light: #4CD964;
  --secondary: #1A73E8;
  --secondary-dark: #1557B0;
  --accent: #00C853;
  --dark: #1a1a2e;
  --gray: #666;
  --light-gray: #f5f6f8;
  --white: #ffffff;
  --gradient-green: linear-gradient(135deg, #07B53A 0%, #00C853 100%);
  --gradient-blue: linear-gradient(135deg, #1A73E8 0%, #00C853 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

/* ============================================
   导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  font-size: 32px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  font-size: 15px;
  color: var(--dark);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-contact {
  display: flex;
  align-items: center;
}

.hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-green);
  color: white;
  border-radius: 25px;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hotline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(7, 181, 58, 0.4);
}

.hotline-icon {
  font-size: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ============================================
   英雄区
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0fff0 0%, #e8f5e9 50%, #f5f9fc 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(7, 181, 58, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.1) 0%, transparent 50%);
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(7, 181, 58, 0.1), rgba(0, 200, 83, 0.05));
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.circle-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(7, 181, 58, 0.05));
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.circle-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(26, 115, 232, 0.05));
  top: 40%;
  left: 60%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(7, 181, 58, 0.1);
  color: var(--primary);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.highlight-green {
  color: var(--primary);
  position: relative;
}

.highlight-blue {
  color: var(--secondary);
}

.hero-desc {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 4px 20px rgba(7, 181, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(7, 181, 58, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-block {
  width: 100%;
}

/* 数据统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: #e0e0e0;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.stat-unit {
  font-size: 14px;
  color: var(--gray);
  margin-left: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 4px;
}

/* ============================================
   通用区块样式
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(7, 181, 58, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

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

.section-header.light .section-title,
.section-header.light .section-desc {
  color: white;
}

.section-header.light .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ============================================
   关于我们
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  padding: 40px 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: linear-gradient(135deg, #f0fff0 0%, #e8f5e9 100%);
  border-radius: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  font-size: 36px;
}

.feature-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.feature-label {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================
   核心业务
   ============================================ */
.services-section {
  background: var(--light-gray);
}

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

.service-card {
  padding: 40px 30px;
  background: var(--white);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.service-pv::before {
  background: var(--gradient-green);
}

.service-waste::before {
  background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
}

.service-carbon::before {
  background: var(--gradient-blue);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  padding: 10px 0;
  color: var(--gray);
  font-size: 15px;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.service-link {
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 8px;
}

/* ============================================
   数据展示区
   ============================================ */
.data-section {
  padding: 80px 0;
}

.data-wrapper {
  position: relative;
  background: linear-gradient(135deg, #07B53A 0%, #00C853 50%, #1A73E8 100%);
  border-radius: 30px;
  padding: 60px 40px;
  overflow: hidden;
}

.data-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.data-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  color: white;
}

.data-item {
  padding: 20px;
}

.data-value {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.data-value span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.8;
}

.data-label {
  font-size: 16px;
  opacity: 0.9;
}

/* ============================================
   解决方案
   ============================================ */
.solutions-section {
  background: var(--white);
}

.solutions-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 30px;
  background: var(--light-gray);
  border: none;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
}

.solutions-content {
  background: var(--light-gray);
  border-radius: 24px;
  padding: 50px;
}

.solution-panel {
  display: none;
}

.solution-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.solution-info > p {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.8;
}

.solution-features {
  margin-bottom: 30px;
}

.solution-features li {
  padding: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.solution-features .check {
  color: var(--primary);
  font-weight: bold;
}

.solution-img {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 20px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 20px;
}

.img-placeholder.large {
  height: 300px;
}

/* ============================================
   新闻动态
   ============================================ */
.news-section {
  background: var(--light-gray);
}

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

.news-main {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.news-img {
  height: 280px;
}

.news-content {
  padding: 30px;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  border-radius: 15px;
  font-size: 12px;
  margin-bottom: 16px;
}

.news-content h3 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-content p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  gap: 20px;
  color: #999;
  font-size: 13px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.news-date {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f0fff0, #e8f5e9);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.news-date span {
  font-size: 11px;
  font-weight: 400;
}

.news-info h4 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-info span {
  font-size: 12px;
  color: var(--primary);
}

/* ============================================
   合作伙伴
   ============================================ */
.partners-section {
  background: var(--white);
  padding: 80px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.partner-logo {
  height: 80px;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.3s;
}

.partner-logo:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* ============================================
   联系我们
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-card h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  font-size: 32px;
}

.footer-logo .logo-text {
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 24px;
}

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

.footer-col ul li a {
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-col ul li span {
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-filing a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-filing a:hover {
  color: var(--primary);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-contact .hotline span:not(.hotline-icon) {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
  
  .solutions-tabs {
    flex-wrap: wrap;
  }
  
  .solution-panel.active {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
