/* ================================
   Home Page Styles - Code189
   ================================ */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================
   Navigation
   ================================ */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color, #ff6b35);
  cursor: pointer;
  text-decoration: none;
}

.nav-brand i {
  font-size: 28px;
}

.brand-name {
  background: linear-gradient(135deg, var(--primary-color, #ff6b35), var(--secondary-color, #f7931e));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color, #ff6b35);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color, #ff6b35);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-text {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: var(--primary-color, #ff6b35);
}

.btn-primary {
  background: var(--primary-color, #ff6b35);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--secondary-color, #f7931e);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--primary-color, #ff6b35);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-large.btn-primary {
  background: var(--primary-color, #ff6b35);
  color: white;
}

.btn-large.btn-primary:hover {
  background: var(--secondary-color, #f7931e);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-large.btn-secondary {
  background: white;
  color: var(--primary-color, #ff6b35);
  border: 2px solid var(--primary-color, #ff6b35);
}

.btn-large.btn-secondary:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.stat-card {
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color, #ff6b35);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* ================================
   Section Common Styles
   ================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
}

/* ================================
   Features Section
   ================================ */
.features {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #fafafa;
  padding: 40px 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  background: white;
  border-color: var(--primary-color, #ff6b35);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color, #ff6b35), var(--secondary-color, #f7931e));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: white;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ================================
   Platforms Section
   ================================ */
.platforms {
  padding: 80px 0;
  background: linear-gradient(135deg, #fef5f1 0%, #ffffff 100%);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.platform-card {
  background: white;
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.platform-card i {
  font-size: 64px;
  color: var(--primary-color, #ff6b35);
  margin-bottom: 16px;
}

.platform-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ================================
   Pricing Section
   ================================ */
.pricing {
  padding: 100px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

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

.pricing-card.recommended {
  background: white;
  border-color: var(--primary-color, #ff6b35);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color, #ff6b35);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.plan-badge.premium {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-align: center;
}

.plan-price {
  text-align: center;
  margin-bottom: 32px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color, #ff6b35);
}

.period {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.plan-features li {
  padding: 12px 0;
  color: #333;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-features i {
  color: var(--primary-color, #ff6b35);
  font-size: 18px;
}

/* 警告图标 - 橙色 */
.plan-features .fa-exclamation-triangle {
  color: #ff9800;
}

/* 月度额度提示 - 小字样式 */
.plan-features .plan-monthly-tip {
  font-size: 13px;
  color: #999;
  font-style: italic;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px dashed #e0e0e0;
}

.plan-features .plan-monthly-tip i {
  font-size: 13px;
  color: #999;
}

/* 免费套餐警告提示 */
.plan-features .plan-warning {
  font-size: 13px;
  color: #ff6b35;
  padding: 8px 12px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 8px;
  margin-top: 4px;
  border-left: 3px solid var(--primary-color, #ff6b35);
}

.plan-features .plan-warning i {
  color: var(--primary-color, #ff6b35);
  font-size: 14px;
}

.btn-plan {
  display: block;
  width: 100%;
  padding: 14px 32px;
  background: var(--primary-color, #ff6b35);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-plan:hover {
  background: var(--secondary-color, #f7931e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.pricing-card.recommended .btn-plan {
  background: linear-gradient(135deg, var(--primary-color, #ff6b35), var(--secondary-color, #f7931e));
}

/* 免费套餐按钮样式 */
.btn-plan-free {
  background: #6c757d !important;
}

.btn-plan-free:hover {
  background: #5a6268 !important;
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* ================================
   About Section
   ================================ */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, #fef5f1 0%, #ffffff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}

.about-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color, #ff6b35), var(--secondary-color, #f7931e));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.about-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ================================
   CTA Section
   ================================ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color, #ff6b35), var(--secondary-color, #f7931e));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta .btn-large {
  background: white;
  color: var(--primary-color, #ff6b35);
}

.cta .btn-large:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ================================
   Footer
   ================================ */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-color, #ff6b35);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  font-size: 14px;
  margin: 0;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

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

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

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

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

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

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

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

.hero-content,
.feature-card,
.pricing-card,
.about-card {
  animation: fadeInUp 0.6s ease-out;
}
