:root {
  /* --primary-blue: #0F6E2F; */
  --primary-blue: #189943;
  /* --primary-blue-light: #3A86FF; */
  --primary-blue-light: #14bd4c;
  --dark-text: #222222;
  --gray-text: #666666;
  --light-gray: #f5f7fa;
  --border-color: #e1e5eb;
  --accent-orange: #FF6B35;
  --accent-green: #00C9A7;
  --border-radius: 8px;
  --section-spacing: 100px;
  --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background: #ffffff;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

.logo img {
  width: 200px;
}

/* .logo-icon {
  margin-right: 10px;
  font-size: 1.5rem;
  animation: pulse 2s infinite;
} */

.tabicon {
    margin: 0 auto;
    position: relative;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

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

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

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

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

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

/* 产品下拉菜单 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 1rem 0;
  z-index: 1001;
  border: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.7rem 1.5rem;
  margin: 0;
  color: var(--dark-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
  padding-left: 2rem;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1002;
}

/* 移动端菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: white;
  z-index: 999;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.8rem 0;
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
  color: var(--primary-blue);
  padding-left: 10px;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: block;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-toggle::after {
  /* content: '›'; */
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
  transform: rotate(-90deg);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.overlay.active {
  display: block;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
  /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
  /* background-image: url('/img/b1.jpg'); */
  /* background-size: cover; */
  background: url(/img/7947.jpg?x-oss-process=image/auto-orient,1/resize,p_80/quality,q_80) no-repeat; 
  background-position: center; 
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
  radial-gradient(circle at 20% 80%, rgba(27, 107, 255, 0.1) 0%, transparent 50%),
  radial-gradient(circle at 80% 20%, rgba(0, 201, 167, 0.1) 0%, transparent 50%),
  radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  max-width: 650px;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-text);
  line-height: 1.2;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--gray-text);
  max-width: 540px;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
}

.cta-button:hover::after {
animation: shine 1s;
}

@keyframes shine {
100% { transform: translateX(100%); }
}

.cta-button:hover {
background: var(--primary-blue-light);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(27, 107, 255, 0.2);
}

.hero-image {
position: absolute;
right: 5%;
top: 50%;
transform: translateY(-50%);
width: 45%;
max-width: 700px;
height: 500px;
background: linear-gradient(135deg, rgba(27, 107, 255, 0.05), rgba(0, 201, 167, 0.05));
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-blue);
font-size: 1.2rem;
border: 1px solid var(--border-color);
overflow: hidden;
opacity: 0;
transform: translateX(50px);
animation: slideIn 1s ease 0.6s forwards;
}

@keyframes slideIn {
to {
opacity: 1;
transform: translateY(-50%) translateX(0);
}
}

/* 产品/服务展示 */
.products {
padding: var(--section-spacing) 5%;
background: white;
}

.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 1rem;
font-weight: 700;
color: var(--dark-text);
}

.section-subtitle {
text-align: center;
font-size: 1.1rem;
color: var(--gray-text);
max-width: 700px;
margin: 0 auto 3rem;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 3px;
background: var(--primary-blue);
margin: 0.5rem auto;
border-radius: 2px;
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 2rem;
}

.product-card {
background: white;
border-radius: var(--border-radius);
padding: 2.5rem 2rem;
transition: all 0.3s ease;
border: 1px solid var(--border-color);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
opacity: 0;
transform: translateY(30px);
}

.product-card.animate {
animation: fadeUp 0.8s ease forwards;
}

.product-card:nth-child(2) {
animation-delay: 0.2s;
}

.product-card:nth-child(3) {
animation-delay: 0.4s;
}

.product-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--primary-blue);
transform: scaleX(0);
transition: transform 0.3s ease;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: var(--card-shadow);
}

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

.product-icon {
font-size: 2.8rem;
margin-bottom: 1.5rem;
color: var(--primary-blue);
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(27, 107, 255, 0.1);
transition: all 0.3s ease;
}

.product-card:hover .product-icon {
transform: scale(1.1) rotate(5deg);
background: rgba(27, 107, 255, 0.2);
}

.product-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 600;
color: var(--dark-text);
}

.product-card p {
color: var(--gray-text);
margin-bottom: 1.5rem;
flex-grow: 1;
}

.product-link {
color: var(--primary-blue);
text-decoration: none;
font-weight: 500;
display: inline-flex;
align-items: center;
transition: all 0.3s ease;
}

.product-link:hover {
color: var(--primary-blue-light);
transform: translateX(5px);
}

/* 数据展示区 */
.stats {
padding: 80px 5%;
background: var(--light-gray);
}

.stats-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
text-align: center;
}

.stat-item {
opacity: 0;
transform: translateY(20px);
}

.stat-item.animate {
animation: fadeUp 0.8s ease forwards;
}

.stat-item:nth-child(2) {
animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
animation-delay: 0.4s;
}

.stat-item:nth-child(4) {
animation-delay: 0.6s;
}

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

.stat-item p {
color: var(--gray-text);
font-size: 1.1rem;
}

/* 产品介绍 */
.product-intro {
padding: var(--section-spacing) 5%;
background: white;
}

