@charset "utf-8";

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #fdbb2d;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #7f8c8d;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    max-width: 1660px;
    margin: 0 auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 布局和容器 */
.container {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

section {
    margin-bottom: 3rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    transition: var(--transition);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
}

section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 标题样式 */
h2 {
    color: var(--dark-color);
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3, .card-title {
    color: var(--dark-color);
    margin: 2rem 0 1.2rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

/* 头部和导航 */
header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2' /%3E%3C/svg%3E");
    background-size: 80px;
    opacity: 0.3;
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

nav {
    background-color: var(--dark-color);
    padding: 1rem 0;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
}

nav ul li a:hover,
nav a.active {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--primary-color);
    transition: right 0.3s ease;
    padding-top: 5rem;
    z-index: 100;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    transition: var(--transition);
    border-radius: 5px;
}

.mobile-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1660" height="600" viewBox="0 0 1660 600"><rect width="1660" height="600" fill="%232c3e50"/><circle cx="200" cy="100" r="50" fill="%233498db" opacity="0.2"/><circle cx="400" cy="300" r="80" fill="%23e74c3c" opacity="0.2"/><circle cx="1200" cy="200" r="60" fill="%233498db" opacity="0.2"/><circle cx="1400" cy="400" r="70" fill="%23e74c3c" opacity="0.2"/></svg>') center/cover no-repeat;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(to right, var(--dark-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-accent {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.btn-accent:hover {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* VPN卡片 */
.vpn-providers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 16px 0;
}

.vpn-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    background-color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vpn-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.vpn-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.rating {
    color: #f39c12;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stars {
    color: #f39c12;
    font-size: 1.1rem;
}

.rating-value {
    font-weight: bold;
    color: var(--text-color);
}

.price {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin: 1.2rem 0;
}

.price-period {
    font-size: 1rem;
    color: #777;
    font-weight: normal;
}

.features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.features li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.5;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.features li::before {
    content: '✓';
    color: var(--success);
    margin-right: 10px;
    font-weight: bold;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* 广告区域 */
.ad-banner {
    width: 100%;
    max-width: 1660px;
    height: auto;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.3s;
    padding-top: 20px;
}

.ad-banner p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.ad-banner:hover {
    transform: translateY(-3px);
}

.zjiteminfo {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.zjiteminfo img {
    border-radius: 16px;
    max-width: 100%;
    height: auto;
}

.zjiteminfo a {
    color: #e82f6e;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
}

.zjiteminfo:hover {
    transform: translateY(-3px);
    border-radius: 16px;
}

/* 步骤列表 */
.how-to-list {
    list-style-type: none;
    counter-reset: step-counter;
}

.how-to-list li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 4rem;
    position: relative;
    margin-top: 1rem;
}

.how-to-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 警告和提示 */
.warning, .danger, .alert {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 5px solid;
}

.warning {
    background-color: #fff4e5;
    border-left-color: #f39c12;
}

.warning h4 {
    color: #e67e22;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger {
    background-color: #ffebee;
    border-left-color: #e74c3c;
}

.danger h4 {
    color: #c0392b;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-table th, .info-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: left;
}

.info-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.info-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.info-table tr:hover {
    background-color: #f0f7ff;
}

/* 协议比较 */
.protocol-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.protocol-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.protocol-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.protocol-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.country-flag {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid #ddd;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-block {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.content-block:nth-child(1) { animation-delay: 0.1s; }
.content-block:nth-child(2) { animation-delay: 0.2s; }
.content-block:nth-child(3) { animation-delay: 0.3s; }
.content-block:nth-child(4) { animation-delay: 0.4s; }
.content-block:nth-child(5) { animation-delay: 0.5s; }
.content-block:nth-child(6) { animation-delay: 0.6s; }
.content-block:nth-child(7) { animation-delay: 0.7s; }
.content-block:nth-child(8) { animation-delay: 0.8s; }
.content-block:nth-child(9) { animation-delay: 0.9s; }
.content-block:nth-child(10) { animation-delay: 1s; }

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* 二维码 */
.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.qr-code img {
    max-width: 100%;
    height: auto;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 2rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 复制部分 */
.copy-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.copy-container {
    display: flex;
    background-color: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.copy-input {
    flex-grow: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: #f5f5f5;
    font-size: 0.9rem;
}

.copy-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.copy-btn:hover {
    background-color: #2980b9;
}

.copy-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 支付部分 */
.payment-section {
    background-color: #f0f8ff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.payment-details h3 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-align: center;
    font-size: 32px;
}

.payment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.payment-info-card {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
}

.payment-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.payment-info-card h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.payment-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.payment-method:hover {
    transform: translateY(-5px);
}

.payment-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.paypal-button {
    background-color: #0070ba;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin: 1rem 0;
}

.paypal-button:hover {
    background-color: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.paypal-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.wallet-address {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    word-break: break-all;
    margin: 1rem 0;
    border: 1px dashed #ddd;
    font-size: 0.9rem;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
    padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(1.5rem, 4vw, 1.875rem);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 10px 30px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 22px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 15px;
}

.copyright a {
    color: var(--text-light);
    text-decoration: none;
}

/* 统计数字 */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-color);
    font-weight: 500;
}

/* 广告类型 */
.ad-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ad-type {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.ad-type:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.ad-type.featured {
    border-top: 5px solid var(--accent-color);
    transform: scale(1.03);
}

.ad-type.featured::after {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ad-type h3 {
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

/* 流程步骤 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: step-counter;
}

.process-step {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem 2rem;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

/* 链接广告 */
.link-ads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-ad {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.link-ad:hover {
    transform: translateY(-5px);
}

.link-ad h3 {
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.link-ad-icon {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
}

/* 卡片广告 */
.card-ads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card-ad {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.card-ad:hover {
    transform: translateY(-8px);
}

.card-ad h3 {
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.card-ad-example {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px dashed #ddd;
    text-align: left;
    transition: all 0.3s;
}

.card-ad-example:hover {
    box-shadow: var(--shadow);
}

.card-ad-example h4 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.card-ad-example p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #555;
}

.card-ad-example .cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: background 0.3s;
}

.card-ad-example .cta:hover {
    background: var(--dark-color);
}

/* 推荐 */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #f0f0f0;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-info p {
    color: #777;
    font-size: 0.9rem;
}

/* 常见问题 */
.faq-container {
    margin: 3rem 0;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* 联系表单 */
.contact-form {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.form-status {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 25px 0;
    display: none;
    font-weight: 500;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ad-label {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ad-placeholder {
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 8px;
    padding: 40px 20px;
    margin: 15px 0;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.card-icon {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 2rem;
    }
    
    .vpn-providers {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav.desktop-nav {
        display: none;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 10px 25px;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .vpn-providers {
        grid-template-columns: 1fr;
    }
    
    .how-to-list li {
        padding-left: 3.5rem;
    }
    
    .copy-container {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .copy-input {
        padding: 1rem;
        text-align: center;
    }
    
    .copy-btn {
        padding: 0.8rem;
        justify-content: center;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .card, .ad-type, .payment-method, .process-step, .link-ad, .card-ad, .testimonial {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .mobile-menu {
        width: 80%;
    }
    
    .protocol-comparison {
        grid-template-columns: 1fr;
    }
    
    .stats,
    .ad-types,
    .process-steps,
    .link-ads,
    .card-ads,
    .testimonials,
    .payment-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 1.2rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
    }
    
    .wallet-address {
        font-size: 0.8rem;
    }
    
    .footer-container {
        padding: 10px 15px;
        gap: 30px;
    }
    
    .footer-col h3 {
        font-size: 1.3rem;
    }
    
    .payment-section,
    .advertising-section {
        padding: 1.5rem;
    }
    
    .how-to-list li {
        padding-left: 2.5rem;
    }
    
    .how-to-list li::before {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* 小屏幕设备特殊适配 */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .vpn-card {
        padding: 1.2rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
}

/* 横屏模式适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        margin-bottom: 1.5rem;
    }
    
    .mobile-menu {
        overflow-y: auto;
        padding-top: 3rem;
    }
}

/* 高分辨率屏幕适配 */
@media (min-resolution: 2dppx) {
    .logo {
        font-weight: 600;
    }
    
    .btn {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* 黑暗模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f0f0f0;
        --light-color: #2a2a2a;
        --dark-color: #f0f0f0;
    }
    
    body {
        background-color: #1a1a1a;
        color: var(--text-color);
    }
    
    section {
        background-color: #2a2a2a;
    }
    
    .vpn-card,
    .protocol-card,
    .payment-method,
    .process-step,
    .link-ad,
    .card-ad,
    .testimonial,
    .stat-item,
    .ad-type,
    .card-ad-example,
    .faq-item,
    .contact-form {
        background-color: #2a2a2a;
        color: var(--text-color);
    }
    
    .info-table th {
        background-color: #333;
    }
    
    .info-table tr:nth-child(even) {
        background-color: #222;
    }
    
    .warning {
        background-color: #332a1c;
    }
    
    .danger {
        background-color: #332025;
    }
    
    .ad-placeholder {
        background: linear-gradient(45deg, #333, #444);
        color: #aaa;
    }
}

/* 新增样式：微调与增强 */

/* 增强焦点状态可访问性 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片响应式优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 增强卡片悬停效果 */
.vpn-card,
.protocol-card,
.payment-method,
.process-step,
.link-ad,
.card-ad,
.testimonial,
.stat-item,
.ad-type {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 加载性能优化 */
.fade-in {
    will-change: opacity, transform;
}

/* 选择文本样式 */
::selection {
    background-color: var(--accent-color);
    color: white;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 打印样式优化 */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .btn,
    .mobile-menu-btn,
    .back-to-top,
    .mobile-menu,
    nav {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}