:root {
    /* Colors - HSL */
    --primary-h: 211;
    --primary-s: 87%;
    --primary-l: 39%;
    --color-primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --color-primary-dark: hsl(var(--primary-h), var(--primary-s), 30%);

    --bg-h: 220;
    --bg-s: 30%;
    --bg-l: 8%;
    --color-bg: hsl(var(--bg-h), var(--bg-s), var(--bg-l));
    --color-bg-light: hsl(var(--bg-h), var(--bg-s), 12%);

    --text-main: hsl(0, 0%, 100%);
    --text-muted: hsl(220, 10%, 70%);

    --color-accent: hsl(190, 90%, 50%);

    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Defaults */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center {
    text-align: center;
}

.mt-4 {
    margin-top: var(--spacing-md);
}

.text-muted {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px hsla(var(--primary-h), var(--primary-s), 50%, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-store {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 20px;
}

.btn-outline-dark {
    border: 2px solid var(--color-bg);
    color: var(--color-bg);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--color-bg);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s;
}

.navbar.glass {
    background: rgba(13, 22, 35, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #4a5568;
    /* Dark Grey for standard links */
    font-weight: 500;
}

.nav-links a:hover {
    color: #0D5FB8;
    /* Arctic Blue on hover */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
    /* Video is fixed behind */
}

.hero-video {
    position: fixed;
    /* Persist in background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
    opacity: 1;
}

.video-overlay {
    display: none;
    /* Removed for full visibility */
}

.hero-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
}

.hero-text {
    max-width: 600px;
    /* Clean text, no glass box */
}

.badge {
    background: rgba(13, 95, 184, 0.1);
    color: #0D5FB8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(13, 95, 184, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #0D5FB8;
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.text-gradient {
    /* Override to solid Arctic Blue */
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentcolor;
    color: #0D5FB8;
}

.hero-sub {
    font-size: 1.125rem;
    color: #1a202c;
    /* Near Black */
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.highlight-border {
    border-color: var(--color-accent);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.icon-box.accent {
    color: var(--color-accent);
    background: rgba(0, 255, 255, 0.1);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Section */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
    z-index: 10;
    /* Above fixed video */
}

.bg-dark {
    /* Dark glass to contrast with white video */
    background-color: rgba(13, 22, 33, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    /* Force white text on dark backgrounds */
}

.bg-dark h2,
.bg-dark p,
.bg-dark h3 {
    color: white;
    /* Ensure visibility */
}

.bg-gradient {
    background: linear-gradient(180deg, rgba(13, 22, 33, 0.9) 0%, rgba(13, 22, 33, 0.95) 100%);
    backdrop-filter: blur(8px);
    color: white;
}

/* Update cards for dark glass context */
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.card h3 {
    color: white;
}

.card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-col.links {
    display: flex;
    gap: 2rem;
}

.footer-col.links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col.links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Hide Desktop Menu */
    .mobile-menu-btn {
        display: block;
    }

    /* Show Hamburger */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .hero-video {
        width: auto;
        height: 100%;
        /* Cover on mobile */
        min-width: unset;
    }
}