.product-tabs {
display: flex;
justify-content: center;
margin-bottom: 3rem;
border-bottom: 1px solid var(--border-color);
}

.tab-button {
padding: 1rem 2rem;
background: none;
border: none;
font-size: 1.1rem;
font-weight: 500;
color: var(--gray-text);
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}

.tab-button.active {
color: var(--primary-blue);
}

.tab-button.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 3px;
background: var(--primary-blue);
}

.tab-content {
display: none;
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}

.tab-content.active {
display: block;
opacity: 1;
transform: translateY(0);
}

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

.product-features {
list-style: none;
margin-top: 1.5rem;
}

.product-features li {
margin-bottom: 1rem;
display: flex;
align-items: center;
opacity: 0;
transform: translateX(-20px);
}

.product-features li.animate {
animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInLeft {
to {
opacity: 1;
transform: translateX(0);
}
}

.product-features li::before {
content: '✓';
margin-right: 10px;
color: var(--primary-blue);
font-weight: bold;
}

.product-image {
  height: 400px;
  /* background: var(--light-gray); */
  /* border-radius: var(--border-radius); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: var(--gray-text); */
  /* border: 1px solid var(--border-color); */
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateX(20px);
}

.product-image.animate {
animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
to {
opacity: 1;
transform: translateX(0);
}
}

/* 关于我们 */
.about {
padding: var(--section-spacing) 5%;
background: var(--light-gray);
}

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

.about-text h2 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
color: var(--dark-text);
}

.about-text p {
margin-bottom: 1.5rem;
color: var(--gray-text);
}

.about-image {
  height: 400px;
  /* background: white; */
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  /* border: 1px solid var(--border-color); */
  opacity: 0;
  transform: translateX(30px);
}

.about-image.animate {
animation: slideInRight 0.8s ease forwards;
}

/* 联系我们 */
.contact {
padding: var(--section-spacing) 5%;
background: white;
}

.contact-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
}

.contact-info h3 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
color: var(--dark-text);
}

.contact-details {
list-style: none;
margin-bottom: 2rem;
}

.contact-details li {
margin-bottom: 1rem;
display: flex;
align-items: center;
color: var(--gray-text);
opacity: 0;
transform: translateX(-20px);
}

.contact-details li i {
  font-style: normal;
}

.contact-details li.animate {
animation: slideInLeft 0.5s ease forwards;
}

.contact-details li:nth-child(2) {
animation-delay: 0.1s;
}

.contact-details li:nth-child(3) {
animation-delay: 0.2s;
}

.contact-details li:nth-child(4) {
animation-delay: 0.3s;
}

.contact-details li i {
margin-right: 10px;
color: var(--primary-blue);
}

.contact-form {
  /* background: var(--light-gray); */
  padding: 2.5rem;
  border-radius: var(--border-radius);
  opacity: 0;
  transform: translateY(20px);
  text-align: center;
}

.contact-form.animate {
animation: fadeUp 0.8s ease forwards;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--dark-text);
}

.form-control {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-family: inherit;
transition: all 0.3s ease;
}

.form-control:focus {
outline: none;
border-color: var(--primary-blue);
box-shadow: 0 0 0 3px rgba(27, 107, 255, 0.1);
transform: translateY(-2px);
}

textarea.form-control {
min-height: 150px;
resize: vertical;
}

/* 页脚 */
footer {
padding: 70px 5% 30px;
background: var(--dark-text);
color: white;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}

.footer-column h3 {
font-size: 1.2rem;
margin-bottom: 1.5rem;
color: white;
font-weight: 600;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 0.8rem;
}

.footer-links a {
color: #ccc;
text-decoration: none;
transition: all 0.3s ease;
}

.footer-links a:hover {
color: white;
padding-left: 5px;
}

.social-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}

.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: white;
transition: all 0.3s ease;
text-decoration: none;
}

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

.copyright {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #aaa;
font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1100px) {
.hero-image {
width: 40%;
}
}

@media (max-width: 968px) {
.hero {
flex-direction: column;
justify-content: center;
text-align: center;
padding-top: 100px;
}

.hero-content {
max-width: 100%;
margin-bottom: 3rem;
}

.hero-image {
position: relative;
right: auto;
top: auto;
transform: none;
width: 100%;
max-width: 500px;
height: 350px;
}

.nav-links {
display: none;
}

.mobile-menu {
display: block;
}

.hero h1 {
font-size: 2.8rem;
}

.about-content, .contact-container, .product-detail {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.section-title {
font-size: 2.2rem;
}

.hero h1 {
font-size: 2.3rem;
}

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

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

.product-tabs {
flex-direction: column;
align-items: center;
}

.tab-button {
width: 100%;
text-align: center;
}

.product-detail {
gap: 2rem;
}
}

@media (max-width: 480px) {
.hero h1 {
font-size: 2rem;
}

.hero p {
font-size: 1rem;
}

.section-title {
font-size: 1.8rem;
}

.product-card {
padding: 2rem 1.5rem;
}

.contact-form {
padding: 1.5rem;
}

.logo {
  font-size: 1.2rem;
}
}
