* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

:root {
  --primary-blue: #2c5282;
  --accent-blue: #4a90e2;
  --primary-green: #27ae60;
  --light-green: #a8e063;
  --soft-green: #f0faf0;
  --dark-text: #1a202c;
  --light-text: #4a5568;
  --card-shadow: 0 10px 30px rgba(44, 82, 130, 0.12);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
  font-family: 'Open Sans', -apple-system, sans-serif;
  background: linear-gradient(135deg, #e6f7e6 0%, #d4f1f9 100%);
  color: var(--dark-text);
  overflow-x: hidden;
  line-height: 1.6;
  overflow: hidden;
}


.background-texture::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(74, 144, 226, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(39, 174, 96, 0.04) 0%, transparent 25%);
  z-index: -2;
}

.vine-growth {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M0,50 Q150,10 300,50 T600,50 T900,50 T1200,50 L1200,100 L0,100 Z" fill="%23e6f7e6" opacity="0.7"/></svg>') no-repeat center bottom;
  background-size: cover;
  z-index: -1;
  animation: vineGrowth 8s ease-out forwards;
  opacity: 0;
}

@keyframes vineGrowth {
  0% { opacity: 0; transform: translateY(100%); }
  70% { opacity: 0.7; }
  100% { opacity: 1; transform: translateY(0); }
}

.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.1);
  opacity: 0.6;
}

.card-3d-container {
  perspective: 1500px;
  width: 100%;
}

.card-3d {
  transform-style: preserve-3d;
  transition: var(--transition);
}

.card-front, .card-back {
  backface-visibility: hidden;
  width: 100%;
}

.card-back {
  transform: rotateY(180deg);
}

.header-section {
  padding: 3vh 10px 1vh; 
  text-align: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px; /* ��С���� */
  color: var(--primary-blue);
  text-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
  margin-bottom: 8px; /* ��С��߾� */
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -3px; /* ��Сλ�� */
  left: 50%;
  transform: translateX(-50%);
  width: 60px; /* ��С��� */
  height: 3px; /* ��С�߶� */
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

.subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px; /* ��С���� */
  color: var(--primary-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* ��С��� */
  margin-top: 0px; /* ��С��߾� */
  letter-spacing: 1px;
}

.leaf-icon {
  width: 24px; /* ��С�ߴ� */
  height: 24px;
  fill: var(--primary-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ��������ǿ */
.advantages-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px; /* ��С��� */
  margin: 15px 0 20px; /* ��С��߾� */
  padding: 0 20px;
  position: relative;
}

.nav-indicator {
  position: absolute;
  bottom: -4px; /* ��Сλ�� */
  height: 2px; /* ��С�߶� */
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
  transition: var(--transition);
  z-index: 1;
}

.nav-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 40px; /* ��СԲ�� */
  padding: 10px 22px; /* ��С�ڱ߾� */
  font-size: 16px; /* ��С���� */
  color: var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
  background: rgba(240, 250, 240, 0.9);
  transform: translateY(-2px); /* ��С�ƶ� */
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.nav-item:active {
  transform: translateY(1px);
}

.nav-item.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  border: none;
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.35);
}

/* �������ݿ�Ƭ */
.advantage-content {
  display: none;
  max-width: 1200px;
  margin: 0 auto 2vh; /* ��С��߾� */
  padding: 0 10px;
  perspective: 1000px;
}

.content.active {
  display: block;
}

.content-wrapper {
  display: flex;
  gap: 30px; /* ��С��� */
  width: 100%;
  align-items: center;
  position: relative;
}

.text-section {
  flex: 1;
  min-width: 280px; /* ��С��С��� */
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease forwards;
}

.image-section {
  flex: 1;
  min-width: 280px; /* ��С��С��� */
  border-radius: 16px; /* ��СԲ�� */
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
  height: 360px; /* ��С�߶� */
  transform: translateZ(60px);
  animation: fadeInRight 0.8s ease forwards;
}

.content-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  display: block;
}

.image-section:hover .content-image {
  transform: scale(1.06) rotate(0.5deg); /* ��С���� */
  filter: brightness(1.05) saturate(1.1);
}

.content-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), transparent 70%);
  z-index: 1;
}

/* �����λ��� */
.hex-badge {
  position: relative;
  width: 50px; /* ��С�ߴ� */
  height: 50px;
  margin-bottom: 20px; /* ��С��߾� */
}

.hexagon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 3px 12px rgba(44, 82, 130, 0.3);
}

.hex-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; /* ��С���� */
  font-weight: 800;
  color: white;
  position: relative;
  z-index: 2;
}

.hex-accent {
  position: absolute;
  width: 60px; /* ��С�ߴ� */
  height: 60px;
  top: -5px; /* ��Сλ�� */
  left: -5px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.25;
  animation: rotateHex 15s linear infinite;
}

@keyframes rotateHex {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.content-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; /* ��С���� */
  color: var(--primary-blue);
  font-weight: 800;
  margin-bottom: 16px; /* ��С��߾� */
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-description {
  font-size: 16px; /* ��С���� */
  line-height: 1.7; /* ��С�и� */
  color: var(--light-text);
  margin-bottom: 2px; /* ��С��߾� */
  font-weight: 300;
}

.highlight {
  color: var(--primary-green);
  font-weight: 700;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 3px; /* ��Сλ�� */
  left: 0;
  width: 100%;
  height: 2px; /* ��С�߶� */
  background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.3), transparent);
  border-radius: 3px;
}

