@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #050505;
    --surface-color: #0f0f10;
    --surface-elevated: #1a1a1c;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-highlight: rgba(255, 255, 255, 0.1);

    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #444444;

    --primary-color: #ffffff;
    --primary-glow: rgba(255, 255, 255, 0.05);
    --accent-color: #ffffff;

    --success: #6366f1;
    --warning: #444444;
    --error: #222222;

    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) var(--bg-color);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Glassmorphism Refined */
.glass {
    background: rgb(255 255 255 / 4%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.glass:hover {
    border-color: var(--border-highlight);
}

/* Navigation System */
.glass-nav {
    margin: 20px 40px;
    padding: 12px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

/* Sophisticated Buttons */
.btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px -1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -4px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-highlight);
    transform: translateY(-1px);
}

/* Typography Utility */
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.25rem; line-height: 1.2; }
p { color: var(--text-secondary); }

.text-gradient {
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.top-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.top-nav-link:hover { color: #fff; }
.top-nav-link.active { color: #fff; font-weight: 700; }

.top-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .glass-nav {
        margin: 15px 20px;
        padding: 10px 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 40px; /* Further increased as per user image request */
    }

    .glass-nav {
        margin: 10px 20px;
        padding: 10px 24px;
    }

    /* Navigation */
    .links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(30px);
        padding: 100px 40px;
        gap: 32px;
        z-index: 2000;
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        align-items: flex-start !important;
    }

    .links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
        color: #fff;
        font-size: 1.5rem;
        z-index: 3000;
        margin-left: 16px;
    }

    .nav-right {
        margin-left: auto;
    }

    /* Hero */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 1.8rem !important; }

    .hero-title { font-size: 2.5rem !important; }
    .hero-subtitle { font-size: 1rem !important; }
    .hero-image-container { height: 200px !important; }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Contact Form */
    form { grid-template-columns: 1fr !important; }
    .glass-card { padding: 24px !important; }
}