:root {
  --primary-color: #7c3aed;
  --primary-light: #9d68ff;
  --primary-dark: #6025c0;
  --secondary-color: #f3f4f6;

  --primary-color: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --accent-color: #ec4899;
  --accent-secondary: #06b6d4;
  --dark-bg: #111827;
  --darker-bg: #0f172a;
  --text-light: #f9fafb;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
  background-color: #1a1a2ee3;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  user-select: none;
  border: none;
  outline: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  /* background-color: var(--primary-color); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
  transform: rotate(10deg);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 10px;
  transition: all 0.3s;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: white;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* 幻灯片区域 */
.carousel-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  image-rendering: optimizeQuality;
  /* transition: transform 1.2s ease-in-out; */
}
/* 浏览器选择面板 */
.browser-panel {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.browser-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(236, 72, 153, 0.05)
  );
  z-index: -1;
}

 
.browser-panel:hover::after {
  opacity: 1;
}

.browser-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.browser-panel-title {
  color: #111827;
  font-weight: 600;
  margin-bottom: 5px;
}

.browser-panel-version {
  color: #6b7280;
  font-size: 0.85rem;
}

.browser-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.browser-option {
  text-align: center;
  cursor: pointer;
  padding: 15px 10px;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(16.666% - 10px);
  margin-bottom: 15px;
}

.browser-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  border-radius: 12px;
}

.browser-option:hover {
  transform: translateY(-5px);
}

.browser-option:hover::before {
  opacity: 1;
}

.browser-option.active {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border: 2px solid var(--primary-color);
  transform: translateY(-5px);
}

.browser-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  transition: var(--transition);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.browser-option:hover .browser-icon {
  transform: scale(1.15);
}

.browser-name {
  font-size: 0.9rem;
  color: #111827;
  font-weight: 500;
}

.download-btn {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.8s ease;
  z-index: -1;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  color: white;
}

.download-btn:hover::before {
  left: 100%;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.8s ease;
  z-index: -1;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  border-color: white;
}

.btn-outline-light:hover::before {
  left: 100%;
}

/* 功能区块 */
.feature-section {
  padding: 100px 0;
  position: relative;
}

.feature-section:nth-child(odd) {
  background-color: #f9fafb;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-weight: bold;
  color: #333;
  display: inline-block;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card {
  padding: 30px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.1) 0%,
    rgba(124, 58, 237, 0) 100%
  );
  transition: all 0.5s ease;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  top: 0;
}

/* 用户评价 - 无限滚动 */
.testimonial-section {
  background-color: #f3f4f6;
  padding: 100px 0;
  overflow: hidden;
  width: 100%;
}

.testimonial-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonial-slider {
  display: flex;
  animation: scroll 60s linear infinite;
}

.testimonial-container:hover .testimonial-slider {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 300px;
  min-width: 300px;
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 10px;
}

/* 价格模块 */
.pricing-section {
  padding: 100px 0;
  background-color: #f9fafb;
  position: relative;
}

.pricing-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--primary-color)
  );
  z-index: -1;
}

.pricing-card.popular {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
  border: 2px solid var(--primary-light);
}

.pricing-card.popular::before {
  height: 7px;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 30px;
  font-size: 0.8rem;
  transform: rotate(45deg);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  margin-right: 10px;
  color: var(--primary-color);
}

.pricing-features i.fa-times {
  color: #ccc;
}

.pricing-btn {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* 下载按钮 */
.download-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}

.download-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
  color: white;
}

.download-btn:hover::before {
  left: 100%;
}

/* 统一按钮样式 */
.btn-outline-secondary {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-outline-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: all 0.6s ease;
}

