:root {
    --primary-color: #ff5e62;
    --secondary-color: #ff9966;
    --dark-bg: #0f0c29;
    --darker-bg: #0b091a;
    --text-color: #f0f0f0;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(255, 94, 98, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #240b36 100%);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(255, 94, 98, 0.3);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 94, 98, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(255, 94, 98, 0.1);
    box-shadow: var(--glow-shadow);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Layout */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-section {
    max-width: 100%;
    padding: 100px 0;
}

.dark-section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #ffffff, #ff9966, #ff5e62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
}

/* Advantages */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 94, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Status */
.status-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.status-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 700;
    border-bottom: 1px solid var(--glass-border);
}

.status-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    align-items: center;
    transition: background 0.2s ease;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-item:last-child {
    border-bottom: none;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00e676;
    margin-right: 8px;
    box-shadow: 0 0 10px #00e676;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.latency {
    font-family: monospace;
    color: #00e676;
}

/* Pricing */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
}

.pricing-card {
    position: relative;
    text-align: center;
    padding: 40px 30px;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0;
    color: white;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li i {
    color: #00e676;
}

.features li.disabled {
    color: var(--text-muted);
}

.features li.disabled i {
    color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.user-info h4 {
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 20px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Knowledge Base */
.kb-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.kb-card {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.kb-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.kb-card h3 {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.kb-card:hover h3 {
    color: var(--primary-color);
}

.kb-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 12, 41, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .navbar .btn {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .status-header, .status-item {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.9rem;
        padding: 15px;
    }
    
    .status-header span:nth-child(2), .status-item span:nth-child(2) {
        display: none;
    }
}
