:root {
    --primary: #00e5ff;
    /* Cyan */
    --secondary: #7b2cbf;
    /* Purple */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-darker: #020617;
    /* Slate 950 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
}

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

/* Fix dropdown options visibility */
select option {
    background-color: var(--bg-dark);
    color: white;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(123, 44, 191, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.1), transparent 25%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: white;
    line-height: 1.1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: #00acc1;
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    color: white !important;
    border: 1px solid transparent;
    box-shadow: 0 0 20px rgba(0, 172, 193, 0.3);
}

.btn-primary:hover {
    background: #26c6da;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(38, 198, 218, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content-sovereign {
    grid-template-columns: 0.8fr 1.2fr;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(123, 44, 191, 0.2);
    border: 1px solid rgba(123, 44, 191, 0.4);
    color: #dfbbfb;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.powered-by {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Visual Card */
.visual-card {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-10px);
}

.visual-card-alt {
    transform: perspective(1000px) rotateY(5deg) rotateX(1deg);
}

.visual-card-alt:hover {
    transform: perspective(1000px) rotateY(2deg) rotateX(0.5deg) translateY(-10px);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #a5b3ce;
    overflow-x: auto;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Features */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grid-list-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .grid-list-2 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-highlight);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Responsive Layout Helpers */
.split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */
/* Responsive */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-sub {
        margin: 0 auto 2.5rem auto;
        font-size: 1.1rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .visual-card,
    .visual-card-alt {
        transform: none;
        margin-top: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .split-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .split-card>div:last-child {
        padding-left: 0 !important;
        border-left: none !important;
        padding-top: 2rem;
        border-top: 1px solid var(--glass-border);
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .footer .container>div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer a {
        margin-right: 0 !important;
        /* Override inline styles */
    }
}