html {
    scroll-behavior: smooth;
}

/* Base Colors & Variables - Futuristic Remix */
:root {
    --bg-dark: #050507;
    --bg-card: rgba(10, 10, 15, 0.7);
    --primary: #00f2ff;
    /* Cyan Neon */
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #7000ff;
    /* Purple Neon */
    --secondary-glow: rgba(112, 0, 255, 0.3);
    --accent: #ff007a;
    /* Pink Accent */
    --text-main: #e2e8f0;
    --text-muted: #64748b;
    --glass-border: rgba(0, 242, 255, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sci-fi Overlay Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
    background-size: 100% 4px, 3px 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.1;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Futuristic Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.glass::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass:hover::after {
    left: 100%;
    top: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 15px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 30px var(--primary-glow);
    }
}

@keyframes gridFlow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 40px;
    }
}

.animate {
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background:
        radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.15), transparent 70%),
        linear-gradient(rgba(5, 5, 7, 0.8), rgba(5, 5, 7, 0.8)),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0, 242, 255, 0.03) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0, 242, 255, 0.03) 40px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    animation: gridFlow 20s linear infinite;
}

.hero img.logo {
    max-width: 280px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 25px var(--primary-glow));
    transition: transform 0.5s ease;
}

.hero img.logo:hover {
    transform: scale(1.05) rotate(1deg);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff, #00f2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.bg-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.05), transparent);
    background-size: 100% 200%;
    animation: scannerMove 10s linear infinite;
}

@keyframes scannerMove {
    0% {
        background-position: 0 -100%;
    }

    100% {
        background-position: 0 100%;
    }
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.cta-button {
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid var(--primary);
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: 0.4s;
    z-index: -1;
}

.cta-button:hover {
    color: #000;
}

.cta-button:hover::before {
    left: 0;
}

/* Products Section */
.products {
    padding: 10rem 0;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.product-card {
    padding: 4rem;
    border-left: 4px solid var(--primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 242, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.1);
}

.product-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card h3::before {
    content: ">";
    color: var(--primary);
    font-family: monospace;
}

.product-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--glass-border);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Footer */
footer {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to top, #0a0a0c, transparent);
    border-top: 1px solid var(--glass-border);
    margin-top: 8rem;
}

footer p {
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}