:root {
    --bg-main: #030303;
    --bg-surface: #0a0a0a;
    --bg-surface-hover: #121212;
    --primary: #cc0000; /* Vibrant Maroon / Crimson */
    --primary-glow: rgba(204, 0, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(204, 0, 0, 0.5);
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, .nav-brand {
    font-family: var(--font-display);
}

span {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.noise-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.top-left { top: -200px; left: -200px; }
.bottom-right { bottom: -200px; right: -200px; }

/* Typography */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.center { text-align: center; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: var(--bg-main);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid transparent;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-only {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 10;
    padding-right: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-visual {
    flex: 1;
    display: none;
}

@media(min-width: 1024px) {
    .hero-visual { display: block; }
    .hero-visual img {
        width: 100%;
        height: auto;
        border-radius: 24px;
        mask-image: linear-gradient(to right, transparent, black 20%);
        -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
    }
}

/* Vision Section */
.vision-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.vision-text p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.stat h3 {
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat span {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Arsenal - Bento Grid */
.arsenal-section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.bento-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: var(--transition);
    z-index: 0;
    filter: grayscale(1);
}

.bento-card:hover .bento-bg {
    opacity: 0.5;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Gradient overlay for readability */
.bento-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(10,10,10,0.95), transparent);
    z-index: 1;
}

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

.bento-tag {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Bento Sizing */
.large { grid-column: span 2; grid-row: span 2; }
.large h3 { font-size: 2.5rem; }
.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

@media(max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .large, .wide, .tall { grid-column: span 1; grid-row: span 1; }
}

/* Impact Section */
.impact-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.logo-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 6rem;
    opacity: 0.4;
}

.logo-strip img {
    height: 35px;
    mix-blend-mode: screen;
    filter: grayscale(1) brightness(180%);
    opacity: 0.8;
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 6rem;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 0.5;
    margin-bottom: 2rem;
}

.quote-text {
    font-size: 2rem;
    font-family: var(--font-display);
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.author {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.author img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 { font-size: 1.2rem; }
.author span { color: var(--text-secondary); font-size: 0.9rem; }

/* Contact */
.contact-section {
    padding: 8rem 0;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
}

.full-width { width: 100%; border-radius: 12px; }

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Optimizations */
@media(max-width: 768px) {
    .hamburger { display: flex; }
    
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; margin-top: 2rem; width: 100%; }
    
    .nav-links {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a { font-size: 1.5rem; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .hero { padding: 0 1rem; }
    .hero-content { padding-right: 0; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-actions a { width: 100%; text-align: center; }
    
    .stats { flex-direction: column; gap: 2rem; margin-top: 2rem; }
    
    .bento-card { padding: 1.5rem; }
    
    .contact-card { padding: 2.5rem 1.5rem; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 1rem; }
    .footer-links { display: flex; flex-direction: column; gap: 1rem; }
}
