:root {
    --bg-black: #050505;
    --bg-surface: #0f0f0f;
    --primary: #ffffff;
    --secondary: #6366f1;
    --accent: #22d3ee;
    --text-dim: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --glass: rgba(15, 15, 15, 0.7);
}

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

body {
    background-color: var(--bg-black);
    color: var(--primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Decorative Elements --- */
.glow-bg {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(5, 5, 5, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header --- */
header {
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 2.5rem;
    transition: color 0.3s;
}

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

/* --- Hero --- */
.hero {
    padding: 8rem 0 4rem;
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    font-weight: 300;
}

/* --- Projects --- */
.projects {
    padding: 4rem 0 8rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.line {
    height: 1px;
    background: var(--border);
    width: 100%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2.5rem;
}

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

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

.card-image {
    position: relative;
    height: 300px;
    background: #1a1a1a;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s, opacity 0.6s;
}

.project-card:hover .card-image img {
    transform: scale(1.05);
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-content {
    padding: 2.5rem;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.card-content p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn-launch {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.btn-launch:hover {
    gap: 1.25rem;
}

.coming-soon {
    border-style: dashed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.coming-soon .card-meta {
    color: var(--text-dim);
}

/* --- Footer --- */
footer {
    padding: 6rem 0;
    border-top: var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 2rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}
