/* Legal Pages Styles */

/* Hero Section */
.hero-intro {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: white !important;
    padding: 8rem 0 6rem !important;
    margin-top: 0 !important; /* Sin espacio - pegado al header */
    position: relative !important;
    z-index: 1 !important; /* Por debajo del header */
    overflow: hidden !important;
}

.hero-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 2rem 0 2rem; /* Padding-top aumentado para compensar el header */
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
    position: relative;
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #00d4aa;
    border-radius: 1px;
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    font-family: 'SF Pro Text', 'Helvetica Neue', 'Arial', sans-serif;
    text-transform: none;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 400;
    font-family: 'SF Pro Text', 'Helvetica Neue', 'Arial', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trading Illustration */
.trading-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.chart-mockup {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-dots {
    display: flex;
    gap: 0.5rem;
}

.chart-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.chart-dots span:nth-child(2) {
    background: #f59e0b;
}

.chart-dots span:nth-child(3) {
    background: #3b82f6;
}

.chart-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.chart-body {
    position: relative;
    height: 120px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.price-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #10b981;
    transform: translateY(-50%);
    animation: priceMove 3s ease-in-out infinite;
}

.price-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.point-1 {
    top: 20%;
    left: 10%;
    animation: pointPulse 2s ease-in-out infinite;
}

.point-2 {
    top: 30%;
    left: 25%;
    animation: pointPulse 2s ease-in-out infinite 0.3s;
}

.point-3 {
    top: 15%;
    left: 50%;
    animation: pointPulse 2s ease-in-out infinite 0.6s;
}

.point-4 {
    top: 25%;
    left: 75%;
    animation: pointPulse 2s ease-in-out infinite 0.9s;
}

.point-5 {
    top: 10%;
    left: 90%;
    animation: pointPulse 2s ease-in-out infinite 1.2s;
}

@keyframes priceMove {
    0%, 100% {
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        transform: translateY(-50%) scaleX(1.1);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 120px 2rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .trading-illustration {
        order: -1;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-intro {
        margin-top: 70px; /* Menos espacio en móvil */
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        padding: 100px 1.5rem 0 1.5rem;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .trading-illustration {
        height: 200px;
    }
    
    .chart-mockup {
        padding: 1rem;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-intro {
        margin-top: 60px;
        padding: 4rem 0 3rem;
    }
    
    .hero-content {
        padding: 80px 1rem 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .trading-illustration {
        height: 180px;
    }
    
    .chart-mockup {
        padding: 0.75rem;
        max-width: 250px;
    }
}

