:root {
    --bg-color: #050A15;
    --nav-bg: rgba(13, 19, 33, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);

    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    --primary-blue: #3B82F6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent-purple: #8B5CF6;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Base Background Elements */
.glow-bg {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: -1;
    pointer-events: none;
}

/* Floating Navbar */
.nav-wrapper {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.chevron {
    font-size: 0.7rem;
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.link-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.link-btn:hover {
    color: var(--text-primary);
}

.glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.1), 0 0 15px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.glow-btn:hover {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.1);
}

.glow-btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 8rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-pill svg {
    color: var(--accent-purple);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

/* Interactive Panel */
.interactive-panel {
    background: rgba(13, 19, 33, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel-header {
    text-align: left;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.panel-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.panel-tag:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.panel-tag.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.panel-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-footer .glow-btn {
    padding: 0.6rem 1.25rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.panel-footer .glow-btn:hover {
    background: #2563EB;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

/* Brands Footer */
.brands-bar {
    margin-top: 6rem;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

/* Base Sections */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-container {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
}

.text-center {
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

.section-container h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.section-container p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-container strong {
    color: white;
    font-weight: 600;
}

/* Ecosystem Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-card {
    position: relative;
    background: rgba(13, 19, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(20px);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
}

.bento-card.featured {
    grid-column: span 2;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(13, 19, 33, 0.8) 0%, rgba(30, 58, 138, 0.2) 100%);
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    mix-blend-mode: luminosity;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 0;
    border-radius: 20px;
}

.bento-card:hover::before {
    opacity: 0.65;
    transform: scale(1.05);
}

/* Specific Card Backgrounds */
#tactical::before {
    background-image: url('assets/images/svx_tactical_cinematic_1773169922280.png');
}

#women::before {
    background-image: url('assets/images/svx_women_cinematic_1773169937218.png');
}

#youth::before {
    background-image: url('assets/images/svx_youth_cinematic_1773169953134.png');
}

#combat::before {
    background-image: url('assets/images/svx_combat_cinematic_1773169969645.png');
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-weight: 600;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.soon {
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
}

.status-badge.dev {
    color: #8B5CF6;
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.1);
}

.status-badge.future {
    color: var(--text-tertiary);
    border-color: rgba(100, 116, 139, 0.3);
    background: rgba(100, 116, 139, 0.1);
}

.bento-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.bento-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Technology Layout */
.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.glass-panel {
    background: rgba(13, 19, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1rem;
    backdrop-filter: blur(20px);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    background-image: url('assets/images/svx_tech.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.play-icon:hover {
    background: rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
}

.hud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: linear-gradient(0deg, transparent 24%, rgba(59, 130, 246, 0.05) 25%, rgba(59, 130, 246, 0.05) 26%, transparent 27%, transparent 74%, rgba(59, 130, 246, 0.05) 75%, rgba(59, 130, 246, 0.05) 76%, transparent 77%, transparent);
    background-size: 40px 40px;
}

.hud-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(59, 130, 246, 0.3);
}

.hud-text {
    position: absolute;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
}

.hud-text.top-left {
    top: 1rem;
    left: 1rem;
}

.hud-text.bottom-right {
    bottom: 1rem;
    right: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    margin-top: 4rem;
    background: rgba(5, 10, 21, 0.8);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.contact-email {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-email:hover {
    color: white;
}

.brands-bar .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
}

.brands-bar .brand svg {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .brands-bar {
        gap: 1.5rem;
    }

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

    .bento-card.featured {
        grid-column: span 1;
    }

    .tech-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}