:root {
    --bg-dark: #020202;
    --text-main: #f0f0f0;
    --text-muted: #8a8a93;
    --text-dim: #55555c;
    --accent: #ffffff;
    --glass-bg: rgba(15, 15, 18, 0.5);
    --glass-border: rgba(255, 255, 255, 0.04);
    --glass-highlight: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to UI */
    opacity: 0.8; /* Make it slightly darker so UI pops more */
}

/* UI Overlay */
.ui-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    width: 100%;
    z-index: 100;
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: slow-pulse 3s infinite;
}

@keyframes slow-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

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

.btn-ghost {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--text-dim);
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    background: transparent;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-ghost:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Main Layout */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 4rem 6rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    border-left: 1px solid var(--glass-highlight);
    padding: 3.5rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

/* Philosophy Panel */
.elegant-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.elegant-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    font-weight: 300;
}

/* Capabilities Panel */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator .dot {
    width: 4px;
    height: 4px;
    background-color: #00ff66;
    border-radius: 50%;
}

.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.capability-item {
    position: relative;
}

.cap-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.8rem;
}

.cap-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.cap-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--bg-dark);
    background: var(--text-main);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.capability-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
}

/* Footer & Scroll */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(-90deg);
    transform-origin: left center;
}

.scroll-down .line {
    width: 60px;
    height: 1px;
    background: var(--text-dim);
    position: relative;
    overflow: hidden;
}

.scroll-down .line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--text-main);
    transform: translateX(-100%);
    animation: scan 2.5s infinite ease-in-out;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    .hero {
        padding: 2rem 2rem 6rem;
    }
    .scroll-down {
        display: none;
    }
}
