/* 颜色变量 */
:root {
  --color-bg-dark: #1a1a1a;
  --color-bg-darker: #0f0f0f;
  --color-gradient-start: #00d084;
  --color-gradient-end: #00a86b;
  --color-text-primary: #ffffff;
  --color-text-secondary: #f0f0f0;
  --color-accent: #ffd700;
  --color-card-bg: rgba(255, 255, 255, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.gradient-primary {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-bg-dark);
  font-weight: bold;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 208, 132, 0.3);
}

.card {
  background-color: var(--color-card-bg);
  border-left: 4px solid;
  border-image: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end)) 1;
  padding: 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 208, 132, 0.2);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 208, 132, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-gradient-start);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-darker));
  overflow: hidden;
  margin-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 168, 107, 0.1));
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text-primary);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--color-text-secondary);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.page-header {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-darker));
  padding: 100px 0 60px;
  text-align: center;
  margin-top: 60px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

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

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

section {
  padding: 80px 0;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}

.highlights {
  background-color: var(--color-bg-dark);
}

.highlights .card {
  text-align: center;
  padding: 30px;
}

.highlights .card i {
  font-size: 3rem;
  color: var(--color-gradient-start);
  margin-bottom: 20px;
}

.highlights .card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.stats {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.05), rgba(0, 168, 107, 0.05));
  padding: 80px 0;
}

.stat-card {
  text-align: center;
  padding: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

.cta {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-darker));
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.about-intro {
  background-color: var(--color-bg-dark);
  padding: 80px 0;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  background-color: var(--color-bg-dark);
  padding: 80px 0;
}

.timeline-items {
  position: relative;
  padding: 20px 0;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gradient-start), var(--color-gradient-end));
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  margin-right: 0;
  text-align: left;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-gradient-start);
  border: 4px solid var(--color-bg-dark);
  border-radius: 50%;
  top: 0;
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -60px;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--color-gradient-start);
}

.timeline-content p {
  color: var(--color-text-secondary);
}

.culture {
  background-color: var(--color-bg-dark);
}

.culture .card {
  text-align: center;
}

.culture .card h3 {
  margin-bottom: 15px;
  color: var(--color-gradient-start);
}

.products {
  background-color: var(--color-bg-dark);
}

.product-card {
  background-color: var(--color-card-bg);
  border: 1px solid rgba(0, 208, 132, 0.2);
  padding: 30px;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-gradient-start);
  box-shadow: 0 20px 40px rgba(0, 208, 132, 0.2);
}

.product-image {
  font-size: 4rem;
  color: var(--color-gradient-start);
  margin-bottom: 20px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.product-card p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.contact {
  background-color: var(--color-bg-dark);
}

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

.contact-form h2,
.contact-info h2 {
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 5px;
  color: var(--color-text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gradient-start);
  box-shadow: 0 0 10px rgba(0, 208, 132, 0.2);
  background-color: rgba(0, 208, 132, 0.05);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--color-gradient-start);
  margin-top: 5px;
}

.info-item h4 {
  margin-bottom: 5px;
}

.info-item p {
  color: var(--color-text-secondary);
}

.footer {
  background-color: var(--color-bg-darker);
  border-top: 1px solid rgba(0, 208, 132, 0.1);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--color-gradient-start);
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-gradient-start);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 208, 132, 0.1);
  border-radius: 50%;
  color: var(--color-gradient-start);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--color-gradient-start);
  color: var(--color-bg-dark);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 208, 132, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--color-gradient-start);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.form-message {
  animation: slideInUp 0.3s ease-out;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:active {
  transform: translateY(0);
}

/* 产品筛选按钮 */
.product-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 24px;
  border: 1px solid rgba(0, 208, 132, 0.4);
  background: transparent;
  color: var(--color-text-secondary);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-bg-dark);
  border-color: transparent;
  font-weight: bold;
}

/* 产品标签 */
.product-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(0, 208, 132, 0.15);
  color: var(--color-gradient-start);
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 208, 132, 0.3);
}

.product-spec {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.product-spec i {
  margin-right: 5px;
}

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: #222;
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 12px;
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  animation: slideInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--color-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 208, 132, 0.2);
  color: var(--color-gradient-start);
}

.modal-icon {
  font-size: 3rem;
  color: var(--color-gradient-start);
  margin-bottom: 12px;
}

.modal-brief {
  color: var(--color-text-secondary);
  margin: 10px 0 24px;
  font-size: 1.05rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-info-item strong {
  display: block;
  color: var(--color-gradient-start);
  margin-bottom: 6px;
  font-size: 14px;
}

.modal-info-item strong i {
  margin-right: 6px;
}

.modal-info-item span {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.modal-info-item ul {
  list-style: none;
  padding: 0;
}

.modal-info-item ul li {
  color: var(--color-text-secondary);
  font-size: 14px;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.modal-info-item ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-gradient-start);
}

/* 联系页面 required 标记 */
.required {
  color: #ff6b6b;
  margin-left: 2px;
}

/* Hero 补充样式 */
.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gradient-start);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 208, 132, 0.5);
  color: var(--color-gradient-start);
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(0, 208, 132, 0.1);
  border-color: var(--color-gradient-start);
  transform: translateY(-2px);
}

/* 产品系列预览 */
.product-preview {
  background: linear-gradient(135deg, rgba(0,208,132,0.03), rgba(0,168,107,0.06));
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: -35px;
  margin-bottom: 40px;
  font-size: 1rem;
}

.preview-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(0, 208, 132, 0.15);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.preview-card:hover {
  border-color: rgba(0, 208, 132, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 208, 132, 0.12);
}

.preview-icon {
  font-size: 2.5rem;
  color: var(--color-gradient-start);
  margin-bottom: 18px;
}

.preview-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.preview-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.preview-link {
  color: var(--color-gradient-start);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: gap 0.3s ease;
}

.preview-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.preview-link:hover i {
  transform: translateX(4px);
}

/* 页脚图标 */
.footer-section p i {
  margin-right: 8px;
  color: var(--color-gradient-start);
  width: 16px;
}
