:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --card-bg: #1e293b;
    --primary: #6366f1;
    /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #38bdf8;
    /* Sky */
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILS --- */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 200;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
    fill: white;
    /* Optional: Makes icon solid if lucide supports */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    border: 1px solid var(--text-gray);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

/* --- HEADER --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-white);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    gap: 50px;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px;
    position: relative;
    margin-right: 20px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
}

/* --- MARQUEE --- */
.stack-marquee {
    background: var(--bg-darker);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 60px;
    /* Added spacing */
}

.track {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    color: var(--text-gray);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.track span {
    margin: 0 30px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- PROJECTS --- */
.section {
    padding: 100px 10%;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card-tags {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--secondary);
    font-weight: 600;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.project-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 15px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 14px;
    margin-bottom: 8px;
}

.features-list i {
    width: 16px;
    color: var(--primary);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-white);
    font-weight: 600;
}

.link-arrow:hover {
    color: var(--secondary);
    gap: 8px;
}

/* --- ABOUT --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight {
    border-left: 3px solid var(--secondary);
    padding-left: 20px;
    color: var(--text-white);
    font-style: italic;
    margin-top: 30px;
    font-size: 18px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-item {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item i {
    color: var(--secondary);
    width: 32px;
    height: 32px;
}

/* --- FOOTER --- */
footer {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to top, var(--bg-darker), var(--bg-dark));
}

.footer-content h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.big-btn {
    display: inline-block;
    margin: 30px 0;
    padding: 15px 40px;
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-gray);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.copyright {
    color: var(--text-gray);
    font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simples hide for mobile MVP */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    h1 {
        font-size: 42px;
    }

    .image-wrapper {
        margin: 0 auto 30px;
        width: 250px;
        height: 250px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
}