/* Hero Section */
.hero {
  min-height: 60vh;
  position: relative;
  background-image: url("../img/bg4.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 134, 234, 0.2);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Section Styles */
.section-header {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}


.section-title {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 0;
}

.section-description {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--default-color);
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Cooperation Direction and Mode Section */
.cooperation-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  width: 100%;
}

.cooperation-card {
  flex: 1;
  min-width: 0;
  /* background: white; */
  border-radius: 8px;
  padding: 25px;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.cooperation-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cooperation-card-icon {
  width: 40px;
  height: 40px;
  background: #4facfe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cooperation-card-icon i {
  color: white;
  font-size: 18px;
}

.cooperation-card-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.cooperation-card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cooperation-card-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
}

.cooperation-card-item h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #333;
}

.cooperation-card-item p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  text-align: left;
}

/* Cooperation Mode Grid */
.cooperation-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.cooperation-mode-item {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.cooperation-mode-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.mode-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mode-icon i {
  font-size: 24px;
  color: white;
}

.cooperation-mode-item:nth-child(1) .mode-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cooperation-mode-item:nth-child(2) .mode-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cooperation-mode-item:nth-child(3) .mode-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cooperation-mode-item:nth-child(4) .mode-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cooperation-mode-item h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.cooperation-mode-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.section-title p {
  color:var(--default-color);
}

.advantages-background {
  background-image: url('../img/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

.advantages-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* z-index: 1; */
}

.advantages-background .container {
  position: relative;
  z-index: 2;
}

/* Cooperation Direction Box */
.cooperation-direction-box {
  background: white;
  border-radius: 12px;
  /* border: 1px solid #e0e0e0; */
  /* padding: 20px; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.cooperation-direction-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .cooperation-direction-row {
    flex-wrap: wrap;
    flex-direction: column;
  }
  
  .cooperation-direction-item {
    width: 100%;
    margin-bottom: 15px;
    /* border: 1px solid #e0e0e0; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 15px;
    background: white;
  }
  
  .cooperation-divider-vertical {
    display: none;
  }
}

/* Cooperation Direction Item */
.cooperation-direction-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 12px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
  transition: all 0.3s ease;
}

.cooperation-divider-vertical {
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.cooperation-divider-horizontal {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 20px 0;
}

.cooperation-direction-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.direction-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.15); */
  flex-shrink: 0;
  margin: 0 auto 20px;
}

.direction-icon i {
  font-size: 32px;
  color: #0f86ea;
  font-weight: 700;
}

.cooperation-direction-item .direction-icon {
  /* background: #4facfe; */
}


.cooperation-direction-item h4 {
  margin: 0 0 18px 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.cooperation-direction-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Cooperation Mode New Layout */
.cooperation-mode-content {
  margin: 0 auto;
  max-width: 1200px;
}

.mode-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  height: 100%;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.commission-mode {
  background: #ffffff;
}

.profit-mode {
  background: #ffffff;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}

.mode-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.mode-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: #4facfe;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}


.mode-icon i {
  font-size: 28px;
  color: #ffffff;
}

.mode-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px;
  text-align: center;
}

.mode-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Middle Image */
.mode-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 230px;
  /* padding: 20px; */
}

.mode-image-circle {
  /* width: 260px; */
  /* height: 260px; */
  border-radius: 50%;
  /* border: 3px solid #4facfe; */
  /* padding: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

}

.mode-image-circle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
  animation: ripple 2s infinite;
}

.mode-image-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
  animation: ripple 2s infinite 0.5s;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(79, 172, 254, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.2);
  }
}

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

.mode-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  /* object-fit: cover; */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: none;
  transition: transform 0.3s ease;
}

.mode-image img:hover {
  transform: translateY(-10px);
}

/* Core Position Section */
#core-position {
  background-image: url('../img/bg_core_advantages.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

#core-position .section-title h2 {
  color: #fff;
}

.core-position-layout {
  position: relative;
  padding: 50px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.core-left-text,
.core-right-text {
  flex: 1;
  /* min-width: 300px; */
  /* max-width: 400px; */
}

.core-left-text {
  margin-right: 40px;
}

.core-right-text {
  margin-left: 40px;
}


@media (max-width: 900px) {
    .core-left-text, .core-right-text {
        margin-right: 0;
        margin-left: 0;
        max-width: 100%;
    }
}
.core-illustration {
  position: relative;
  display: inline-block;
  margin: 20px;
  flex: 0 0 auto;
  animation: float 3s ease-in-out infinite;
}

.core-illustration img {
  max-width: 300px;
  height: auto;
}

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

.core-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.core-card-icon {
  margin-bottom: 15px;
}

.core-card-icon i {
  font-size: 28px;
  color: #4facfe;
}

.core-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.left-top{
  margin-bottom: 30px;
}

.right-bottom{
  margin-bottom: 30px;
}

.core-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Cooperation Advantages Section */
#advantages {
  padding: 60px 0;
}

.advantages-content {
  margin-top: 50px;
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 响应式布局 */
@media (max-width: 1200px) {
  .cooperation-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .cooperation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cooperation-grid {
    grid-template-columns: 1fr;
  }
}

#advantages .cooperation-card {
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 10px 30px;
  /* background: #fff; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
  overflow: hidden;
  /* border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); */
}

#advantages .cooperation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
  transition: left 0.3s ease;
}

