/* --- PROJECT PAGE SHARED STYLES --- */
:root {
    --bg-color: #0a0a0f;
    --bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    --card-bg: rgba(30, 30, 45, 0.8);
    --card-glass: rgba(255, 255, 255, 0.05);
    --text-main: #f8f9fa;
    --text-secondary: #b8bcc8;
    --accent: #00d4ff;
    --accent-gradient: linear-gradient(135deg, #00d4ff, #0066ff);
    --accent-secondary: #ff6b9d;
    --border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(10, 10, 15, 0.9);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-glass: rgba(0, 0, 0, 0.03);
    --text-main: #212529;
    --text-secondary: #6c757d;
    --accent: #0066ff;
    --accent-gradient: linear-gradient(135deg, #0066ff, #00d4ff);
    --border: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(248, 249, 250, 0.9);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glow: 0 0 20px rgba(0, 102, 255, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    transition: all 0.3s ease;
    min-height: 100vh;
}

nav {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.project-header {
    margin-bottom: 40px;
}

.project-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.meta-item {
    background: var(--card-glass);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.project-links {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 50px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.demo-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

section {
    margin-bottom: 45px;
}

section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

section ul {
    color: var(--text-secondary);
    padding-left: 20px;
}

section li {
    margin-bottom: 10px;
}

strong {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .project-header h1 {
        font-size: 1.8rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .container {
        margin: 30px auto;
    }
}
