/* Variables & Base */
:root {
    --accent: #2563eb;
    --dark: #0f172a;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

.heading-font { font-family: 'Outfit', sans-serif; }
.accent-blue { color: var(--accent); }

/* Glows Optimizados */
.glow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.glow-1 {
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    top: -10%; right: -5%;
}

.glow-2 {
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, transparent 70%);
    bottom: 10%; left: -10%;
}

/* Nav & Glassmorphism */
.nav-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
}

.nav-glass.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after { width: 100%; }

/* Buttons */
.btn-primary {
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--accent);
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    border-radius: 2rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.5s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.portfolio-img-container {
    height: 320px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag {
    font-size: 9px;
    font-weight: 800;
    padding: 0.4rem 1rem;
    background: #f1f5f9;
    border-radius: 99px;
    text-transform: uppercase;
    color: #64748b;
}

/* Animations Core */
.reveal, .reveal-fast, .reveal-slow {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active, .reveal-fast.active, .reveal-slow.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fast { transition-delay: 0.2s; }
.reveal-slow { transition-delay: 0.4s; }