:root {
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --secondary: #6c5ce7;
    --dark: #0f0f0f;
    --dark-card: #1a1a1a;
    --dark-hover: #252525;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --gradient: linear-gradient(135deg, #00d4aa 0%, #6c5ce7 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(ellipse at top, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.section-title span {
    color: var(--primary);
}

/* Flagship Project */
.flagship {
    background: var(--dark-card);
}

.project-card {
    background: var(--dark);
    border-radius: 20px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.project-pitch {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.project-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.project-highlights li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

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

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--dark-card);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.project-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Other Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-item {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.project-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-item .tech-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-item .repo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
}

.project-item .repo-link:hover {
    color: var(--primary);
}

/* Tech Stack */
.tech-stack {
    background: var(--dark-card);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stack-category {
    background: var(--dark);
    border-radius: 15px;
    padding: 30px;
}

.stack-category h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stack-item {
    padding: 8px 18px;
    background: var(--dark-card);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Connect Section */
.connect {
    text-align: center;
}

.connect-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--dark-card);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary);
    color: var(--dark);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--dark-card);
    padding: 30px 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .project-card {
        padding: 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero .subtitle, .hero-buttons {
    animation: fadeInUp 0.8s ease forwards;
}

.hero .subtitle {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.4s;
}