:root {
    --primary-color: #e53e3e;
    --primary-hover: #c53030;
    --text-dark: #2a2a2d;
    --text-muted: #4b5563;
    --bg-light: #f3f4f6;
    --bg-gradient: radial-gradient(circle at 80% 50%, #e0f2fe 0%, #ffffff 70%);
    --card-bg: #ffffff;
    --border-color: #f3f4f6;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    margin: 0 auto;
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #eff8ff;
}
.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 22px;
    color: #0640b7;
    text-decoration: none;
}
.logo svg {
    width: auto;
    height: auto;
    display: block;
    color: #3e5fff;
}
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item a{
    color: var(--text-dark);
    text-decoration: none;
}
.nav-secondary {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    font-size: 14px;
}
.nav-secondary a {
    color: var(--text-dark);
    text-decoration: none;
}
.nav-secondary li{
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}
.hero-section {
    background: var(--bg-gradient);
    padding: 160px 40px 100px 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(../img/hero-phone-mockup-country-protected-lg-zh.avif);
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
}
.rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.rating-badge .star {
    color: #ff4a7d;
}
.rating-badge .brand-tech {
    font-weight: 700;
    color: #111827;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 32px;
}
.hero-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
}
.hero-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}
.promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    width: fit-content;
}
.promo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b5cdf5;
}
.promo-icon2{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b5cdf5;
}
.promo-text {
    font-size: 18px;
    font-weight: 700;
}
.hero-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-btn-group .btn-primary {
    padding: 16px 40px;
    font-size: 16px;
    width: fit-content;
}
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.features-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 24px;
}
.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}
.gap-y-6{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.card-tag {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.card-link {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.card-user-profile {
    display: flex;
    flex-direction: column;
}
.card-user-profile .img-box {
    padding: 0px;
    width: 100%;
    height: 368px;
    background-color: #e2e8f0;
    position: relative;
}
.card-user-profile .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-user-profile .os-icons {
    width: 268px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}
.card-user-profile .os-icons img {
    height: 42px;
}
.card-servers {
    background-color: #ffffff;
}
.card-servers .flag-row {
    margin: 16px 0;
}
.card-servers .flag-row img{
    height: 38px;
}
.card-map {
    grid-row: span 1;
    background-color: #f8fafc;
    padding: 0;
    height: 320px;
    position: relative;
}
.card-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-dark-blue {
    grid-row: span 2;
    background: radial-gradient(circle at 50% 0%, #1e40af 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.card-dark-blue .card-title {
    font-size: 28px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 32px;
}

.animatedTag {
    animation: rotateAnimation 2s linear infinite;
    transform-origin: top left
}
.text-accent {
    color: #3e5fff;
}
@media (prefers-reduced-motion) {
    .animatedTag {
        animation: none
    }
}

@keyframes rotateAnimation {
    0% {
        transform: rotate(0)
    }
    10% {
        transform: rotate(-10deg)
    }
    20% {
        transform: rotate(10deg)
    }
    30% {
        transform: rotate(-8deg)
    }
    40% {
        transform: rotate(8deg)
    }
    50% {
        transform: rotate(-6deg)
    }
    60% {
        transform: rotate(6deg)
    }
    70% {
        transform: rotate(-4deg)
    }
    80% {
        transform: rotate(4deg)
    }
    90% {
        transform: rotate(-1deg)
    }
    to {
        transform: rotate(1deg)
    }
}

.antivirus-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    border-radius: 16px;
    padding: 40px;
    color: #ffffff;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.antivirus-banner .banner-tag {
    font-size: 14px;
    color: #a5b4fc;
    font-weight: 500;
}
.antivirus-banner .banner-title {
    font-size: 32px;
    font-weight: 700;
}
.antivirus-banner .banner-desc {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 800px;
    line-height: 1.6;
}
.why-vpn-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.why-vpn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}
.why-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.why-card .why-icon {
    font-size: 32px;
}
.why-card .why-title {
    font-size: 22px;
    font-weight: 700;
}
.why-card .why-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
.threat-dashboard {
    background-color: #0f172a;
    border-radius: 24px;
    padding: 48px;
    color: #ffffff;
    margin-top: 64px;
}
.threat-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
}
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.threat-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid #334155;
    padding-right: 20px;
}
.threat-box:last-child {
    border-right: none;
    padding-right: 0;
}
.threat-num {
    font-size: 56px;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}
.threat-label {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}
.site-footer {
    background-color: #0b0e17;
    color: #9ca3af;
    padding: 80px 40px 40px 40px;
    margin-top: 100px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 1px solid #22293a;
    padding-bottom: 48px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    .hero-features li, .promo-banner, .hero-btn-group .btn-primary {
        margin-left: auto;
        margin-right: auto;
    }
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
    .card-user-profile {
        grid-row: span 1;
    }
    .card-dark-blue {
        grid-column: span 2;
    }
    .why-vpn-grid, .threat-grid {
        grid-template-columns: 1fr;
    }
    .threat-box {
        border-right: none;
        border-bottom: 1px solid #334155;
        padding-bottom: 24px;
        padding-right: 0;
    }
    .threat-box:last-child {
        border-bottom: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    .nav-links, .nav-secondary {
        display: none;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .card-dark-blue {
        grid-column: span 1;
    }
    .hero-title {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}