:root {
    --bg-color: #ffffff;
    --card-bg: #f8fafc;
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.2);
    --secondary: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --nav-height: 80px;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

span {
    color: var(--primary);
}

/* Fonts */
@font-face {
    font-family: 'Product Sans';
    src: url('assets/fonts/product_sans/Product Sans Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Product Sans';
    src: url('assets/fonts/product_sans/Product Sans Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit_font/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Outfit', sans-serif;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text {
    font-family: 'Product Sans', sans-serif;
    color: #000000;
    font-weight: 700;
}

.logo-text span {
    background: linear-gradient(135deg, #2563eb 0%, #cd5307 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
}

.nav-links a:not(.btn) {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.nav-tag {
    font-size: 0.75rem;
    background: linear-gradient(135deg, #2563eb 0%, #cd5307 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 700;
}

.beta-tag {
    font-size: 0.7rem;
    color: slateblue;
    background: rgba(90, 37, 235, 0.1);
    padding: 5px 11px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    /* Slight alignment adjustment */
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(0);
    box-shadow: 0 6px 20px var(--primary-glow);
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.btn-rounded {
    border-radius: 50px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 6rem) 0 8rem;
    position: relative;
    background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Animation Property */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotation {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

/* Server Feature Card */
.server-feature {
    background: linear-gradient(#f8fafc, #f8fafc) padding-box,
        conic-gradient(from var(--gradient-angle), #2563eb, #d946ef, #f59e0b, #2563eb) border-box;
    border: 5px solid transparent;
    border-radius: 50%;
    animation: rotation 4s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}



.server-visual {
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.world-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Location Pills */
.location-pill {
    position: absolute;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 7;
}

.location-pill:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.location-pill .pill-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Features */
.features {
    padding: 8rem 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
    color: #0f172a;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: left;
    max-width: 450px;
    width: 100%;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: #eff6ff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.feature-card p {
    color: var(--text-muted);
}

/* Security CTA */
.security-cta {
    padding: 8rem 0;
}

.cta-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 6rem 2rem;
    border-radius: 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-card p {
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

.cta-card .btn-primary {
    background-color: #ffffff;
    color: var(--primary);
    box-shadow: none;
}

.cta-card .btn-primary:hover {
    background-color: #f8fafc;
}

/* Footer */
.footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    background-color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-card h2 {
        font-size: 2.5rem;
    }

    .server-feature {
        max-width: 100%;
    }

    .world-map {
        border-radius: 0 0 30px 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}