:root {
    --bg-color: #000000;
    --card-bg: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #6d28d9; /* Deep Purple */
    --border-color: rgba(255, 255, 255, 0.1);
    --grid-color: rgba(255, 255, 255, 0.03);
    --selection-bg: rgba(109, 40, 217, 0.3);
}

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

::selection {
    background: var(--selection-bg);
}

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

/* Background Grid Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Spotlight Glow */
.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(109, 40, 217, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Scroll Reveal Utility */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1000px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 10px 24px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img { 
    height: 36px; 
    width: auto;
    filter: brightness(1.1); 
    transition: transform 0.2s;
}
.logo-img:hover {
    transform: scale(1.05);
}

.nav-links { display: flex; gap: 24px; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: #fff;
    color: #000;
}
.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}
.btn-outline {
    border: 1px solid var(--border-color);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Sections */
section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.hero {
    text-align: center;
    padding-top: 200px;
}
.hero h1 {
    font-size: min(5rem, 10vw);
    line-height: 1;
    margin-bottom: 24px;
}
.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
    margin-top: 60px;
}

.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}
.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.medium { grid-column: span 2; }

.bento-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.bento-item h3 { font-size: 1.5rem; margin-bottom: 12px; }
.bento-item p { color: var(--text-secondary); font-size: 0.95rem; }

/* Logo Slider (Refined) */
.logos {
    overflow: hidden;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logos-container {
    display: flex;
    width: max-content;
    animation: slide 30s linear infinite;
}
.logos-container span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #444;
    font-size: 1.5rem;
    margin: 0 40px;
    text-transform: uppercase;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Footer & CTA */
.footer {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding: 100px 20px;
}
.footer h2 { font-size: 3rem; margin-bottom: 40px; }

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-item.large { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
}
