:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --accent-purple: #7e22ce;
    --accent-glow: #c084fc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(126, 34, 206, 0.2);
}

html {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.accent { color: var(--accent-purple); }

.glow-text {
    text-shadow: 0 0 15px rgba(126, 34, 206, 0.4);
}

/* ------ NAVIGATION ------ */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-purple);
    letter-spacing: 1px;
}

.nav-brand span { color: var(--text-main); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ------ SECTIONS ------ */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%);
    position: relative;
}

.hero-content { z-index: 2; }

.hero-content h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.full-width-section {
    width: 100%;
    position: relative;
    background: var(--bg-main);
    overflow: hidden;
    padding-bottom: 100px;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.content-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 { font-size: 2.5rem; font-weight: 800; }

/* ------ PROJECT CARDS ------ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(126, 34, 206, 0.15);
    border-color: var(--accent-purple);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #7e22ce, #c084fc);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 800;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #ffffff;
    color: var(--accent-purple);
}

.project-info { padding: 25px; }
.project-info h3 { margin: 0 0 10px; }
.project-info p { color: var(--text-muted); line-height: 1.6; }

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-purple);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--accent-purple) !important;
    border: 1px solid var(--accent-purple);
    margin-left: 10px;
}

/* ------ ABOUT SCROLL SECTION ------ */
#about-wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 50px 0;
}

.scroll-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#scroll-path {
    stroke-linecap: round;
    stroke: var(--accent-glow);
}

.studio-info-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.studio-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    width: 45%;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(126, 34, 206, 0.08);
}

.left-card { align-self: flex-start; }
.right-card { align-self: flex-end; }

footer {
    background: #0f172a;
    color: white;
    padding: 60px 20px 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .studio-card { width: 85%; align-self: center; }
    #scroll-path { display: none; }
}