@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --text-primary: #ededed;
    --text-secondary: #a1a1aa;
    --accent: #880808; /* Original Brutal Red */
    --accent-glow: rgba(136, 8, 8, 0.3);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-padding: 100px 5%;
    --border-radius: 12px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--accent);
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
    cursor: pointer;
}

.small-n {
    font-size: 0.7em;
    vertical-align: baseline;
}

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 62, 62, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 62, 62, 0.08) 0%, transparent 50%);
    opacity: 0.8;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin-right: auto;
    margin-left: 40px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    font-size: 0.85rem;
}

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

.cta-btn {
    background: var(--accent);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
}

.cta-btn:hover {
    background: #a10a0a; /* Slightly lighter red for hover */
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--section-padding);
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Styles */
.footer-main {
    padding: 80px 5% 40px;
    background: #000;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--text-primary);
}
