:root {
    --primary-color: #ff7eb3;
    --primary-hover: #ff5e9c;
    --secondary-color: #7d7dfa;
    --bg-dark: #0f111a;
    --card-bg: rgba(25, 29, 45, 0.8);
    --text-main: #ffffff;
    --text-muted: #cbd5e0;
    --accent-flower: #ffb7d5;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.bg-image {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: 
        linear-gradient(rgba(15, 17, 26, 0.75), rgba(15, 17, 26, 0.85)),
        url('assets/bg.png');
    background-size: cover;
    background-position: center;
    animation: kenBurns 40s linear infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-flower));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content .description {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-main {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-main:hover {
    background: var(--primary-hover);
    box-shadow: 0 10px 20px rgba(125, 125, 250, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(125, 125, 250, 0.05);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Pricing */
.pricing {
    padding: 8rem 0;
    background: rgba(125, 125, 250, 0.02);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

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

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.plan-features li strong {
    color: var(--text-main);
}

.btn-subscribe {
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    color: white;
    transition: all 0.3s;
}

.btn-subscribe.primary {
    background: var(--primary-color);
    border: none;
}

.btn-subscribe:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* Status */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.node-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-info .name {
    font-weight: 600;
    display: block;
}

.node-info .latency {
    font-size: 0.9rem;
    color: #48bb78;
}

.node-status-dot {
    width: 10px;
    height: 10px;
    background: #48bb78;
    border-radius: 50%;
    box-shadow: 0 0 10px #48bb78;
}

/* Footer */
.footer {
    padding: 5rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.1rem;
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .pricing-card.highlighted {
        transform: scale(1);
    }
}
