:root {
    --bg: #0b0b10;
    --surface: #14141d;
    --surface-light: #1e1e2a;
    --border: rgba(255, 255, 255, 0.06);
    --text: #f5f5f7;
    --text-muted: #9c9ca8;
    --accent-1: #7c3aed;
    --accent-2: #06b6d4;
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --transition: 0.25s ease;
    --danger: #ef4444;
    --success: #22c55e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%),
        linear-gradient(180deg, rgba(11, 11, 16, 0.9) 0%, rgba(11, 11, 16, 0.98) 100%);
    background-attachment: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(11, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.logo-icon {
    width: 36px; height: 36px; background: var(--gradient); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-weight: 500; color: var(--text-muted); transition: color var(--transition); font-size: 0.95rem; }
nav a:hover { color: var(--text); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px;
    border-radius: 10px; font-weight: 600; font-size: 0.95rem; transition: all var(--transition);
    cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--surface-light); border-color: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; z-index: 0; animation: floatGlow 8s ease-in-out infinite; }
.hero::before { top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%); }
.hero::after { bottom: -200px; left: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%); animation-delay: 2s; }
@keyframes floatGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 span.gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rotating-word-wrap { display: inline-block; position: relative; }
.rotating-word { display: inline-block; transition: opacity 0.4s ease, transform 0.4s ease; min-width: 150px; text-align: center; color: var(--accent-2); }
.rotating-word.fade-out { opacity: 0; transform: translateY(10px); }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--surface-light);
    border: 1px solid var(--border); border-radius: 50px; padding: 8px 16px;
    font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px;
}
.hero-badge .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Security check */
.security-check { padding: 40px 0; }
.security-card {
    background: var(--surface);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius);
    padding: 32px;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
    transition: all 0.4s ease;
}
.security-card.protected {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}
.security-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.security-dot { width: 12px; height: 12px; background: var(--danger); border-radius: 50%; animation: pulse 1.5s infinite; }
.security-dot.protected { background: var(--success); }
.security-title { font-weight: 700; color: var(--danger); font-size: 1.2rem; }
.security-title.protected { color: var(--success); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.security-item { background: var(--surface-light); border-radius: 8px; padding: 12px 16px; }
.security-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.security-value { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; font-weight: 500; color: var(--text); word-break: break-all; }
.security-warning { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; text-align: center; }
.security-warning b { color: var(--danger); }
.security-btn { text-align: center; }

/* Sections */
section { padding: 80px 0; }
.section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; font-size: 1.1rem; }

/* Server Status */
.server-status { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; margin-top: 24px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.server-item {
    background: var(--surface-light); border: 1px solid var(--border); border-radius: 12px;
    padding: 28px 20px; text-align: center; transition: all var(--transition);
}
.server-item:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.1); box-shadow: var(--shadow); }
.server-flag { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; margin: 0 auto 16px; display: block; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.server-name { font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.server-city { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.server-desc { display: inline-block; background: rgba(124,58,237,0.15); color: #c4b5fd; font-size: 0.8rem; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; font-weight: 500; }
.server-status-indicator { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.85rem; color: #22c55e; margin-bottom: 12px; }
.status-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 1.5s infinite; }
.server-ping { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.ping-value { color: var(--accent-2); font-weight: 600; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); box-shadow: var(--shadow); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px; background: var(--gradient);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 32px; height: 32px; fill: white; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; display: flex; flex-direction: column; transition: all var(--transition); position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.hit { border: 2px solid #f59e0b; animation: hitGlow 2s infinite; }
.price-card.popular { border: 2px solid #7c3aed; animation: popularGlow 2s infinite; }
@keyframes hitGlow { 0%,100%{box-shadow:0 0 15px rgba(245,158,11,0.4)} 50%{box-shadow:0 0 30px rgba(245,158,11,0.7)} }
@keyframes popularGlow { 0%,100%{box-shadow:0 0 15px rgba(124,58,237,0.4)} 50%{box-shadow:0 0 30px rgba(124,58,237,0.7)} }
.badge {
    position: absolute; top: -14px; right: 24px; font-size: 0.75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 4px;
}
.badge-hit { background: linear-gradient(135deg,#f59e0b,#f97316); color:#fff; animation: fireFlicker 1.5s infinite; }
.badge-popular { background: linear-gradient(135deg,#7c3aed,#06b6d4); color:#fff; animation: starPulse 2s infinite; }
@keyframes fireFlicker { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes starPulse { 0%,100%{box-shadow:0 0 0 0 rgba(124,58,237,0.4)} 50%{box-shadow:0 0 0 6px rgba(124,58,237,0)} }
.price-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.price-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; min-height: 42px; }
.price-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.price-features li { padding: 8px 0; color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.price-features li:last-child { border-bottom: none; }
.price-features .check { color: #22c55e; font-weight: bold; flex-shrink: 0; }

/* Payment Methods */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 24px; }
.payment-card {
    background: var(--surface-light); border: 1px solid var(--border); border-radius: 12px;
    padding: 24px 12px; text-align: center; transition: all var(--transition);
}
.payment-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); box-shadow: var(--shadow); }
.payment-icon { font-size: 2.5rem; margin-bottom: 8px; }
.payment-name { font-weight: 600; font-size: 0.95rem; }
.payment-note { color: var(--text-muted); font-size: 0.8rem; }

/* Reviews Carousel */
.reviews-container { position: relative; max-width: 800px; margin: 0 auto; }
.reviews-section {
    background: var(--surface); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border);
    margin: 0 60px;
}
.reviews-carousel { display: grid; position: relative; min-height: 220px; }
.review-card {
    grid-area: 1 / 1; opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: center; padding: 0 20px; pointer-events: none;
}
.review-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.review-avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--gradient);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff;
    margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(124,58,237,0.4);
}
.review-text { color: var(--text); font-size: 1.1rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-name { font-weight: 700; color: var(--text-muted); }
.review-rating { color: #f59e0b; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted);
    opacity: 0.4; cursor: pointer; transition: all var(--transition);
}
.carousel-dot.active { background: var(--accent-2); opacity: 1; width: 24px; border-radius: 4px; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 3.5rem; color: var(--text-muted); background: none; border: none;
    cursor: pointer; transition: color var(--transition); z-index: 10;
    line-height: 1;
}
.carousel-arrow:hover { color: var(--text); }
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }

/* How to connect */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-bottom: 40px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.step-number {
    position: absolute; top: 24px; right: 24px; width: 40px; height: 40px;
    background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.step-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; margin-top: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }
.how-cta { text-align: center; margin-top: 20px; }
.how-cta p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 16px; }

/* Animated CTA button */
.btn-animated {
    background: linear-gradient(135deg, #7c3aed, #06b6d4, #7c3aed);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-animated:hover { animation-play-state: paused; background-position: 100% 50%; }
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; transition: background var(--transition); }
.faq-question:hover { background: var(--surface-light); }
.faq-question .icon { font-size: 1.2rem; transition: transform var(--transition); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition); color: var(--text-muted); }
.faq-item.active .faq-answer { padding: 15px 24px 20px; max-height: 200px; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--surface); }
.footer-inner { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--gradient); color: #fff; border: none; border-radius: 50%;
    font-size: 24px; cursor: pointer; box-shadow: 0 4px 14px rgba(124,58,237,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all var(--transition); z-index: 200;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 6px 20px rgba(124,58,237,0.6); transform: translateY(-2px); }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-inner { height: 64px; }
    nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        z-index: 99;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    nav.open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .reviews-section { margin: 0 30px; }
    .carousel-arrow { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .btn-lg { padding: 12px 20px; font-size: 0.95rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 20px; }
}