/* 万象云 (Wanxiangyun) Sky Blue Theme Stylesheet */
:root {
  --bg-color: #f0f9ff;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(14, 165, 233, 0.15);
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary-color: #0ea5e9;
  --primary-hover: #0284c7;
  --accent-color: #38bdf8;
  --gradient-btn: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  --gradient-text: linear-gradient(to right, #0284c7, #1d4ed8);
  --transition: all 0.3s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at top right, rgba(56, 189, 248, 0.2) 0%, transparent 40%),
                    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.15) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--primary-hover); }

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

/* Header & Nav */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(240, 249, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-main); font-weight: 500; }
.nav-links a:hover { color: var(--primary-color); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gradient-btn); color: #fff !important; box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5); }
.btn-outline { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: rgba(14, 165, 233, 0.05); }

/* Hero Section */
.hero {
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 70vh;
}
.hero-content { flex: 1; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero-content h1 span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* Dynamic Hero Image */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.floating-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 80%;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
.hero-cloud-icon { font-size: 5rem; margin-bottom: 20px; color: var(--primary-color); text-shadow: 0 10px 20px rgba(14,165,233,0.3); }
.speed-bar { width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; margin: 10px 0; overflow: hidden; }
.speed-progress { height: 100%; background: var(--gradient-btn); width: 0%; animation: loadSpeed 2s ease-out forwards infinite alternate; }
@keyframes loadSpeed { 0% { width: 20%; } 100% { width: 100%; } }
.ping-text { color: #10b981; font-weight: bold; font-size: 1.2rem; margin-top: 10px; }

/* Cloud decorations */
.cloud-bg-1, .cloud-bg-2 {
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  opacity: 0.6;
}
.cloud-bg-1 { width: 300px; height: 300px; top: -50px; right: -50px; background: #bae6fd; animation: pulse 8s infinite alternate; }
.cloud-bg-2 { width: 200px; height: 200px; bottom: 0; left: 50px; background: #bfdbfe; animation: pulse 6s infinite alternate-reverse; }
@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* Cards & Grid */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 700; color: var(--text-main); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 40px 30px; text-align: center; backdrop-filter: blur(10px); transition: var(--transition); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1); }
.icon-wrapper { width: 60px; height: 60px; background: rgba(14, 165, 233, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--primary-color); font-size: 28px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.feature-card p { color: var(--text-muted); }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.price-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 40px; text-align: center; position: relative; transition: var(--transition); }
.price-card.popular { border-color: var(--primary-color); border-width: 2px; transform: scale(1.05); box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-btn); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 4px 10px rgba(14,165,233,0.3); }
.price-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.price { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: normal; }
.price-features { list-style: none; margin-bottom: 30px; text-align: left; }
.price-features li { margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; }
.price-features li::before { content: "✓"; color: var(--primary-color); margin-right: 10px; font-weight: bold; }
.price-card .btn { width: 100%; }

/* FAQ List */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 15px; padding: 25px; transition: var(--transition); }
.faq-item:hover { border-color: var(--primary-color); }
.faq-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.faq-item p { color: var(--text-muted); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.stars { color: #f59e0b; margin-bottom: 15px; letter-spacing: 2px; }
.review-text { color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.user-info { display: flex; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 15px; }

/* Footer */
footer { border-top: 1px solid var(--card-border); padding: 40px 0; margin-top: 60px; background: rgba(255,255,255,0.5); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-color); }
.copyright { color: var(--text-muted); font-size: 0.9rem; }

/* Page Content (Legal) */
.page-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; background: var(--card-bg); border-radius: 16px; margin-top: 40px; box-shadow: 0 10px 30px rgba(14,165,233,0.05); }
.page-content h1 { font-size: 2.5rem; margin-bottom: 30px; text-align: center; color: var(--text-main); }
.page-content h2 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--primary-color); }
.page-content p { color: var(--text-muted); margin-bottom: 15px; }

/* Media Queries */
@media (max-width: 992px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: scale(1); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.5rem; }
  .btn { width: 100%; margin-bottom: 10px; }
  .footer-content { flex-direction: column; text-align: center; gap: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
