/* Thank You Page Styles */
.thank-you-container {
    min-height: calc(80vh - 200px); /* 减去header和footer的高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 20px;
    position: relative;
}

.thank-you-content {
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
}

/* Success Icon */
.thank-you-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.thank-you-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 4px rgb(24,24,120));
}

/* Main Title */
.thank-you-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgb(24,24,120);
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

/* Description */
.thank-you-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #4a5568;
    margin: 0 0 40px 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button */
.thank-you-button {
    display: inline-block;
    background: rgb(24,24,120);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(24,24,120);;
    border: none;
    cursor: pointer;
}

.thank-you-button:hover {
    background: rgb(24,24,120);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(24,24,120);
    color: #ffffff;
    text-decoration: none;
}

.thank-you-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgb(24,24,120);;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thank-you-container {
        min-height: calc(100vh - 150px);
        padding: 30px 15px;
    }
    
    .thank-you-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }
    
    .thank-you-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .thank-you-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .thank-you-container {
        padding: 20px 10px;
    }
    
    .thank-you-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .thank-you-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .thank-you-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .thank-you-icon svg {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 375px) {
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .thank-you-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .thank-you-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Animation for icon and content */
.thank-you-icon {
    animation: fadeInDown 0.8s ease-out;
}

.thank-you-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.thank-you-description {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.thank-you-button {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
.thank-you-icon svg {
    transition: transform 0.3s ease;
}

.thank-you-icon:hover svg {
    transform: scale(1.1);
}

/* Focus states for accessibility */
.thank-you-button:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .thank-you-container {
        min-height: auto;
        padding: 20px;
    }
    
    .thank-you-button {
        background: rgb(24,24,120) !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }
}

/* ==================== Trusted Brands Section ==================== */

.trusted-brands-section {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.trusted-brands-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.trusted-brands-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
  line-height: 1.2;
}

.trusted-brands-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0 0 50px 0;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Brands Carousel */
.brands-carousel {
  position: relative;
  overflow: visible; /* 改为visible，确保logo不被遮挡 */
  margin: 0 auto;
  max-width: 1200px; /* 增加宽度，确保7个logo都能显示 */
  padding: 0 20px; /* 添加内边距，防止logo贴边 */
}

.brands-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 25px; /* 减少间距，确保7个logo都能显示 */
  justify-content: center; /* 居中对齐 */
  align-items: center;
  flex-wrap: nowrap; /* 防止换行 */
}

.brand-logo {
  flex: 0 0 140px; /* 减少宽度，确保7个logo都能显示 */
  height: 70px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  min-width: 140px; /* 确保最小宽度 */
}

.brand-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: rgb(24,24,120);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-logo:hover img {
  filter: grayscale(0%);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgb(24,24,120);
  transform: scale(1.2);
}

.indicator:hover {
  background: #9ca3af;
}

/* Responsive Design for Brands */
@media (max-width: 1200px) {
  .trusted-brands-container {
    padding: 0 40px;
  }
  
  .brands-carousel {
    max-width: 1100px;
    padding: 0 15px;
  }
  
  .brand-logo {
    flex: 0 0 130px;
    height: 65px;
    min-width: 130px;
  }
}

@media (max-width: 992px) {
  .brands-carousel {
    max-width: 1000px;
    padding: 0 10px;
  }
  
  .brands-track {
    gap: 20px;
  }
  
  .brand-logo {
    flex: 0 0 120px;
    height: 60px;
    min-width: 120px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .trusted-brands-section {
    padding: 60px 0;
  }
  
  .trusted-brands-container {
    padding: 0 20px;
  }
  
  .trusted-brands-title {
    font-size: 2rem;
  }
  
  .trusted-brands-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .brands-carousel {
    max-width: 100%;
    padding: 0 15px;
    overflow-x: auto; /* 手机端允许横向滚动 */
  }
  
  .brands-track {
    gap: 18px;
    justify-content: flex-start; /* 手机端左对齐 */
    min-width: max-content; /* 确保内容不被压缩 */
  }
  
  .brand-logo {
    flex: 0 0 110px;
    height: 55px;
    padding: 12px;
    min-width: 110px;
  }
  
  .carousel-indicators {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .trusted-brands-section {
    padding: 40px 0;
  }
  
  .trusted-brands-title {
    font-size: 1.8rem;
  }
  
  .trusted-brands-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  
  .brands-track {
    gap: 15px;
  }
  
  .brand-logo {
    flex: 0 0 100px;
    height: 50px;
    padding: 12px;
  }
  
  .carousel-indicators {
    margin-top: 25px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* Animation for brands section */
.trusted-brands-section {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.brand-logo {
  animation: fadeInUp 0.6s ease-out both;
}

.brand-logo:nth-child(1) { animation-delay: 1.0s; }
.brand-logo:nth-child(2) { animation-delay: 1.1s; }
.brand-logo:nth-child(3) { animation-delay: 1.2s; }
.brand-logo:nth-child(4) { animation-delay: 1.3s; }
.brand-logo:nth-child(5) { animation-delay: 1.4s; }
.brand-logo:nth-child(6) { animation-delay: 1.5s; }
.brand-logo:nth-child(7) { animation-delay: 1.6s; }

/* Custom scrollbar for mobile */
@media (max-width: 768px) {
  .brands-carousel::-webkit-scrollbar {
    height: 4px;
  }
  
  .brands-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }
  
  .brands-carousel::-webkit-scrollbar-thumb {
    background: rgb(24,24,120);
    border-radius: 2px;
  }
  
  .brands-carousel::-webkit-scrollbar-thumb:hover {
    background: rgb(20,20,100);
  }
} 