:root {
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --text-muted: #888;
    --accent-color: #fff;
    --card-bg: #141414;
    --border-color: #222;
    --status-live: #4ade80;
    --status-dev: #fbbf24;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

.dark-theme {
    background-color: var(--bg-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: #e0e0e0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--card-bg);
}

.btn-outline {
    padding: 7px 14px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.grid-background {
    position: absolute;
    top: 60px; /* Offset for navbar height */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.tictactoe-overlay {
    position: absolute;
    top: 60px; /* Offset for navbar height */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.tictactoe-win-line {
    position: absolute;
    background-color: var(--accent-color);
    height: 2px;
    z-index: 2;
    transform-origin: left center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tictactoe-win-line.visible {
    opacity: 1;
}

.tictactoe-cell {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 500;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tictactoe-cell.visible {
    opacity: 1;
}

.hero-logo {
    width: 60px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.headline {
    font-size: clamp(35px, 8vw, 67px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.sub-headline {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section-header {
    margin-bottom: 24px;
}

.eyebrow {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

h2 {
    font-size: 35px;
    font-weight: 800;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #333;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Stats */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
}

.stat-number {
    display: block;
    font-size: 35px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* Ventures */
.ventures-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.venture-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.venture-item h3 {
    font-size: 20px;
    margin-bottom: 3px;
}

.venture-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.venture-status {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 11px;
    border-radius: 100px;
}

.status-live {
    background-color: rgba(74, 222, 128, 0.08);
    color: var(--status-live);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.status-dev {
    background-color: rgba(251, 191, 36, 0.08);
    color: var(--status-dev);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-category h4 {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
}

/* Philosophy */
blockquote {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 48px;
    font-style: italic;
    color: #bbb;
}

.beliefs-grid {
    display: flex;
    gap: 40px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 14px;
}

/* Contact */
.contact-box {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 64px 32px;
    border-radius: 10px;
    text-align: center;
}

.contact-box h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

.contact-box p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.contact-links .btn-primary {
    background-color: rgba(10, 10, 10, 0.05);
    color: var(--bg-color);
    border: 1px solid rgba(10, 10, 10, 0.1);
    padding: 8px 20px;
}

.contact-links .btn-primary:hover {
    background-color: rgba(10, 10, 10, 0.1);
}

.socials {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.socials a {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    opacity: 0.6;
    font-size: 14px;
}

.socials a:hover {
    opacity: 1;
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.menu-toggle {
    display: none;
}

.sidebar {
    display: none;
}

.sidebar-overlay {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 24px !important;
    }

    .section {
        padding: 40px 0 !important;
    }

    .grid-2,
    .grid-3,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
        padding: 8px;
    }

    .menu-toggle span {
        width: 24px;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 2px;
        transition: 0.3s;
    }

    .sidebar {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;
        background-color: var(--card-bg);
        z-index: 2000;
        transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        padding: 20px 24px;
        flex-direction: column;
        border-left: 1px solid var(--border-color);
    }

    .sidebar.active {
        right: 0 !important;
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        height: 25px;
    }

    .close-menu {
        font-size: 28px;
        cursor: pointer;
        color: var(--text-muted);
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .sidebar-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-links a {
        text-decoration: none;
        color: var(--text-color);
        font-size: 18px;
        font-weight: 600;
        transition: color 0.3s;
    }

    .sidebar-btn {
        display: inline-block;
        padding: 6px 16px;
        background-color: var(--accent-color);
        color: var(--bg-color) !important;
        border-radius: 4px;
        text-align: center;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        z-index: 1999;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .headline {
        font-size: 38px !important;
        line-height: 1.2;
    }

    .sub-headline {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 28px !important;
    }

    blockquote {
        font-size: 24px;
        margin-bottom: 32px;
        line-height: 1.4;
    }

    .beliefs-grid {
        flex-direction: column;
        gap: 16px;
    }

    .contact-box {
        padding: 48px 24px;
    }

    .contact-box h2 {
        font-size: 32px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .venture-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
    }

    .venture-status {
        align-self: flex-start;
    }


    /* Sections */
    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 24px;
        margin-left: 25px;
    }

    .eyebrow {
        font-family: var(--font-mono);
        color: var(--text-muted);
        font-size: 13px;
        display: block;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    h2 {
        font-size: 35px;
        font-weight: 800;
    }


}