/* Static zh-CN header + footer (was inline per page) */
/* Header Styles */
.header { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); position: fixed; top: 0; left: 0; right: 0; z-index: 9999; border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.header-bar { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 72px; }
body { padding-top: 72px; }
.logo { cursor: pointer; display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.nav-links { display: flex !important; gap: 8px; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 0.95rem; transition: all 0.3s; }
.nav-links a:hover { color: var(--primary); background: rgba(24,144,255,0.08); }

/* Enhanced Dropdown Menu */
.nav-dropdown { position: relative; }
.nav-dropbtn { cursor: pointer; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 800px; box-shadow: 0 12px 48px rgba(0,0,0,0.15); border-radius: 16px; padding: 32px; z-index: 1001; border: 1px solid var(--border); animation: slideDown 0.25s; overflow: hidden; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown:hover .dropdown-content { display: grid; }
.nav-dropdown--resources:hover .dropdown-content { display: block; }
.dropdown-resources { min-width: 300px; max-width: 340px; padding: 12px 10px; }
.dropdown-resources .dropdown-item { padding: 10px 12px; }
.dropdown-resources .dropdown-item-content span { display: block; font-size: 0.8rem; line-height: 1.4; }
.dropdown-wide { grid-template-columns: repeat(3, 1fr); gap: 24px; min-width: 900px; }
.dropdown-medium { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.dropdown-products { grid-template-columns: repeat(3, 1fr); gap: 24px; min-width: 960px; }
.dropdown-pricing { display: none; min-width: 420px; max-width: 460px; padding: 24px; }
.nav-dropdown--pricing:hover .dropdown-content { display: block; }
.pricing-nav-grid { display: flex; flex-direction: column; gap: 8px; }
.pricing-nav-card { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; color: inherit; background: #fafbfc; transition: all 0.25s; }
.pricing-nav-card:hover { border-color: rgba(24,144,255,0.45); background: rgba(24,144,255,0.05); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(24,144,255,0.12); }
.pricing-nav-card-header { display: flex; align-items: center; gap: 10px; }
.pricing-nav-card-header .pfc-icon { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.pricing-nav-card-header strong { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.pricing-nav-card-header .pfc-title-row { flex: 1; min-width: 0; }
.pricing-nav-rows { display: flex; flex-direction: column; gap: 4px; padding-left: 2.15rem; }
.pricing-nav-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.82rem; }
.pricing-nav-row .pnr-label { color: var(--text-secondary); font-weight: 500; flex-shrink: 0; }
.pricing-nav-row .pnr-price { font-weight: 700; color: var(--text); white-space: nowrap; text-align: right; }
.pnr-price-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pnr-subprice { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; line-height: 1.35; }
.pricing-nav-overview { display: inline-block; margin-top: 12px; }
.dropdown-locations { display: none; min-width: 620px; max-width: 680px; padding: 24px; }
.nav-dropdown--locations:hover .dropdown-content { display: block; }
.dropdown-locations-title { font-size: 0.95rem; font-weight: 700; margin: 0 0 16px; color: var(--text); }
.locations-nav-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.locations-nav-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.locations-nav-list { display: flex; flex-direction: column; gap: 2px; }
.locations-nav-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; transition: background 0.2s, transform 0.2s; }
.locations-nav-item:hover { background: rgba(24,144,255,0.06); transform: translateX(2px); }
.locations-nav-flag { flex-shrink: 0; width: 36px; height: 26px; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; background: var(--bg, #f5f5f5); }
.locations-nav-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.locations-nav-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.locations-nav-text strong { font-size: 0.88rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.locations-nav-text span { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; line-height: 1.35; }
.locations-nav-overview { margin-top: 14px; }
.dropdown-product-block, .dropdown-proxy-block { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dropdown-product-block > .dropdown-column-title, .dropdown-proxy-block > .dropdown-column-title { margin-bottom: 0; }
.proxy-family-grid { display: flex; flex-direction: column; gap: 10px; }
.proxy-family-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; color: inherit; background: #fafbfc; transition: all 0.25s; min-height: auto; }
.dropdown-solutions { min-width: 900px; }
.dropdown-solutions .proxy-family-grid { gap: 6px; }
.dropdown-solutions .sol-nav-card { flex-direction: row; align-items: center; gap: 10px; padding: 9px 12px; }
.dropdown-solutions .sol-nav-card .pfc-icon { font-size: 1.15rem; flex-shrink: 0; }
.dropdown-solutions .sol-nav-card .pfc-title-row { flex: 1; min-width: 0; margin: 0; flex-wrap: nowrap; gap: 6px; }
.dropdown-solutions .sol-nav-card strong { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dropdown-solutions .sol-nav-card .corner-badge { font-size: 0.58rem; padding: 2px 6px; flex-shrink: 0; }
.proxy-family-card:hover { border-color: rgba(24,144,255,0.45); background: rgba(24,144,255,0.05); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(24,144,255,0.12); }
.proxy-family-card .pfc-icon { font-size: 1.35rem; line-height: 1; }
.pfc-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.proxy-family-card strong { font-size: 0.92rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.proxy-family-card .pfc-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.45; display: block; overflow: visible; word-wrap: break-word; }
.dropdown-products:not(.dropdown-solutions) .proxy-family-card { box-sizing: border-box; }
.dropdown-products:not(.dropdown-solutions) .proxy-family-card .pfc-icon { height: 1.35rem; flex-shrink: 0; }
.dropdown-products:not(.dropdown-solutions) .pfc-title-row { flex-wrap: nowrap; min-width: 0; height: 1.2rem; flex-shrink: 0; }
.dropdown-products:not(.dropdown-solutions) .proxy-family-card > strong { height: 1.2rem; line-height: 1.2rem; flex-shrink: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-products:not(.dropdown-solutions) .pfc-title-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-products:not(.dropdown-solutions) .proxy-family-card .pfc-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; word-break: break-word; height: 2.32rem; line-height: 1.45; margin-top: auto; flex-shrink: 0; }
.proxy-family-overview { display: inline-block; margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--primary); text-decoration: none; padding: 0 4px; }
.proxy-family-overview:hover { text-decoration: underline; }
.dropdown-column { display: flex; flex-direction: column; gap: 4px; }
.dropdown-column-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 8px; }
.dropdown-column-title a.dropdown-column-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.dropdown-column-title a.dropdown-column-link:hover { color: var(--primary); }
.dropdown-subhead { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); margin: 14px 0 6px; padding: 0 16px; }
.dropdown-item-compact { padding: 8px 16px; gap: 0; }
.dropdown-item-compact .dropdown-item-content span { -webkit-line-clamp: 1; }

/* Dropdown Item */
.dropdown-item { display: flex; gap: 16px; padding: 12px 16px; border-radius: 12px; transition: all 0.3s; text-decoration: none; color: inherit; background: transparent; border: 1px solid transparent; align-items: flex-start; }
.dropdown-item:hover { background: rgba(24,144,255,0.05); border-color: rgba(24,144,255,0.2); transform: translateX(4px); }
.dropdown-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.16) 0%, rgba(118, 75, 162, 0.11) 100%);
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.12);
}
.dropdown-item:hover .dropdown-icon {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.26) 0%, rgba(118, 75, 162, 0.18) 100%);
}
.dropdown-icon svg.icon {
    width: 18px;
    height: 18px;
    color: #5c64d4;
}
.dropdown-item-content { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.dropdown-item-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; flex-wrap: wrap; }
.dropdown-item-content strong { font-size: 0.95rem; font-weight: 600; color: var(--text); display: block; line-height: 1.35; }
.dropdown-item-content span { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.45; display: block; overflow: visible; word-wrap: break-word; }

