* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.header-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-info i {
    color: #4299e1;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

.header-actions a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-actions .btn-register {
    background: #4299e1;
}

.header-actions .btn-register:hover {
    background: #3182ce;
}

nav {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
}

.banner {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4299e1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.3s;
}

.banner .btn:hover {
    background: #3182ce;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.vpn-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vpn-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #4299e1;
    transition: all 0.3s;
}

.vpn-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #2c5282;
}

.vpn-card .vpn-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.vpn-card h3 {
    font-size: 18px;
    color: #1a365d;
    flex: 1;
    margin-right: 15px;
}

.vpn-card .tag {
    display: inline-block;
    padding: 3px 10px;
    background: #ebf8ff;
    color: #3182ce;
    font-size: 12px;
    border-radius: 4px;
}

.vpn-card .supplier {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.vpn-card p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vpn-card .contact-info {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.vpn-card .contact-info span {
    margin-right: 15px;
}

.vpn-card .btn-detail {
    display: inline-block;
    padding: 8px 20px;
    background: #4299e1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.vpn-card .btn-detail:hover {
    background: #3182ce;
}

.detail-page {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.detail-page .detail-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.detail-page .detail-header h1 {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 15px;
}

.detail-page .detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.detail-page .detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-page .detail-contact {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #4299e1;
}

.detail-page .detail-contact h3 {
    font-size: 16px;
    color: #1a365d;
    margin-bottom: 15px;
}

.detail-page .detail-contact .contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.detail-page .detail-content {
    line-height: 1.9;
    font-size: 15px;
    color: #444;
}

.detail-page .detail-content h4 {
    font-size: 18px;
    color: #1a365d;
    margin: 25px 0 15px;
}

.detail-page .detail-content p {
    margin-bottom: 15px;
}

.detail-page .detail-content ul {
    list-style: none;
    padding-left: 0;
}

.detail-page .detail-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.detail-page .detail-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4299e1;
    font-weight: bold;
}

.form-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-section h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.checkbox-group label {
    display: inline-block;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.form-group.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #4299e1;
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4299e1;
    color: #fff;
    padding: 3px 15px;
    border-radius: 4px;
    font-size: 12px;
}

.pricing-card h3 {
    font-size: 22px;
    color: #1a365d;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 42px;
    color: #4299e1;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-card .price span {
    font-size: 16px;
    color: #999;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.pricing-card ul li {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

.pricing-card ul li i {
    color: #48bb78;
    margin-right: 8px;
}

.pricing-card .btn-pricing {
    display: inline-block;
    padding: 12px 30px;
    background: #4299e1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: background 0.3s;
}

.pricing-card .btn-pricing:hover {
    background: #3182ce;
}

.login-register {
    max-width: 450px;
    margin: 0 auto;
}

.login-register .form-section {
    padding: 50px;
}

.login-register .form-section h2 {
    margin-bottom: 35px;
}

.login-register .form-group {
    margin-bottom: 25px;
}

.login-register .forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.login-register .forgot-password a {
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
}

.login-register .forgot-password a:hover {
    text-decoration: underline;
}

.login-register .switch {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.login-register .switch a {
    color: #4299e1;
    text-decoration: none;
}

.login-register .switch a:hover {
    text-decoration: underline;
}

.text-page {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.text-page h1 {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.text-page h2 {
    font-size: 20px;
    color: #1a365d;
    margin: 30px 0 15px;
}

.text-page h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.text-page p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
}

.text-page ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.text-page ul li {
    color: #555;
    margin-bottom: 8px;
}

.text-page ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.text-page ol li {
    color: #555;
    margin-bottom: 8px;
}

footer {
    background: #1a365d;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section .contact-info {
    font-size: 14px;
    color: #a0aec0;
    line-height: 2;
}

.footer-section .contact-info i {
    margin-right: 8px;
    color: #4299e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: #a0aec0;
}

.footer-bottom .icp {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #a0aec0;
}

.footer-bottom .icp a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-bottom .icp a:hover {
    color: #4299e1;
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

@media (max-width: 992px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .vpn-list {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .banner h1 {
        font-size: 28px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}