:root {
    --bg-dark: #0f1115;
    --sidebar-bg: #161920;
    --accent: #9893DA; /* Complementing color for DNA */
    --accent-hover: #797A9E;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-fam: 'Geist Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-fam);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 320px;
    background-color: var(--sidebar-bg);
    padding: 2.5rem;
    height: 100vh;
    position: fixed;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.sidebar h2 {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.skills-summary {
    margin-bottom: auto;
}

.skills-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.skills-summary ul {
    list-style: none;
}

.skills-summary li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}
.skills-summary li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: #000;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(152, 147, 218, 0.1);
}

/* Main Content (3D & Scrolling) */
.main-content {
    margin-left: 320px;
    width: calc(100% - 320px);
    position: relative;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 320px;
    width: calc(100% - 320px);
    height: 100vh;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to sections if needed, though we primarily scroll */
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* Scroll Overlay Text */
.scroll-sections {
    position: relative;
    z-index: 1;
}

.step {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align right to overlap with the right side of the helix */
    padding: 4rem;
    opacity: 0; /* Managed by GSAP */
}

.content-card {
    background: rgba(22, 25, 32, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(152, 147, 218, 0.2);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateY(20px);
}

.content-card h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.content-card p strong {
    color: var(--text-main);
}

/* Responsive */
@media(max-width: 900px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-content { margin-left: 0; width: 100%; }
    #canvas-container { left: 0; width: 100%; height: 100vh; position: fixed; }
    .step { justify-content: center; padding: 2rem; }
}