/* ========================================
   HERO COMPONENT - Ubuntu Seguros
   ======================================== */

.hero {
    background: var(--gradient-hero);
    padding: var(--spacing-4xl) 0;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: var(--header-height);
    overflow: hidden;
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
} */

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--text-white);
}

.hero-text h1 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.hero-text p {
    font-size: var(--font-size-xl);
    color: var(--text-white-80);
    margin-bottom: var(--spacing-xl);
    line-height: var(--line-height-normal);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-base);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}


/* Dashboard Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.dashboard-header {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-dot:first-child { 
    background: #ff5f57; 
}

.dashboard-dot:nth-child(2) { 
    background: #ffbd2e; 
}

.dashboard-dot:nth-child(3) { 
    background: #28ca42; 
}

.dashboard-content {
    color: var(--text-white);
}

.dashboard-content h4 {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-base) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-white-70);
    font-weight: var(--font-weight-medium);
}

.metric-value {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    font-size: var(--font-size-base);
}

.progress-section {
    margin: var(--spacing-base) 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width 2s ease-out;
    width: 0%;
}

.progress-fill.animate {
    width: var(--progress-width, 85%);
}

.chart-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, rgba(233, 84, 32, 0.2), rgba(255, 107, 53, 0.2));
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-base);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s ease-out;
}

.chart-line.animate {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: var(--font-size-5xl);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }

}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-4xl) 0;
    }
    
    .hero-text h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero-text p {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    
    .dashboard-mockup {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: var(--font-size-3xl);
    }
    
    .dashboard-mockup {
        padding: var(--spacing-base);
        max-width: 350px;
    }
}