/* Corner Badges */
.corner-badge { 
    display: inline-block; 
    padding: 3px 8px; 
    border-radius: 6px; 
    font-size: 0.65rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}
.corner-badge.popular { background: rgba(24,144,255,0.1); color: var(--primary); }
.corner-badge.discount { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%); color: white; }
.corner-badge.new { background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%); color: white; }
.corner-badge.free { background: linear-gradient(135deg, #722ed1 0%, #9254de 100%); color: white; }
.corner-badge.opensource { background: rgba(15, 23, 42, 0.08); color: #24292f; border: 1px solid rgba(15, 23, 42, 0.12); }
.pfc-ip-badges { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.corner-badge.ip-dynamic,
.corner-badge.ip-static { text-transform: none; letter-spacing: 0; font-size: 0.62rem; font-weight: 600; }
.corner-badge.ip-dynamic { background: rgba(24, 144, 255, 0.12); color: #096dd9; border: 1px solid rgba(24, 144, 255, 0.28); }
.corner-badge.ip-static {
  background: linear-gradient(135deg, #667eea 0%, #6d5ab8 50%, #764ba2 100%);
  color: #fff;
  border: 1px solid rgba(118, 75, 162, 0.45);
  box-shadow: 0 1px 2px rgba(102, 126, 234, 0.2);
}
.dropdown-products:not(.dropdown-solutions) .pfc-title-row .pfc-ip-badges .corner-badge { padding: 2px 6px; font-size: 0.58rem; }
.proxy-family-card--external:hover { border-color: rgba(36, 41, 47, 0.35); background: rgba(36, 41, 47, 0.04); box-shadow: 0 6px 18px rgba(36, 41, 47, 0.08); }

/* Auth Buttons */
.header-right { display: flex; align-items: center; gap: 12px; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); transition: all 0.3s; }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(24,144,255,0.05); }
.lang-icon { font-size: 1rem; }
.lang-current { font-weight: 600; }
.lang-arrow { font-size: 0.75rem; opacity: 0.6; }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--white); min-width: 140px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 12px; padding: 8px; z-index: 1001; border: 1px solid var(--border); animation: slideDown 0.2s; }
.lang-selector:hover .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.lang-dropdown a:hover { background: rgba(24,144,255,0.08); color: var(--primary); }

.auth-btns { display: flex; gap: 8px; }
.auth-btns a,
.auth-btns a:link,
.auth-btns a:visited,
.auth-btns a:hover,
.auth-btns a:active { text-decoration: none; }
.btn-text,
a.btn-text { background: transparent; border: none; color: var(--text-secondary); padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-text:hover,
a.btn-text:hover { color: var(--primary); background: rgba(24,144,255,0.08); }
.btn-primary,
a.btn-primary { background: var(--primary); color: white; padding: 8px 20px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(24,144,255,0.3); }
.dashboard-btn { background: rgba(24,144,255,0.1); color: var(--primary); padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; transition: all 0.3s; display: flex; align-items: center; gap: 6px; }
.dashboard-btn:hover { background: rgba(24,144,255,0.15); }
.user-avatar { width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; font-weight: 600; }

/* Modal Styles */

 to { transform: translateY(0); opacity: 1 } }











/* Google Login Button */




.google-icon { flex-shrink: 0; }

/* Divider */
.divider { display: flex; align-items: center; text-align: center; margin: 24px 0; color: var(--text-light); font-size: 0.85rem; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.divider span { padding: 0 12px; }

/* Checkbox */
.checkbox-group { margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--primary); }
.checkbox-label a { color: var(--primary); text-decoration: none; font-weight: 500; }
.checkbox-label a:hover { text-decoration: underline; }








@media (max-width: 992px) {
    body { padding-top: 56px; }
}

.footer { background: #0a1628; color: white; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-top: 16px; font-size: 0.95rem; }
.footer-support-email { margin-top: 8px !important; }
.footer-support-email a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-support-email a:hover { color: #fff; }
.footer-company-name { margin-top: 10px !important; color: rgba(255,255,255,0.55) !important; font-size: 0.88rem !important; }
.footer-company-address { margin-top: 4px !important; color: rgba(255,255,255,0.42) !important; font-size: 0.8rem !important; line-height: 1.55 !important; max-width: 280px; }
.footer-social { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: none; background: transparent; text-decoration: none; transition: opacity 0.25s, transform 0.25s; }
.footer-social-link:hover { opacity: 1; transform: translateY(-1px); }
.footer-social-link img { display: block; width: 22px; height: auto; opacity: 0.72; transition: opacity 0.25s; }
.footer-social-link:hover img { opacity: 1; }
.footer h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: white; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; margin: 0; }
.footer-legal-links { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-legal-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.9); }
.footer-legal-sep { color: rgba(255,255,255,0.22); user-select: none; }
.footer .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; font-weight: 700; box-shadow: 0 4px 12px rgba(24,144,255,0.3); }
.footer .logo span { font-size: 1.5rem; font-weight: 700; color: white; }
