/* style.css */
:root {
  --primary: #ff4757;
  --bg-dark: #0b0c10;
  --bg-card: #1f2833;
  --text-main: #ffffff;
  --text-muted: #c5c6c7;
  --gradient: linear-gradient(135deg, #ff4757, #ff6b81);
  --glass-bg: rgba(31, 40, 51, 0.7);
  --border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
.header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav {
  display: none;
  gap: 30px;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.logo {
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,71,87,0.15) 0%, rgba(11,12,16,0) 70%);
  z-index: -1;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 0 40px;
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
}

.primary-card {
  width: 260px;
  height: 140px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,71,87,0.1), rgba(31,40,51,0.8));
  border: 1px solid rgba(255,71,87,0.3);
}

.speed-indicator {
  text-align: center;
}

.speed-indicator .ping {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.speed-indicator .status {
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 5px 15px;
  border-radius: 20px;
}

.secondary-card {
  top: 10%;
  right: 10%;
  z-index: 2;
  animation-delay: -2s;
  font-weight: bold;
}

.tertiary-card {
  bottom: 10%;
  left: 10%;
  z-index: 1;
  animation-delay: -4s;
  font-weight: bold;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: #fff !important;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 71, 87, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 71, 87, 0.4);
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* Features */
.features {
  padding: 80px 0;
}

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

.card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

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

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Media & AI */
.media-ai {
  padding: 80px 0;
  background: rgba(31, 40, 51, 0.3);
}

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

.media-ai .card {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: '最受欢迎';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 14px;
  font-weight: bold;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 20px 0;
}

.price span {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
}

.pricing-features li {
  margin-bottom: 15px;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
}

.faq-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-muted);
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: rgba(31, 40, 51, 0.3);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 0 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero p {
    margin: 0 auto 40px;
  }
  .hero-visual {
    display: none;
  }
  .hero h1 {
    font-size: 40px;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

/* Subpages Typography */
.page-header {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  margin: 30px 0 15px;
  color: var(--primary);
}

.page-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
}