/* �����б��Ż� */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 2px; /* ��С��߾� */
}

.feature-list li {
  padding: 5px 0 5px 40px; /* ��С�ڱ߾� */
  position: relative;
  font-size: 15px; /* ��С���� */
  font-weight: 600;
  color: var(--dark-text);
  border-bottom: 1px dashed rgba(100, 100, 100, 0.1);
  transition: var(--transition);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  padding-left: 45px; /* ��С�ƶ� */
  color: var(--primary-blue);
}

.feature-icon {
  position: absolute;
  left: 0;
  top: 10px; /* ��Сλ�� */
  width: 28px; /* ��С�ߴ� */
  height: 28px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  border-radius: 6px; /* ��СԲ�� */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px; /* ��С���� */
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* ��Ȼ�ָ��� */
.natural-divider {
  height: 30px; /* ��С�߶� */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0px 0px; /* ��С��߾� */
}

.vine-divider {
  width: 70%; /* ��С��� */
  height: 1.5px; /* ��С�߶� */
  background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
  position: relative;
}

.vine-divider::before,
.vine-divider::after {
  content: '';
  position: absolute;
  top: -8px; /* ��Сλ�� */
  width: 10px; /* ��С�ߴ� */
  height: 10px;
  background: var(--primary-green);
  border-radius: 50%;
}

.vine-divider::before {
  left: 0;
}

.vine-divider::after {
  right: 0;
}

.leaf-decoration {
  position: absolute;
  top: -8px; /* ��Сλ�� */
  font-size: 20px; /* ��С���� */
  color: var(--primary-green);
  opacity: 0.9;
  animation: floatLeaf 6s ease-in-out infinite;
}

.leaf-left {
  left: 12%; /* ��Сλ�� */
  transform: rotate(-25deg);
  animation-delay: 0s;
}

.leaf-right {
  right: 12%; /* ��Сλ�� */
  transform: rotate(25deg);
  animation-delay: -3s;
}

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  50% { transform: translateY(-6px) rotate(5deg); opacity: 1; }
}

/* ����Ч�� */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px); /* ��С�ƶ� */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px); /* ��С�ƶ� */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ��Ӧʽ��� */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }

  .image-section {
    height: 320px; /* ��С�߶� */
    width: 100%;
    max-width: 500px; /* ��С����� */
  }

  .carousel-controls {
    flex-direction: column;
    gap: 12px; /* ��С��� */
  }

  .carousel-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 30px; /* ��С���� */
  }

  .subtitle {
    font-size: 16px; /* ��С���� */
  }

  .content-title {
    font-size: 24px; /* ��С���� */
  }

  .content-description {
    font-size: 15px; /* ��С���� */
  }

  .nav-item {
    padding: 8px 16px; /* ��С�ڱ߾� */
    font-size: 15px; /* ��С���� */
  }

  .hex-badge {
    width: 45px; /* ��С�ߴ� */
    height: 45px;
    margin-bottom: 18px; /* ��С��߾� */
  }

  .hexagon, .hex-accent {
    width: 45px; /* ��С�ߴ� */
    height: 45px;
  }

  .hex-number {
    font-size: 20px; /* ��С���� */
  }

  .image-section {
    height: 300px; /* ��С�߶� */
  }
}

@media (max-width: 480px) {
  .header-section {
    padding: 6vh 12px 4vh; /* ��С�ڱ߾� */
  }

  .main-title {
    font-size: 26px; /* ��С���� */
  }

  .subtitle {
    font-size: 15px; /* ��С���� */
    gap: 8px; /* ��С��� */
  }

  .advantages-nav {
    gap: 6px; /* ��С��� */
    overflow-x: auto;
    padding-bottom: 8px; /* ��С�ڱ߾� */
  }

  .nav-item {
    padding: 7px 16px; /* ��С�ڱ߾� */
    font-size: 14px; /* ��С���� */
    flex-shrink: 0;
    min-width: 100px; /* ��С��С��� */
  }

  .content-title {
    font-size: 22px; /* ��С���� */
  }

  .content-description {
    font-size: 14px; /* ��С���� */
    line-height: 1.6; /* ��С�и� */
  }

  .feature-list li {
    font-size: 14px; /* ��С���� */
    padding-left: 35px; /* ��С�ڱ߾� */
  }

  .image-section {
    height: 260px; /* ��С�߶� */
  }

  .leaf-decoration {
    display: none;
  }

  .carousel-timer {
    width: 90px; /* ��С��� */
  }

  .content-wrapper {
    gap: 20px; /* ��С��� */
  }
}

/* ҳ�� */
.footer {
  text-align: center;
  padding: 10px 4px; /* ��С�ڱ߾� */
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 16px; /* ��С���� */
  margin-top: 2px; /* ��С��߾� */
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* ��С��� */
  height: 2px; /* ��С�߶� */
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 3px;
}

.pause-indicator {
  position: absolute;
  top: -6px; /* ��Сλ�� */
  right: -6px;
  width: 18px; /* ��С�ߴ� */
  height: 18px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 9px; /* ��С���� */
  opacity: 0;
  transition: opacity 0.3s;
}

.carousel-timer.paused .pause-indicator {
  opacity: 1;
}