.btn-outline-secondary:hover {
  background-color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary:hover::before {
  left: 100%;
}

/* 页脚 */
footer {
  background-color: #1a1a2e;
  color: white;
  padding: 60px 0 30px;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 10px;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icon:hover::before {
  left: 100%;
}

/* 动画元素 */
.floating {
  animation: floating 3s ease-in-out infinite;
}

.decoration-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.5;
}

.decoration-line {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-light),
    transparent
  );
  opacity: 0.3;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* 动画效果 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.show {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.show {
  opacity: 1;
  transform: scale(1);
}

/* 响应式调整 */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .brand-logo {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .carousel-item {
    height: 70vh;
  }

  .browser-panel {
    bottom: 20px;
    padding: 15px;
    width: 95%;
  }

  .browser-icon {
    width: 40px;
    height: 40px;
  }

  .browser-name {
    font-size: 0.8rem;
  }

  .feature-section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .testimonial-card {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 20px;
    margin: 10px;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }

  .pricing-card.popular {
    transform: scale(1.02);
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 767px) {
  .carousel-item {
    height: 60vh;
  }

  .browser-panel {
    bottom: 15px;
    padding: 10px;
  }

  .browser-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
  }

  .browser-name {
    font-size: 0.7rem;
  }

  .version-info {
    padding: 10px;
  }

  .feature-section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .feature-card {
    padding: 15px;
  }

  .testimonial-card {
    flex: 0 0 220px;
    min-width: 220px;
    padding: 15px;
    margin: 8px;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .download-btn,
  .btn-outline-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  footer {
    padding: 40px 0 20px;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }

  .pricing-card {
    margin-bottom: 30px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 575px) {
  .carousel-item {
    height: 50vh;
  }

  .browser-option {
    padding: 8px 5px;
  }

  .browser-icon {
    width: 25px;
    height: 25px;
  }

  .browser-name {
    font-size: 0.6rem;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .testimonial-card {
    flex: 0 0 200px;
    min-width: 200px;
    padding: 12px;
    margin: 5px;
  }

  .testimonial-avatar {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 10px;
  }

  .download-btn,
  .btn-outline-secondary {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}
/* 功能卡片图片边框 */
.feature-image-container {
  position: relative;
  display: inline-block; /* 或 block，根据布局需要 */
  padding: 2px; /* 可选，用于边距 */
}

.feature-image {
  border-radius: 18px !important; /* 圆角半径 */
  display: block;
}

.feature-image-container::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(
    45deg,
    #ff4e50,
    #f9d423,
    #00c9ff,
    #8b8cf9,
    #ff4e50
  );
  background-size: 400% 400%;
  z-index: -1;
  animation: animateBorder 6s linear infinite;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

@keyframes animateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.logo {
  height: 40px;
  width: 40px;
}

/* add new style index04 */
/* 顶部 Hero 区域 */
.hero-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  padding: 160px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* 炫酷背景效果 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(139, 92, 246, 0.3) 0%,
    rgba(15, 23, 42, 0.9) 70%
  );
  z-index: 1;
}

.hero-bg .grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* 打字机效果的标题 */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(
    to right,
    #fff,
    var(--primary-light),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  text-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.hero-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  bottom: -10px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* 打字机光标 */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: #fff;
  margin-left: 5px;
  vertical-align: text-top;
  animation: blink 0.7s infinite;
  margin-top: 16px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 浏览器选择面板 */
.browser-panel {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.browser-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(236, 72, 153, 0.05)
  );
  z-index: -1;
}

 

.browser-panel:hover::after {
  opacity: 1;
}

.browser-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.browser-panel-title {
  color: #111827;
  font-weight: 600;
  margin-bottom: 5px;
}

.browser-panel-version {
  color: #6b7280;
  font-size: 0.85rem;
}

.browser-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.browser-option {
  text-align: center;
  cursor: pointer;
  padding: 15px 10px;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(16.666% - 10px);
  margin-bottom: 15px;
}

.browser-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  border-radius: 12px;
}

.browser-option:hover {
  transform: translateY(-5px);
}

.browser-option:hover::before {
  opacity: 1;
}

.browser-option.active {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border: 2px solid var(--primary-color);
  transform: translateY(-5px);
}

.browser-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  transition: var(--transition);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.browser-option:hover .browser-icon {
  transform: scale(1.15);
}

.browser-name {
  font-size: 0.9rem;
  color: #111827;
  font-weight: 500;
}

.download-btn {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.8s ease;
  z-index: -1;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  color: white;
}

.download-btn:hover::before {
  left: 100%;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.8s ease;
  z-index: -1;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  border-color: white;
}

.btn-outline-light:hover::before {
  left: 100%;
}

/* 动画效果 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 浮动粒子效果 */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  opacity: 0.3;
  pointer-events: none;
}

/* 光效 */
.light-effect {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.3) 0%,
    rgba(139, 92, 246, 0) 70%
  );
  filter: blur(30px);
  z-index: 1;
  animation: float 15s infinite ease-in-out;
}

.light-effect:nth-child(2) {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.3) 0%,
    rgba(236, 72, 153, 0) 70%
  );
  animation-delay: -5s;
}

.light-effect:nth-child(3) {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.3) 0%,
    rgba(6, 182, 212, 0) 70%
  );
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100px, 50px);
  }
  50% {
    transform: translate(50px, 100px);
  }
  75% {
    transform: translate(-50px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* 响应式调整 */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .brand-logo {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .browser-panel {
    padding: 25px;
    margin-top: 30px;
  }

  .browser-icon {
    width: 40px;
    height: 40px;
  }

  .browser-name {
    font-size: 0.8rem;
  }

  .login-btn {
    margin-left: 10px;
    padding: 6px 15px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .browser-panel {
    padding: 20px;
  }

  .browser-option {
    flex: 0 0 calc(33.333% - 10px);
  }

  .browser-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
  }

  .browser-name {
    font-size: 0.7rem;
  }

  .download-btn,
  .btn-outline-light {
    padding: 12px 24px;
    font-size: 0.9rem;
    display: block;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 250px;
  }

  .login-btn {
    margin: 10px 0 0 0;
  }

  .navbar-collapse {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .browser-option {
    flex: 0 0 calc(50% - 10px);
  }

  .browser-icon {
    width: 30px;
    height: 30px;
  }

  .browser-name {
    font-size: 0.65rem;
  }
}
