/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #0a0e1a;
    color: #c8d6e5;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { color: #ffffff; font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.section-subtitle {
    color: #8892b0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.text-center { text-align: center; }

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-blue {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    color: #fff;
}
.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}
.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    color: #667eea;
}
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* === Header / Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    color: #8892b0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
    color: #8892b0;
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* === Hero Section === */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero .subtitle {
    font-size: 1.25rem;
    color: #8892b0;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 3rem 0;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat .stat-label {
    font-size: 0.9rem;
    color: #8892b0;
    margin-top: 4px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #8892b0;
}
.hero-badge-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
}

/* === Trust Badges === */
.trust-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.01);
}
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8892b0;
    font-size: 0.95rem;
}
.trust-icon {
    width: 48px;
    height: 48px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* === Features === */
.features-section { background: #0a0e1a; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: #8892b0; font-size: 0.95rem; line-height: 1.7; }

/* === Global Network / Servers === */
.servers-section {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1629 50%, #0a0e1a 100%);
    position: relative;
}
.servers-visual {
    text-align: center;
    margin: 3rem 0;
    padding: 60px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.servers-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.globe-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    display: block;
}
.server-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.server-tag {
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #a8b2d1;
    transition: all 0.3s;
}
.server-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
}
.server-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}
.server-stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}
.server-stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #667eea;
}
.server-stat-card .stat-label {
    font-size: 0.9rem;
    color: #8892b0;
    margin-top: 8px;
}

/* === Testimonials === */
.testimonials-section { background: #0a0e1a; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: #f5a623;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    color: #a8b2d1;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.testimonial-name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: #8892b0; }

/* === Pricing === */
.pricing-section {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1629 100%);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.pricing-card.popular {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.05);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-name {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}
.pricing-duration {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 24px;
}
.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.pricing-price .currency { font-size: 1.2rem; vertical-align: super; }
.pricing-price .period { font-size: 0.9rem; color: #8892b0; font-weight: 400; }
.pricing-original {
    font-size: 0.9rem;
    color: #8892b0;
    text-decoration: line-through;
    margin-bottom: 24px;
    min-height: 1.4em;
}
.pricing-features {
    text-align: left;
    margin: 24px 0;
    flex-grow: 1;
}
.pricing-features li {
    padding: 8px 0;
    color: #a8b2d1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: '\2713';
    color: #667eea;
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-card .btn { width: 100%; margin-top: auto; }
.pricing-trial {
    text-align: center;
    margin-top: 3rem;
    padding: 24px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
}
.pricing-trial p { color: #a8b2d1; margin-bottom: 0; }

/* === FAQ === */
.faq-section { background: #0a0e1a; }
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(102, 126, 234, 0.3); }
.faq-question {
    padding: 24px 30px;
    font-weight: 600;
    color: #fff;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-question-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #667eea;
    flex-shrink: 0;
}
.faq-answer {
    padding: 0 30px 24px 74px;
    color: #8892b0;
    font-size: 0.95rem;
    line-height: 1.8;
}
.faq-answer ol {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 8px;
}
.faq-answer ol li {
    padding: 4px 0;
}

/* === Footer === */
.footer {
    background: #060911;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand p {
    color: #8892b0;
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: #8892b0;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.3s;
}
.footer-col a:hover { color: #667eea; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: #5a6578; font-size: 0.85rem; margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #5a6578; font-size: 0.85rem; }
.footer-bottom-links a:hover { color: #667eea; }

/* === Floating CTA === */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}
.floating-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    transition: all 0.3s;
}
.floating-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.7);
    color: #fff;
}
.floating-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* === Page Hero (for inner pages) === */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: #8892b0; font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* === Breadcrumb === */
.breadcrumb {
    padding: 100px 0 0;
    font-size: 0.85rem;
}
.breadcrumb a { color: #8892b0; }
.breadcrumb a:hover { color: #667eea; }
.breadcrumb span { color: #5a6578; margin: 0 8px; }

/* === Detail Page Content === */
.content-section { padding: 60px 0 100px; }
.content-block {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 40px;
}
.content-block h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.content-block p {
    color: #a8b2d1;
    line-height: 1.9;
}
.content-block ol {
    list-style: decimal;
    padding-left: 24px;
    margin-top: 12px;
}
.content-block ol li {
    padding: 8px 0;
    color: #a8b2d1;
    line-height: 1.8;
}
.content-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* === Legal Pages === */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.legal-content p {
    color: #a8b2d1;
    line-height: 1.9;
    margin-bottom: 1rem;
}
.legal-content ul {
    padding-left: 24px;
    margin-bottom: 1rem;
}
.legal-content ul li {
    list-style: disc;
    color: #a8b2d1;
    padding: 4px 0;
    line-height: 1.8;
}

/* === Responsive === */
@media (max-width: 1199px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .server-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1rem; }
    .hero-stats { gap: 30px; }
    .hero-stat .stat-number { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .server-stats { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .content-block { padding: 28px 20px; }
    .faq-answer { padding-left: 30px; }
    .floating-cta a { padding: 14px 22px; font-size: 0.85rem; }
    .btn { padding: 12px 28px; }
    .trust-grid { gap: 24px; }
}
