:root {
    --bg: #030712;
    --surface: rgba(30, 41, 59, 0.5);
    --primary: #8b5cf6;
    --secondary: #3b82f6;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% -20%, #1e1b4b 0%, transparent 50%);
}

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

.navbar {
    padding: 1.25rem 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: white; letter-spacing: -0.5px; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links a { color: var(--text); text-decoration: none; margin-left: 2rem; font-size: 0.95rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav { background: var(--gradient); padding: 0.6rem 1.4rem; border-radius: 99px; transition: 0.3s; }
.btn-nav:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); transform: scale(1.05); }

.hero { padding: 10rem 0 8rem; text-align: center; }
.badge { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; padding: 0.5rem 1.2rem; border-radius: 99px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 2rem; border: 1px solid rgba(139, 92, 246, 0.2); text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1.05; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -2px; }
h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--muted); max-width: 650px; margin: 0 auto 3rem; }

.btn { display: inline-block; padding: 1.1rem 2.5rem; border-radius: 12px; text-decoration: none; font-weight: 600; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); color: white; border: 1px solid var(--border); margin-left: 1rem; }
.btn:hover { transform: translateY(-4px); filter: brightness(1.1); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--surface); padding: 3rem; border-radius: 24px; border: 1px solid var(--border); backdrop-filter: blur(8px); transition: 0.4s; }
.card:hover { transform: translateY(-8px); border-color: var(--primary); background: rgba(30, 41, 59, 0.7); }
.icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }

.about { padding: 8rem 0; }
.about-wrap { display: flex; align-items: center; gap: 4rem; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-list { list-style: none; margin-top: 2rem; }
.about-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.about-list li::before { content: '✓'; color: var(--primary); font-weight: bold; }
.about-media img { width: 100%; border-radius: 24px; border: 1px solid var(--border); }

.project-card { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--border); }
.project-card img { width: 100%; height: 250px; object-fit: cover; transition: 0.5s; }
.project-card:hover img { transform: scale(1.1); }
.project-content { padding: 1.5rem; background: var(--surface); }

.footer { padding: 5rem 0; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }

@media (max-width: 768px) {
    .about-wrap { flex-direction: column; }
    .hero { padding: 6rem 0; }
    .btn-secondary { margin-left: 0; margin-top: 1rem; width: 100%; }
    .btn-primary { width: 100%; }
}