:root {
    --bg-color: #050505;
    --card-bg: #0f1115;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;

    /* Cyber Red/Teal Theme */
    --accent: #ff2a2a;
    /* Red for 'Danger/Exploit' vibe */
    --accent-glow: rgba(255, 42, 42, 0.4);
    --secondary-accent: #00f0ff;
    /* Electric Cyan */

    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8) 0%, rgba(5, 5, 5, 1) 100%),
        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: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.logo .accent {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 2rem;
}

.btn-outline:hover {
    background: rgba(255, 42, 42, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    position: relative;
    color: #fff;
    text-transform: uppercase;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero .description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    color: #fff;
}

.section-header .line {
    height: 2px;
    width: 60px;
    background: var(--accent);
    margin: 0 auto;
}

/* Vectors Grid */
.vectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vector-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vector-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 42, 42, 0.2),
        inset 0 0 60px rgba(255, 42, 42, 0.03);
}

.vector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.vector-card:hover::before {
    transform: translateX(100%);
}

.vector-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent rgba(255, 42, 42, 0.1) transparent;
    transition: 0.3s;
    opacity: 0;
}

.vector-card:hover::after {
    opacity: 1;
}

.vector-card:hover .icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--secondary-accent));
}

.vector-card .icon {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--secondary-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.vector-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.vector-card p {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.specs li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.specs li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--secondary-accent);
    font-size: 0.8rem;
}

/* About & Stats */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.stat-item .label {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* CTA */
.cta-section {
    background: linear-gradient(rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.9)), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGVsbGlXBzZSBjeD0iMjAiIGN5PSIyMCIgcng9IjEiIHJ5PSIxIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMSkiLz48L3N2Zz4=');
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Glitch Effect Animation Keyframes (Simple) */
@keyframes glitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

.glitch:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Light Theme */
body.light-theme {
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
}

body.light-theme .bg-overlay {
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 245, 245, 0.9) 0%, rgba(230, 230, 230, 1) 100%),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .vector-card {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .vector-card h3,
body.light-theme .hero h1,
body.light-theme .section-header h2,
body.light-theme .cta-section h2 {
    color: #1a1a1a;
}

body.light-theme #matrix-rain {
    opacity: 0.05;
}

body.light-theme .logo {
    color: #1a1a1a;
}

body.light-theme .stat-item .number {
    color: #1a1a1a;
}

body.light-theme .contact-card h3,
body.light-theme .support-info h3 {
    color: #1a1a1a;
}

body.light-theme .support-info .note {
    color: rgba(0, 0, 0, 0.5);
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#loader .logo-anim {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

#loader .logo-anim .accent {
    color: var(--accent);
}

#loader .loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    border-radius: 3px;
    overflow: hidden;
}

#loader .loading-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--accent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

/* Icon Transition */
.vector-card .icon {
    transition: transform 0.3s ease, filter 0.3s ease;
}