:root {
    --bg-color: #0a0a0a;
    --accent-color: #3b82f6;
    /* Azul moderno */
    --text-main: #ffffff;
    --text-sec: #a1a1aa;
}

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

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

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

.links {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.links a:hover {
    color: var(--text-main);
}


.hero-content h1 {
    font-size: 4rem;
    max-width: 900px;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
}

.portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.portfolio .subtitle {
    text-align: center;
    color: var(--text-sec);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.project-card h3 {
    margin-top: 0;
    color: var(--text-main);
    font-size: 1.5rem;
}

.project-card p {
    color: var(--text-sec);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.stars {
    color: #eab308;
    font-weight: bold;
}

.btn-small {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-small:hover {
    background: var(--accent-color);
    color: white;
}

/* About Me Section */
.about-me {
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05));
    padding: 80px 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-sec);
    margin-bottom: 25px;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077b5;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-linkedin:hover {
    background: #005e93;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.highlight-card {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.08);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: linear-gradient(0deg, transparent, rgba(59, 130, 246, 0.03));
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.contact .subtitle {
    text-align: center;
    color: var(--text-sec);
    margin-bottom: 50px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item .icon {
    font-size: 2rem;
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.info-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.info-item p {
    margin: 5px 0 0;
    color: var(--text-sec);
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 50px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-content p {
    color: var(--text-sec);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

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

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-container {
        padding: 30px 20px;
    }
}