:root {
    /* Neon Stealth Palette */
    --color-void: #0a0a0a;
    --color-stealth: #1a1a1a;
    --color-neon-blue: #00f3ff;
    --color-neon-red: #ff003c;
    --color-text-main: #ffffff;
    --color-text-muted: #888888;

    /* Typography */
    --font-heading: 'Orbitron', 'Russo One', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
}

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

body {
    background-color: var(--color-void);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px var(--color-neon-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--color-neon-blue), 0 0 10px var(--color-neon-blue);
    }

    100% {
        box-shadow: 0 0 5px var(--color-neon-blue);
    }
}

@keyframes sound-wave-anim {
    0% {
        height: 10%;
    }

    50% {
        height: 100%;
    }

    100% {
        height: 10%;
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid var(--color-neon-blue);
    color: var(--color-neon-blue);
    font-family: var(--font-heading);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--color-neon-blue);
    color: var(--color-void);
    box-shadow: 0 0 20px var(--color-neon-blue);
}

.btn-primary {
    background: var(--color-neon-blue);
    color: var(--color-void);
    border: none;
}

.btn-primary:hover {
    background: #00d0db;
    /* Slightly darker for hover */
    box-shadow: 0 0 30px var(--color-neon-blue);
}


/* Layout Sections */
header {
    padding: var(--spacing-lg) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-main);
    text-decoration: none;
    text-shadow: 0 0 10px var(--color-neon-blue);
}

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

.nav-links a {
    color: var(--color-text-muted);
    margin-left: var(--spacing-lg);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-neon-blue);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed header */
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    /* Will set image in HTML inline style or via class modifier */
}

/* Features / How it works */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-main);
}

.section-title span {
    color: var(--color-neon-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--color-stealth);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--color-neon-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-neon-blue);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Decibel Visualization Mockup */
.decibel-meter {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    gap: 4px;
    margin: var(--spacing-lg) auto;
    width: 200px;
}

.bar {
    width: 6px;
    background: var(--color-neon-blue);
    border-radius: 3px;
    animation: sound-wave-anim 1s infinite ease-in-out;
}

/* Randomize animation delays for effect */
.bar:nth-child(1) {
    animation-duration: 0.8s;
}

.bar:nth-child(2) {
    animation-duration: 1.2s;
}

.bar:nth-child(3) {
    animation-duration: 0.9s;
}

.bar:nth-child(4) {
    animation-duration: 1.5s;
}

.bar:nth-child(5) {
    animation-duration: 1.1s;
}


footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    header {
        padding: var(--spacing-sm) 0;
    }

    nav {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.8rem;
    }
}