* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f5f7fa; color: #333; padding-bottom: 60px; }
.header { background: #2c3e50; color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.header h1 { font-size: 18px; }
.header-right { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.btn-sm { padding: 6px 12px; border: 1px solid #fff; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; font-size: 12px; }
.btn-back { padding: 8px 16px; border: none; background: #ddd; border-radius: 4px; cursor: pointer; margin-bottom: 15px; }
.container { max-width: 800px; margin: 0 auto; padding: 20px; }
.packages-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width: 768px) { .packages-grid { grid-template-columns: 1fr 1fr; } }
.package-card { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: box-shadow 0.3s; }
.package-card h3 { font-size: 16px; margin-bottom: 8px; color: #2c3e50; }
.package-card .desc { font-size: 12px; color: #666; margin-bottom: 10px; line-height: 1.5; }
.features { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.feature-tag { background: #e8f4fd; color: #2980b9; padding: 3px 8px; border-radius: 10px; font-size: 11px; }
.price-row { display: flex; gap: 12px; margin-bottom: 12px; font-weight: bold; }
.year-price { color: #e74c3c; font-size: 18px; }
.month-price { color: #888; font-size: 13px; align-self: flex-end; }
.btn-group { display: flex; flex-direction: column; gap: 6px; }
.package-card button { width: 100%; padding: 10px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.package-card button:not(.btn-trial) { background: #27ae60; color: #fff; }
.btn-trial { background: #f39c12 !important; color: #fff !important; }
.package-card button:hover { opacity: 0.9; }
.btn-hint { font-size: 11px; color: #bbb; text-align: center; margin-top: 8px; }

.trial-bar { background: #fff3cd; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; border-radius: 6px; margin-bottom: 15px; font-size: 14px; font-weight: bold; position: sticky; top: 50px; z-index: 50; }
.trial-bar .btn-buy { background: #e74c3c !important; color: #fff; padding: 6px 14px; border-radius: 4px; cursor: pointer; border: none; font-size: 12px; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: #fff; padding: 30px; border-radius: 10px; width: 90%; max-width: 400px; text-align: center; }
.modal-content h3 { margin-bottom: 15px; }
.modal-content p { margin-bottom: 10px; color: #666; }
.btn-primary { background: #27ae60; color: #fff; padding: 10px 24px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; margin: 8px; }

.order-card { padding: 15px; border-radius: 8px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-header h4 { font-size: 15px; }
.order-status { font-size: 13px; font-weight: bold; }
.order-body { margin-bottom: 10px; }
.order-body p { font-size: 12px; color: #888; margin-bottom: 4px; line-height: 1.6; }
.order-label { display: inline-block; width: 60px; color: #999; }
.order-actions { display: flex; gap: 8px; }
.btn-renew { background: #3498db; color: #fff; padding: 8px 14px; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; flex: 1; }
.btn-enter { background: #27ae60; color: #fff; padding: 8px 14px; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; flex: 1; }
.empty-orders { text-align: center; padding: 40px; color: #999; }
.empty-orders p { margin-bottom: 10px; }
.refund-hint { font-size: 11px; color: #999; text-align: center; margin: 10px 0; padding: 8px; background: #f9f9f9; border-radius: 4px; }

.footer-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; display: flex; border-top: 1px solid #eee; z-index: 99; }
.footer-nav a { flex: 1; text-align: center; padding: 12px 0; color: #666; text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: #2980b9; }
.demo-banner { background: #fff3cd; color: #856404; padding: 10px 16px; text-align: center; font-size: 13px; border-radius: 6px; margin-bottom: 15px; border: 1px solid #ffc107; }