:root {
    /* Colors */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #ededed;
    --text-secondary: #a1a1aa;
    --text-tertiary: #52525b;
    --accent-primary: #D4AF37;
    /* Gold */
    --accent-secondary: #F59E0B;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --border-subtle: #27272a;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 8rem;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: all;
    /* Allow interaction */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.text-gradient {
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-accent {
    color: var(--accent-primary);
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.link {
    color: var(--text-secondary);
    font-weight: 500;
}

.link:hover {
    color: var(--text-primary);
}

.cta {
    padding: 0.5rem 1.25rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 99px;
    font-weight: 600;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    width: 100%;
}

.label {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.headline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .headline {
        font-size: 5rem;
    }
}

.subheadline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.actions {
    display: flex;
    gap: 1rem;
}

.button-primary {
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 99px;
    font-weight: 600;
}

.button-secondary {
    padding: 1rem 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 99px;
    font-weight: 600;
}

.button-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Technicals Marquee */
.technicals {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.tech-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.tech-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.tech-item:hover {
    color: var(--accent-primary);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Venture Section */
.venture-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.project-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.role {
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metrics {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.value {
    font-size: 1.5rem;
    font-weight: 700;
}

.metric .label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
}

.tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 99px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.heading-md {
    font-size: 2.5rem;
}

.text-body {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.mt-4 {
    margin-top: 2rem;
}

/* Contact */
.center-text {
    text-align: center;
}

.heading-lg {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.big-btn {
    display: inline-flex;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.big-btn:hover {
    transform: scale(1.05);
}

.socials {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: var(--text-secondary);
    font-size: 1rem;
}

.social-link:hover {
    color: var(--text-primary);
}

.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Animations classes (controlled by GSAP) */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}