/**
 * Front Page - Landing Page Styles
 * Estilos específicos para la página principal de EGEO
 */

/* ==============================================
   HERO SECTION
   ============================================== */
.landing-page .hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.landing-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.landing-page .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.85) 0%, rgba(10, 15, 28, 0.7) 100%);
}

.landing-page .hero-content {
    position: relative;
    z-index: 2;
}

.landing-page .text-gradient {
    background: linear-gradient(135deg, #bf9b5c 0%, #e0b88a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.landing-page .hero-buttons .btn-accent {
    background: #bf9b5c;
    border-color: #bf9b5c;
    color: white;
}

.landing-page .hero-buttons .btn-accent:hover {
    background: #a07d45;
    border-color: #a07d45;
    transform: translateY(-2px);
}

.landing-page .hero-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Scroll indicator */
.landing-page .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.landing-page .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto 8px;
    position: relative;
}

.landing-page .wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==============================================
   ANIMACIONES
   ============================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-page .animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.landing-page .animate-fade-down {
    animation: fadeDown 0.8s ease forwards;
}

.landing-page .delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.landing-page .delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* ==============================================
   MÉTRICAS SECTION
   ============================================== */
.landing-page .metrics-section {
    padding: 80px 0;
    background: white;
}

.landing-page .metric-card {
    text-align: center;
}

.landing-page .metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #bf9b5c;
    line-height: 1;
}

.landing-page .metric-label {
    color: #6c757d;
    font-weight: 500;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* ==============================================
   METODOLOGÍA SECTION
   ============================================== */
.landing-page .methodology-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.landing-page .section-badge {
    display: inline-block;
    background: rgba(191, 155, 92, 0.15);
    color: #bf9b5c;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.landing-page .method-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.landing-page .method-icon {
    width: 55px;
    height: 55px;
    background: rgba(191, 155, 92, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.landing-page .method-item:hover .method-icon {
    background: rgba(191, 155, 92, 0.2);
    transform: scale(1.05);
}

.landing-page .method-icon i {
    font-size: 1.5rem;
    color: #bf9b5c;
}

.landing-page .method-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.landing-page .method-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.landing-page .methodology-image {
    position: relative;
}

.landing-page .image-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-page .floating-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.landing-page .text-accent {
    color: #bf9b5c !important;
}

/* ==============================================
   REGIONES PREVIEW
   ============================================== */
.landing-page .regions-preview {
    padding: 100px 0;
    background: white;
}

.landing-page .region-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-page .region-card-inner {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.landing-page .region-card:hover .region-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
}

.landing-page .region-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.landing-page .region-card:hover .region-icon {
    transform: scale(1.1);
}

.landing-page .region-icon i {
    font-size: 2rem;
}

.landing-page .region-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.landing-page .btn-outline-accent {
    border: 2px solid #bf9b5c;
    color: #bf9b5c;
    font-weight: 600;
    transition: all 0.3s ease;
}

.landing-page .btn-outline-accent:hover {
    background: #bf9b5c;
    border-color: #bf9b5c;
    color: white;
    transform: translateY(-2px);
}

/* ==============================================
   PRICING SECTION
   ============================================== */
.landing-page .pricing-highlight {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.landing-page .pricing-card {
    background: white;
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.landing-page .pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.landing-page .pricing-card.featured {
    border: 2px solid #bf9b5c;
    transform: scale(1.02);
}

.landing-page .pricing-card.featured:hover {
    transform: scale(1.02) translateY(-12px);
}

.landing-page .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #bf9b5c;
    color: white;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.landing-page .pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.landing-page .price {
    font-size: 3rem;
    font-weight: 800;
    color: #0a0f1c;
    margin: 20px 0;
}

.landing-page .price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    line-height: 1;
}

.landing-page .price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
}

.landing-page .pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.landing-page .pricing-features li {
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.landing-page .pricing-features i {
    margin-right: 10px;
    width: 20px;
}

.landing-page .pricing-features .fa-check-circle {
    color: #bf9b5c;
}

.landing-page .pricing-features .fa-times-circle {
    color: #dee2e6;
}

.landing-page .pricing-features .disabled {
    color: #adb5bd;
}

.landing-page .btn-accent {
    background: #bf9b5c;
    border-color: #bf9b5c;
    color: white;
    font-weight: 600;
    padding: 12px;
}

.landing-page .btn-accent:hover {
    background: #a07d45;
    border-color: #a07d45;
    transform: translateY(-2px);
}

/* ==============================================
   LATEST TEASER SECTION
   ============================================== */
.landing-page .latest-teaser {
    padding: 100px 0;
}

.landing-page .bg-light {
    background-color: #f8f9fa !important;
}

.landing-page .article-teaser-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.landing-page .article-teaser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.landing-page .article-teaser-card .card-image {
    height: 220px;
    overflow: hidden;
}

.landing-page .article-teaser-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.landing-page .article-teaser-card:hover .card-image img {
    transform: scale(1.08);
}

.landing-page .article-teaser-card .card-image.bg-light {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.landing-page .article-teaser-card .card-content {
    padding: 28px;
}

.landing-page .card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.75rem;
}

.landing-page .post-category {
    color: #bf9b5c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-page .post-date {
    color: #6c757d;
}

.landing-page .article-teaser-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.landing-page .article-teaser-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.landing-page .read-more {
    color: #bf9b5c;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.landing-page .read-more:hover {
    color: #a07d45;
    gap: 10px;
}

.landing-page .text-accent {
    color: #bf9b5c !important;
}

/* ==============================================
   FINAL CTA SECTION
   ============================================== */
.landing-page .final-cta {
    padding: 100px 0;
    background: #0a0f1c;
}

.landing-page .cta-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-page .cta-wrapper h2,
.landing-page .cta-wrapper p {
    color: white;
}

.landing-page .newsletter-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.landing-page .newsletter-form .form-control {
    border: none;
    padding: 14px 22px;
    font-size: 1rem;
}

.landing-page .newsletter-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 992px) {
    .landing-page .hero-main {
        min-height: 80vh;
    }
    
    .landing-page .display-3 {
        font-size: 2.5rem !important;
    }
    
    .landing-page .lead {
        font-size: 1rem !important;
    }
    
    .landing-page .methodology-section,
    .landing-page .regions-preview,
    .landing-page .pricing-highlight,
    .landing-page .latest-teaser,
    .landing-page .final-cta {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .landing-page .hero-main {
        min-height: 70vh;
    }
    
    .landing-page .display-3 {
        font-size: 2rem !important;
    }
    
    .landing-page .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
    
    .landing-page .pricing-card.featured {
        transform: scale(1);
    }
    
    .landing-page .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .landing-page .floating-card {
        position: relative;
        right: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .landing-page .metric-number {
        font-size: 2.5rem;
    }
    
    .landing-page .methodology-section .row {
        flex-direction: column-reverse;
    }
    
    .landing-page .latest-teaser .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .landing-page .region-card h4 {
        font-size: 0.9rem;
    }
    
    .landing-page .region-icon {
        width: 50px;
        height: 50px;
    }
    
    .landing-page .region-icon i {
        font-size: 1.5rem;
    }
    
    .landing-page .pricing-card {
        padding: 30px 20px;
    }
    
    .landing-page .price {
        font-size: 2.5rem;
    }
    
    .landing-page .article-teaser-card .card-content {
        padding: 20px;
    }
    
    .landing-page .cta-wrapper {
        padding: 30px 20px !important;
    }
}