/* 绿茶VPN官网 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* 导航栏 */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo { font-size: 24px; font-weight: 700; color: #27ae60; }
.logo span { color: #2ecc71; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; color: #555; transition: color 0.3s; padding: 5px 0; }
.nav-links a:hover, .nav-links a.active { color: #27ae60; }

/* 按钮 */
.btn { display: inline-block; padding: 12px 32px; border-radius: 6px; font-size: 16px; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: #27ae60; color: #fff; }
.btn-primary:hover { background: #219a52; }
.btn-outline { border: 2px solid #27ae60; color: #27ae60; }
.btn-outline:hover { background: #27ae60; color: #fff; }
.btn-lg { padding: 16px 48px; font-size: 18px; border-radius: 8px; }

/* Hero */
.hero { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%); padding: 100px 20px; text-align: center; }
.hero h1 { font-size: 48px; color: #1b5e20; margin-bottom: 20px; }
.hero p { font-size: 20px; color: #2e7d32; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* 通用区块 */
.section { padding: 80px 20px; }
.section-alt { background: #f8faf8; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 36px; color: #1b5e20; margin-bottom: 16px; }
.section-desc { text-align: center; font-size: 18px; color: #666; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* 卡片网格 */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border-radius: 12px; padding: 35px 25px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-icon { font-size: 48px; margin-bottom: 20px; }
.card h3 { font-size: 20px; color: #1b5e20; margin-bottom: 12px; }
.card p { font-size: 15px; color: #666; }

/* 下载区 */
.download-box { background: linear-gradient(135deg, #27ae60, #2ecc71); border-radius: 16px; padding: 60px 40px; text-align: center; color: #fff; }
.download-box h2 { font-size: 32px; margin-bottom: 16px; }
.download-box p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.download-box .btn { background: #fff; color: #27ae60; }
.download-box .btn:hover { background: #f0f0f0; }

/* FAQ */
.faq-item { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.faq-item h3 { font-size: 20px; color: #1b5e20; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #e8f5e9; }
.faq-steps { list-style: none; }
.faq-steps li { padding: 10px 0 10px 40px; position: relative; font-size: 15px; color: #555; }
.faq-steps li::before { content: attr(data-step); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; background: #27ae60; color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 关于页 */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { font-size: 16px; color: #555; margin-bottom: 20px; }
.timeline { position: relative; padding-left: 40px; margin-top: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 3px; background: #27ae60; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -31px; top: 5px; width: 14px; height: 14px; background: #27ae60; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 3px #27ae60; }
.timeline-item h4 { font-size: 18px; color: #1b5e20; margin-bottom: 6px; }
.timeline-item p { font-size: 15px; color: #666; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 800px; margin: 0 auto; }
.contact-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.contact-card .icon { font-size: 40px; margin-bottom: 16px; }
.contact-card h3 { font-size: 18px; color: #1b5e20; margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: #666; }

/* 页脚 */
.footer { background: #1b5e20; color: #a5d6a7; padding: 50px 20px 30px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a5d6a7; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #2e7d32; text-align: center; font-size: 13px; color: #81c784; }

/* 评价 */
.testimonial { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.testimonial p { font-size: 15px; color: #555; font-style: italic; margin-bottom: 16px; }
.testimonial .author { font-size: 14px; color: #27ae60; font-weight: 600; font-style: normal; }

/* 步骤说明 */
.steps { counter-reset: step; max-width: 800px; margin: 0 auto; }
.step-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; background: #27ae60; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step-text h4 { font-size: 17px; color: #1b5e20; margin-bottom: 6px; }
.step-text p { font-size: 15px; color: #666; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 20px; }
}
