:root {
    --bg-color: #050505;
    --surface-color: #0f0f0f;
    --border-color: #222222;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-primary: #ccff00;
    --accent-secondary: #7c3aed;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; }

/* --- CUSTOM CURSOR --- */
.cursor {
    width: 20px; height: 20px; border: 2px solid var(--accent-primary);
    border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background-color 0.3s; mix-blend-mode: difference;
}
.cursor.hovered { width: 50px; height: 50px; background-color: var(--accent-primary); opacity: 0.8; border: none; }

/* --- NAV --- */
.project-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 40px 20px; max-width: 1400px; margin: 0 auto;
}
.back-btn, .share-btn {
    background: var(--surface-color); border: 1px solid var(--border-color);
    color: var(--text-main); padding: 10px 24px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 10px;
    text-decoration: none; transition: var(--transition);
}
.back-btn:hover, .share-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* --- CONTAINER --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px 100px 20px; animation: fadeIn 0.8s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- PROJECT HEADER --- */
.project-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; margin-bottom: 80px; align-items: center; }
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.meta-item { background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-color); }
.meta-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.meta-value { font-weight: 600; color: var(--text-main); }

.project-image { width: 100%; border-radius: 24px; overflow: hidden; border: 1px solid var(--border-color); aspect-ratio: 16/9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-image:hover img { transform: scale(1.03); }

/* --- CONTENT SECTIONS --- */
.content-block { margin-bottom: 60px; }
.section-head { font-size: 1.8rem; font-family: 'Space Grotesk'; margin-bottom: 20px; color: var(--accent-primary); }
.body-text { font-size: 1.1rem; color: #ccc; max-width: 800px; margin-bottom: 30px; }

.achievements-list { list-style: none; }
.achievements-list li {
    position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.1rem; color: var(--text-muted);
}
.achievements-list li::before {
    content: '→'; position: absolute; left: 0; color: var(--accent-primary); font-weight: bold;
}

/* --- TEAM GRID --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.team-card { background: var(--surface-color); padding: 20px; border-radius: 16px; border: 1px solid var(--border-color); }
.role-badge { display: inline-block; font-size: 0.7rem; padding: 4px 8px; border-radius: 4px; background: rgba(204,255,255,0.1); margin-bottom: 10px; }

/* --- GRAPHICS GALLERY (Masonry) --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--border-color); aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- SOCIAL LIST --- */
.social-list { display: flex; flex-direction: column; gap: 20px; }
.social-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--surface-color); border-radius: 16px; border: 1px solid var(--border-color); transition: var(--transition); }
.social-item:hover { border-color: var(--accent-secondary); transform: translateX(10px); }
.company-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.company-achievement { color: var(--text-muted); font-size: 0.9rem; }

/* --- LINKS --- */
.action-links { display: flex; gap: 20px; margin-top: 40px; }
.btn-primary { background: var(--accent-primary); color: #000; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(204,255,0,0.2); }

/* --- MODAL --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 10000; justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal-content { background: var(--surface-color); padding: 40px; border-radius: 24px; border: 1px solid var(--border-color); width: 90%; max-width: 400px; text-align: center; position: relative; }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer; }
.share-links { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.share-item { padding: 15px; background: rgba(255,255,255,0.05); border-radius: 12px; text-decoration: none; color: var(--text-main); font-weight: 500; transition: 0.2s; }
.share-item:hover { background: var(--border-color); }
.copy-link-container { display: flex; gap: 10px; margin-top: 20px; }
.copy-link-container input { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); color: var(--text-muted); padding: 10px; border-radius: 8px; outline: none; }
.copy-btn { padding: 10px 20px; background: var(--border-color); border: none; color: var(--text-main); border-radius: 8px; font-weight: 600; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .project-hero { grid-template-columns: 1fr; }
    .project-title { font-size: 2.5rem; }
    .cursor { display: none; }
    * { cursor: auto; }
}