/* ==========================================
   HERO SECTION
========================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, 
        var(--color-neutre) 0%, 
        rgba(135, 169, 107, 0.1) 50%, 
        rgba(52, 152, 219, 0.05) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    padding-bottom: 50px;
}

/* Muntanyes decoratives */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 180px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 180"><path d="M50 180 L125 60 L200 180 Z" fill="%232d5a3d"/><path d="M150 180 L250 30 L350 180 Z" fill="%234a7c59"/><path d="M300 180 L375 75 L450 180 Z" fill="%2387a96b"/></svg>') no-repeat center center;
    background-size: contain;
    z-index: 1;
}

.mountain-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 180px;
    pointer-events: none;
    z-index: 20;
}

.dot {
    position: absolute;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot-blue {
    background-color: #3498db;
    width: 16px;
    height: 16px;
}

.dot-orange {
    background-color: #e67e22;
    width: 14px;
    height: 14px;
    animation-duration: 1.8s;
}

.dot-blue-large {
    background-color: #3498db;
    width: 18px;
    height: 18px;
    animation-duration: 2.2s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Contingut Hero */
.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 1rem 2rem;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(52, 152, 219, 0.1);
    color: var(--color-tech);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
    animation: slideInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    font-family: 'Comfortaa', sans-serif !important;
    color: var(--color-principal);
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-tech), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-family: 'Comfortaa', sans-serif !important;
    color: var(--color-secundari);
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    font-family: 'Comfortaa', sans-serif !important;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.8s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elements flotants decoratius */
.floating-tech {
    position: absolute;
    font-size: 2.5rem;
    color: var(--color-tech);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-tech:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-tech:nth-child(2) {
    top: 25%;
    right: 12%;
    animation-delay: 3s;
}

.floating-tech:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
}

.floating-tech:nth-child(4) {
    top: 35%;
    right: 25%;
    animation-delay: 2s;
}

.floating-tech:nth-child(5) {
    bottom: 35%;
    right: 20%;
    animation-delay: 4s;
}

.floating-tech:nth-child(6) {
    top: 60%;
    left: 25%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.15; 
    }
    50% { 
        transform: translateY(-25px) rotate(10deg); 
        opacity: 0.25; 
    }
}

