/* ChinaHomeWiFi - Site Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; z-index: 0; animation: float 10s infinite ease-in-out; }
.shape-1 { background: #0056D2; width: 400px; height: 400px; top: -100px; right: -100px; }
.shape-2 { background: #FF6600; width: 300px; height: 300px; bottom: -50px; left: -50px; animation-delay: 2s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.city-card { transition: all 0.3s ease; }
.city-card .city-card-image { height: 12rem; }
@media (min-width: 1024px) { .city-card .city-card-image { height: 13rem; } }
.city-card:hover { transform: translateY(-4px); }
.pricing-card { transition: all 0.3s ease; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,86,210,0.15); }
.pricing-card.popular { border: 2px solid #0056D2; }
.star-rating { color: #fbbf24; }
.admin-sidebar a.active { background: #0056D2; color: white; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-size: 0.95rem; transition: all 0.2s; }
.form-input:focus { outline: none; border-color: #0056D2; box-shadow: 0 0 0 3px rgba(0,86,210,0.1); }
.btn-primary { background: #0056D2; color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; display: inline-block; text-align: center; }
.btn-primary:hover { background: #0044a5; }
.btn-accent { background: #FF6600; color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; border: none; cursor: pointer; }
.btn-accent:hover { background: #e65c00; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: #1e293b; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.25rem 0 0.5rem; color: #334155; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: #475569; }
.prose ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; color: #475569; }

/* Hero WeChat Promo */
.hero-wechat-promo { margin-top: 2rem; width: 100%; max-width: 28rem; }
.hero-wechat-inner {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 1.25rem; padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
@media (min-width: 640px) {
    .hero-wechat-inner { flex-direction: row; align-items: center; gap: 1.5rem; }
    .hero-wechat-promo { margin-left: 0; margin-right: auto; }
}
.hero-wechat-qr-wrap {
    flex-shrink: 0; background: #fff; padding: 0.625rem; border-radius: 0.875rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25); position: relative;
}
.hero-wechat-qr-wrap::after {
    content: ''; position: absolute; inset: -3px; border-radius: 1rem;
    border: 2px solid rgba(7,193,96,0.5); pointer-events: none;
}
.hero-wechat-qr { width: 7.5rem; height: 7.5rem; object-fit: contain; display: block; }
@media (min-width: 1024px) { .hero-wechat-qr { width: 8.5rem; height: 8.5rem; } }
.hero-wechat-text { text-align: center; }
@media (min-width: 640px) { .hero-wechat-text { text-align: left; } }
.hero-wechat-badge {
    display: inline-block; background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.75rem;
    border-radius: 9999px; margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.hero-wechat-title { font-size: 1.125rem; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 0.375rem; }
.hero-wechat-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 0.375rem; }
.hero-wechat-desc strong { color: #86efac; }
.hero-wechat-hint { font-size: 0.75rem; color: rgba(134,239,172,0.8); font-weight: 500; }

/* WeChat Contact */
.wechat-manager-card { background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%); border: 2px solid #86efac; border-radius: 1rem; padding: 1.5rem; text-align: center; }
.wechat-manager-compact { padding: 1rem; }
.wechat-manager-badge { display: inline-block; background: #16a34a; color: white; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 0.75rem; }
.wechat-manager-title { font-size: 1.25rem; font-weight: 700; color: #14532d; margin-bottom: 0.5rem; }
.wechat-manager-desc { font-size: 0.875rem; color: #166534; margin-bottom: 1rem; line-height: 1.5; }
.wechat-manager-qr-wrap { display: inline-block; background: white; padding: 0.75rem; border-radius: 0.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); margin-bottom: 0.75rem; }
.wechat-manager-qr { width: 180px; height: 180px; object-fit: contain; display: block; }
.wechat-manager-compact .wechat-manager-qr { width: 140px; height: 140px; }
.wechat-manager-meta { font-size: 0.8rem; color: #15803d; font-weight: 600; }
.wechat-manager-hint { font-size: 0.75rem; color: #4ade80; margin-top: 0.25rem; }
.wechat-customer-section { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1rem; margin-top: 0.5rem; }
.wechat-section-title { font-weight: 700; color: #1e293b; margin-bottom: 0.25rem; font-size: 0.95rem; }
.wechat-section-desc { font-size: 0.8rem; color: #64748b; margin-bottom: 0.75rem; line-height: 1.5; }
.wechat-wxid-warning { background: #fef3c7; border: 1px solid #fbbf24; color: #92400e; padding: 0.75rem; border-radius: 0.5rem; font-size: 0.8rem; margin-top: 0.5rem; line-height: 1.6; }
.wechat-input-error { border-color: #f59e0b !important; box-shadow: 0 0 0 3px rgba(245,158,11,0.2) !important; }
.wechat-qr-simple { margin-top: 0.75rem; }
.wechat-qr-simple-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.625rem 1rem; border: 1px dashed #cbd5e1; border-radius: 0.5rem;
    background: #fff; color: #475569; font-size: 0.8125rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.wechat-qr-simple-btn:hover { border-color: #07c160; color: #07c160; background: #f0fdf4; }
.wechat-qr-simple-icon { font-size: 1rem; }
.wechat-qr-simple-preview { text-align: center; margin-top: 0.5rem; }
.wechat-qr-simple-preview img { max-width: 100px; max-height: 100px; border-radius: 0.5rem; margin: 0 auto 0.375rem; display: block; border: 1px solid #e2e8f0; }
.wechat-qr-expanded { margin-top: 0.25rem; }
.wechat-qr-dropzone { border: 2px dashed #cbd5e1; border-radius: 0.75rem; padding: 1.25rem; text-align: center; cursor: pointer; transition: all 0.2s; background: white; min-height: 120px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.wechat-qr-dropzone:hover, .wechat-qr-dragover { border-color: #0056D2; background: #eff6ff; }
.wechat-qr-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.wechat-qr-preview img { max-width: 160px; max-height: 160px; border-radius: 0.5rem; margin: 0 auto 0.5rem; display: block; }
.wechat-qr-remove { font-size: 0.75rem; color: #dc2626; background: none; border: none; cursor: pointer; text-decoration: underline; }
.wechat-qr-uploading { color: #0056D2; font-size: 0.875rem; }
.hidden { display: none !important; }
.nav-wechat-btn { display: flex; align-items: center; gap: 0.5rem; background: #07c160; color: white; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.875rem; }
.nav-wechat-btn:hover { background: #06ad56; color: white; }
