:root {
    --primary: #15847D;
    --primary-dark: #0F6A63;
    --background: #0F172A;
    --surface: #1E293B;
    --text: #F8FAFC;
    --accent: #15847D;
    --container-bg: rgba(30, 41, 59, 0.8);
    --shadow: 0 4px 24px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Common components */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, 
        rgba(124, 58, 237, 0.1) 0%, 
        rgba(56, 189, 248, 0.05) 50%, 
        rgba(15, 23, 42, 1) 100%);
    z-index: -1;
}

nav {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: auto;
}

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.2;
    }

    .hero p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        max-width: 90%;
    }

    .feature-card h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
    }

    .feature-card p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .nav-links a {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    .logo {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .install-section h2 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .install-section h3 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }

    .install-section li {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    /* Enhanced responsive grid */
    .features-grid {
        gap: 1rem;
        padding: 0 1rem;
    }

    /* Better mobile handling */
    @media (max-width: 480px) {
        .hero {
            padding: 6rem 1rem 2rem;
        }

        .logo img {
            width: 40px;
        }

        .nav-links {
            gap: 0.5rem;
        }

        .install-section {
            margin: 1rem 0.5rem;
            padding: 1rem 0.5rem;
        }

        code {
            font-size: 0.8rem;
            padding: 0.5rem;
        }

        footer p {
            font-size: 0.75rem;
        }
    }

    /* Fluid typography base */
    html {
        font-size: 100%;
    }

    @media (max-width: 768px) {
        html {
            font-size: 90%;
        }
    }

    @media (max-width: 480px) {
        html {
            font-size: 85%;
        }
    }

    /* Page Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.transition-overlay.active {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}