:root {
  --primary: #E63946;
  --secondary: #1D3557;
  --accent: #F4A261;
  --background: #F1FAEE;
  --text: #1D3557;
  --text-light: #457B9D;
  --border: #E9ECEF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, #E63946, #F4A261);
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-cta {
  padding: 12px 28px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #F1FAEE 0%, #E9F5F0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  padding: 16px 40px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(230, 57, 70, 0.35);
}

.btn-secondary {
  padding: 16px 40px;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

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

.hero-mockup {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  background: var(--gradient);
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 30px 60px var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.mockup-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
}

.mockup-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

/* Section Styles */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 10px 40px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--white);
  font-size: 36px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Video Cards */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 48px;
  position: relative;
}

.video-thumbnail::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 14px;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px var(--shadow);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-lg);
  background: var(--gradient);
  color: var(--white);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.category-card h3 {
  font-size: 18px;
  font-weight: 600;
}

/* Creators Section */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.creator-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 40px var(--shadow);
  transition: transform 0.3s ease;
}

.creator-card:hover {
  transform: translateY(-8px);
}

.creator-avatar {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 40px;
}

.creator-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.creator-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  padding: 18px 50px;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 16px;
  color: var(--text-light);
}

/* Download Section */
.download-section {
  background: var(--white);
  padding: 80px 0;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-qr {
  text-align: center;
}

.qr-code {
  width: 200px;
  height: 200px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.download-platforms {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 30px;
  background: var(--text);
  color: var(--white);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateX(10px);
}

.download-btn-icon {
  font-size: 40px;
}

.download-btn-text {
  flex: 1;
}

.download-btn-text small {
  font-size: 12px;
  opacity: 0.8;
}

.download-btn-text span {
  font-size: 20px;
  font-weight: 700;
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

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

/* Page Specific Styles */
.page-header {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

.faq-question {
  padding: 24px 30px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 30px 24px;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 42px;
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .creators-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

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

  .features-grid,
  .videos-grid,
  .categories-grid,
  .creators-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
