/* 基本样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root {
  --primary-color: #4776e6;
  --secondary-color: #8e54e9;
  --accent-color: #ff6b6b;
  --dark-color: #2a2a72;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #999;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --gradient-secondary: linear-gradient(135deg, #36d1dc, #5b86e5);
  --gradient-accent: linear-gradient(135deg, #ff416c, #ff4b2b);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

body {
  background-color: #f5f7fa;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(71, 118, 230, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(71, 118, 230, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 20px;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

.btn-cta {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
  padding: 14px 32px;
  font-size: 18px;
}

.btn-cta:hover {
  box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
  transform: translateY(-2px);
}

/* 头部导航栏 */
header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo h1 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 0;
}

.logo p {
  font-size: 14px;
  color: var(--text-lighter);
  margin-top: -5px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 1;
  animation: rotate 240s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  color: white;
  width: 50%;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 5px;
}

.hero-content h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  width: 40%;
  position: relative;
}

.floating {
  animation: floating 4s ease-in-out infinite;
}

.floating-slow {
  animation: floating 6s ease-in-out infinite;
}

.device-preview {
  border-radius: 25px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background-color: #333;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

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

/* 特性部分 */
.highlight-features {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1.2em;
  color: var(--text-light);
}

.section-header.light h2,
.section-header.light p {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-card .icon i {
  color: white;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-card p {
  color: var(--text-light);
}

/* 优势部分 */
.advantages {
  padding: 80px 0;
  background: var(--dark-color);
  color: white;
}

.advantages-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.advantage-content {
  width: 55%;
}

.advantage-item {
  margin-bottom: 40px;
}

.advantage-item:last-child {
  margin-bottom: 0;
}

.advantage-item .number {
  font-size: 2.5em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.advantage-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.advantage-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1em;
}

.advantage-image {
  width: 40%;
}

/* 俱乐部支持 */
.club-support {
  padding: 80px 0;
  background: white;
}

.club-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.logo-item {
  background: #f5f7fa;
  height: 100px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.logo-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.see-more {
  text-align: center;
  margin-top: 30px;
}

/* 用户好评 */
.testimonials {
  padding: 80px 0;
  background: var(--gradient-secondary);
  color: white;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  min-width: 350px;
  max-width: 350px;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
}

.quote {
  font-size: 2em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-content p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.user {
  display: flex;
  align-items: center;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

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

.info span {
  font-size: 0.9em;
  opacity: 0.8;
}

/* CTA区域 */
.cta {
  padding: 80px 0;
  background: var(--light-color);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.cta-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚 */
footer {
  background: #1a1a2e;
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.footer-logo p {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.link-group h3 {
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.link-group h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a,
.link-group ul li {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.link-group ul li a:hover {
  color: white;
}

.link-group ul li i {
  margin-right: 8px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .hero-content,
  .hero-image {
    width: 100%;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    margin-bottom: 40px;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .advantages-wrapper {
    flex-direction: column;
  }

  .advantage-content,
  .advantage-image {
    width: 100%;
  }

  .advantage-content {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-md);
  }

  nav.active {
    max-height: 500px;
    padding: 20px 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0 0 15px;
  }

  nav ul li:last-child {
    margin-bottom: 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-links {
    justify-content: space-between;
  }

  .feature-card,
  .testimonial-item {
    max-width: 100%;
  }
}
