/* Landing Page Specific Styles */

/* Smooth animations */
* {
    transition: all 0.3s ease;
}

/* Hero Section Base Styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced gradient backgrounds - Coral Breeze */
.gradient-bg-hero {
    background: linear-gradient(135deg, #1E3A5F 0%, #2E5984 50%, #FF6B6B 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

/* Hero Section Base Styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced feature cards */
.feature-card-enhanced {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card-enhanced:hover::before {
    left: 100%;
}

.feature-card-enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 58, 95, 0.2);
}

/* Pricing cards enhancements */
.pricing-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

/* Button enhancements - Coral Breeze */
.btn-cta {
    background: linear-gradient(135deg, #1E3A5F 0%, #2E5984 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 58, 95, 0.4);
    color: white;
}

/* Hero section enhancements - Coral Breeze */
.hero-section-enhanced {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E3A5F 0%, #2E5984 50%, #FF6B6B 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-section-enhanced::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.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Floating elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating:nth-child(odd) {
    animation-delay: 1s;
}

.floating:nth-child(even) {
    animation-delay: 2s;
}

/* Stats counter animation */
.stat-counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    transition: all 0.3s ease;
}

.stat-counter:hover {
    transform: scale(1.1);
}

/* Testimonial styles */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* FAQ enhancements */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-header {
    background: #f8fafc;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-header:hover {
    background: #e2e8f0;
}

.faq-content {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Progress bars */
.progress-enhanced {
    height: 8px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

.progress-bar-enhanced {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-bar-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, .2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .2) 50%,
        rgba(255, 255, 255, .2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 30px 30px;
    animation: move 2s linear infinite;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* ========================================
   HERO SECTION RESPONSIVE IMPROVEMENTS
   ======================================== */

/* Mobile optimizations - HERO SECTION RESPONSIVE */
@media (max-width: 768px) {
    /* Hero Section específico */
    .hero-section {
        min-height: 80vh !important;
        padding: 2rem 0;
    }
    
    /* Dashboard preview oculto en móvil */
    .dashboard-preview {
        display: none !important;
    }
    
    /* Botones en móvil más grandes y accesibles */
    .hero-section .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 48px; /* Accesibilidad táctil */
        border-radius: 8px;
    }
    
    /* Títulos móvil optimizados */
    .hero-section .display-4 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .hero-section .display-5 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    /* Texto líder más legible */
    .hero-section .lead {
        font-size: 1.1rem !important;
        line-height: 1.5;
        margin-bottom: 2rem !important;
    }
    
    /* Badges de features móvil */
    .hero-section .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Espacio entre elementos */
    .hero-section .gap-3 {
        gap: 1rem !important;
    }
}

/* Tablet improvements */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-section {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    /* Dashboard preview más pequeño en tablet */
    .dashboard-preview .bg-white {
        transform: scale(0.85) perspective(1000px) rotateY(-5deg) rotateX(5deg) !important;
    }
    
    .dashboard-preview .p-4 {
        padding: 1rem !important;
    }
    
    .dashboard-preview .fs-2 {
        font-size: 1.5rem !important;
    }
    
    /* Títulos en tablet */
    .hero-section .display-4 {
        font-size: 2.8rem;
    }
    
    .hero-section .display-5 {
        font-size: 2.2rem;
    }
}

/* Desktop optimizado */
@media (min-width: 993px) {
    .hero-section {
        min-height: 100vh;
    }
    
    /* Efectos hover dashboard */
    .dashboard-preview .bg-white {
        transition: transform 0.3s ease;
    }
    
    .dashboard-preview:hover .bg-white {
        transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) scale(1.02) !important;
    }
    
    /* Botones desktop con mejor hover */
    .hero-section .btn-lg:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 75vh !important;
        padding: 1.5rem 0;
    }
    
    .hero-section .display-5 {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .dashboard-preview .bg-white {
        transform: scale(1.1) perspective(1000px) rotateY(-5deg) rotateX(5deg) !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1E3A5F 0%, #2E5984 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2E5984 0%, #FF6B6B 100%);
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1E3A5F 0%, #FF6B6B 100%);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: white;
    border-radius: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features Page Professional Design */
.features-page .feature-card-pro {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.features-page .feature-card-pro:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.15);
}

.features-page .feature-icon-pro {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.features-page .feature-icon-pro:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .features-page .feature-card-pro {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .features-page .feature-icon-pro {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.5rem;
    }
}

/* ========================================
   FEATURES PAGE PROFESSIONAL DESIGN
   ======================================== */

/* Enhanced Feature Cards */
.features-page .feature-card-pro {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.features-page .feature-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.features-page .feature-card-pro:hover::before {
    transform: scaleX(1);
}

.features-page .feature-card-pro:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(30, 58, 95, 0.15);
    border-color: rgba(255, 107, 107, 0.2);
}

/* Professional Feature Icons */
.features-page .feature-icon-pro {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.features-page .feature-icon-pro:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Feature Content */
.features-page .feature-content-pro h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.features-page .feature-content-pro p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.features-page .feature-content-pro ul {
    list-style: none;
    padding: 0;
}

.features-page .feature-content-pro li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.features-page .feature-content-pro li i {
    color: #48bb78;
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .features-page .feature-card-pro {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .features-page .feature-icon-pro {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin: 0 auto 1.5rem;
    }
    
    .features-page .feature-content-pro h4 {
        font-size: 1.3rem;
    }
    
    .features-page .feature-content-pro p {
        font-size: 0.95rem;
    }
    
    .features-page .feature-content-pro li {
        justify-content: center;
        font-size: 0.85rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 992px) {
    .features-page .feature-icon-pro {
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
    }
    
    .features-page .feature-content-pro h4 {
        font-size: 1.4rem;
    }
}

/* Platform Cards Enhancement */
.features-page .platform-card-pro {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.features-page .platform-card-pro:hover {
    border-color: #FF6B6B;
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(255, 107, 107, 0.15);
}

.features-page .platform-card-pro i {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem;
    display: block;
}

.features-page .platform-card-pro h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.features-page .platform-card-pro p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Analytics Section Enhancement */
.features-page .analytics-metrics {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.features-page .analytics-metrics:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.15);
}

.features-page .analytics-metrics i {
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
}

.features-page .analytics-metrics h6 {
    font-weight: 600;
    color: #2d3748;
    margin-top: 0.75rem;
}

/* Enhanced Grid Layout */
.features-page .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1200px) {
    .features-page .features-grid {
        gap: 4rem;
    }
} 