/* Common styles shared across zh-cn and en pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8fafc;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
nav { display:flex; justify-content:space-between; align-items:center; padding:1rem 0; }
.logo { font-size:1.5rem; font-weight:700; color:#1a202c; text-decoration:none; }
.nav-links { display:flex; list-style:none; gap:2rem; }
.nav-links a { text-decoration:none; color:#4a5568; font-weight:500; font-size:.95rem; transition: color 0.3s ease; }
.nav-links a:hover { color:#2d3748; }

/* Hero */
.hero { padding: 140px 0 100px; text-align: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; position: relative; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'); pointer-events: none; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.1); line-height: 1.2; }
.hero p { font-size: clamp(1.1rem, 2.5vw, 1.25rem); margin-bottom: 2.5rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-button { display:inline-block; background:white; color:#667eea; padding:16px 32px; border-radius:12px; text-decoration:none; font-weight:600; font-size:1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 2px solid transparent; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); background: #f7fafc; }

/* Features */
.features { padding: 100px 0; background: white; }
.section-title { text-align:center; font-size: clamp(2rem, 4vw, 2.5rem); font-weight:700; margin-bottom:3rem; color:#1a202c; line-height:1.3; }
.features-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top:3rem; }
.feature-card { background:white; padding: 2.5rem 2rem; border-radius:16px; text-align:center; transition: all 0.3s ease; border: 1px solid #e2e8f0; position: relative; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color:#cbd5e0; }
.feature-icon { width:64px; height:64px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius:16px; display:flex; align-items:center; justify-content:center; margin:0 auto 1.5rem; font-size:1.5rem; color:white; }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: #1a202c; }
.feature-card p { color:#4a5568; line-height:1.6; font-size: 0.95rem; }

/* Pricing */
.pricing { padding: 100px 0; background: #f8fafc; }
.pricing-grid { display:flex; flex-wrap:wrap; justify-content:center; gap: 2rem; margin-top: 3rem; max-width: 1200px; margin-left:auto; margin-right:auto; }
.pricing-card { background:white; border-radius:20px; padding: 2.5rem 2rem; text-align:center; position:relative; border: 2px solid #e2e8f0; transition: all 0.3s ease; flex: 1; min-width: 280px; max-width: 350px; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #cbd5e0; }
.pricing-card.popular { border-color: #667eea; transform: scale(1.02); box-shadow: 0 10px 30px rgba(102,126,234,0.2); }
.pricing-card.popular:hover { transform: scale(1.02) translateY(-8px); box-shadow: 0 25px 50px rgba(102,126,234,0.25); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 6px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #1a202c; }
.plan-price { font-size: 3rem; font-weight: 700; color: #667eea; margin-bottom: 0.5rem; line-height: 1; }
.plan-price .currency { font-size: 1.5rem; vertical-align: top; }
.plan-period { color: #4a5568; margin-bottom: 2rem; font-size: 0.95rem; }
.plan-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.plan-features li { padding: 0.75rem 0; color: #4a5568; position: relative; padding-left: 2rem; font-size: 0.95rem; line-height: 1.5; }
.plan-features li:before { content: "✓"; position: absolute; left: 0; color: #48bb78; font-weight: bold; font-size: 1.1rem; }
.plan-button { width: 100%; padding: 16px; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.plan-button.primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.plan-button.secondary { background: #f7fafc; color: #667eea; border: 2px solid #e2e8f0; }
.plan-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102,126,234,0.3); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }