:root {
    --primary: #0066cc;
    --primary-alt: #004499;
    --secondary: #003366;
    --accent: #ff6600;
    --bg-dark: #ffffff;
    --text-light: #2c3e50;
    --text-dim: #5c6c7c;
    --glass: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effect (Lighter) */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 102, 0, 0.05), transparent 40%);
    z-index: -1;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a252f;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    margin-top: -60px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(135deg, #1a252f 30%, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(90deg, var(--primary), var(--primary-alt));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
}

/* Sections */
section {
    padding: 6rem 10%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 1.2rem;
}

.card p {
    color: var(--text-dim);
}

/* Footer */
footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: #f8f9fa;
}

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

.footer-links a {
    color: var(--text-dim);
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
}

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

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

/* Pricing Section */
.pricing-section {
    padding: 6rem 10%;
    background: #f8f9fa;
    text-align: center;
}

.pricing-table-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.pricing-table th, .pricing-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
    font-weight: 700;
    color: #1a252f;
    font-size: 1.1rem;
    background: #fdfdfd;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(0, 102, 204, 0.02);
}

.pkg-name {
    font-weight: 900;
    font-size: 1.2rem;
}

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

.buy-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s;
}

.buy-btn:hover {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}

/* Node Latency Section */
.nodes-section {
    padding: 6rem 10%;
    background: #ffffff;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.node-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.node-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.node-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a252f;
}

.latency {
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem;
    border-radius: 10px;
    font-weight: 600;
}

.latency.low {
    color: #009944;
    background: rgba(0, 153, 68, 0.1);
}

.latency.mid {
    color: #e68a00;
    background: rgba(230, 138, 0, 0.1);
}