#advantages .cooperation-card:hover::before {
  /* left: 0; */
}

#advantages .cooperation-card:hover {
  /* transform: translateY(-5px); */
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.12); */
  /* border-color: var(--accent-color); */
}

#advantages{
  padding-bottom: 30px;
}

.card-icon {
  width: 80px;
  height: 80px;
}

#advantages .card-icon {
  margin-bottom: 20px;
  font-size: 24px;
  /* background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%)); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.cooperation-card:hover .card-icon {
  transform: translateY(-10px);
}

.cooperation-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
}

#advantages .cooperation-card h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.cooperation-card p {
  /* text-align: center; */
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Different background colors for each advantage icon */
.advantage-1 .card-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
}

.advantage-2 .card-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.advantage-3 .card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.advantage-4 .card-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.advantage-5 .card-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.advantage-6 .card-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.advantage-7 .card-icon {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.advantage-8 .card-icon {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
  .core-position-layout {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
  }

  .hero h2 {
    font-size: 24px;
  }
  

  .mode-image-circle {
    margin: 30px;
  }
  .hero-description {
    font-size: 15px;
  }

  .hero-image {
    max-width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 15px;
  }

  .cooperation-container {
    flex-direction: column;
    gap: 15px;
  }

  .cooperation-card {
    padding: 20px;
  }

  .cooperation-card-header {
    gap: 10px;
  }

  .cooperation-card-icon {
    width: 35px;
    height: 35px;
  }

  .cooperation-card-icon i {
    font-size: 16px;
  }

  .cooperation-card-header h3 {
    font-size: 16px;
  }

  .cooperation-card-item {
    padding: 12px;
  }

  .cooperation-card-item h4 {
    font-size: 14px;
  }

  .cooperation-card-item p {
    font-size: 12px;
  }

  .cooperation-mode-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cooperation-mode-item {
    padding: 20px 15px;
  }

  .mode-icon {
    width: 50px;
    height: 50px;
  }

  .mode-icon i {
    font-size: 20px;
  }

  .cooperation-mode-item h4 {
    font-size: 16px;
  }

  .cooperation-mode-item p {
    font-size: 13px;
  }

  .cooperation-direction-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cooperation-direction-item {
    padding: 20px 15px;
  }

  .direction-icon {
    width: 50px;
    height: 50px;
  }

  

  .cooperation-direction-item h4 {
    font-size: 16px;
  }

  .cooperation-direction-item p {
    font-size: 13px;
  }

  .core-left-text,
  .core-right-text {
    margin-right: 0;
    margin-left: 0;
    max-width: 100%;
  }

  .core-card {
    padding: 20px;
  }

  .core-card h3 {
    font-size: 16px;
  }

  .core-card p {
    font-size: 13px;
  }

  .core-illustration img {
    max-width: 250px;
  }

  #advantages {
    padding: 60px 0;
  }
  .advantages-background {
    background-image: url('');
    --background-color: #f5f9ff;
    --surface-color: #ffffff;
  }
  #advantages .cooperation-card {
    background: #fff;
  }
  .advantages-content {
    /* margin-top: 30px; */
  }

  #advantages .cooperation-card {
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  #advantages .cooperation-card h3 {
    font-size: 16px;
  }

  #advantages .cooperation-card p {
    font-size: 13px;
  }

  #advantages .card-icon {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  

  .cooperation-card {
    padding: 25px;
  }

  .cooperation-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

  }

  .cooperation-card h3 {
    font-size: 18px;
  }

  .core-card {
    padding: 25px;
  }

  .core-card h3 {
    font-size: 18px;
  }

  .core-card p {
    font-size: 13px;
  }
}
@media (max-width: 1199px) {
    .mode-image-circle {
      margin: 50px 30px;
    }
}
