/* Estilos adicionales para la página de inicio mejorada */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --info-gradient: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    z-index: -1;
}

.hero-background::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-slide-in {
    animation: slideInUp 0.8s ease-out;
}

.animate-slide-in-delay {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.animate-slide-in-delay-2 {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.animate-fade-in {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.app-header {
    background: var(--primary-gradient);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #007bff;
}

.service-card h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.price {
    font-weight: bold;
    color: #28a745;
}

.btn-mini {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon-wrapper {
    position: relative;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
}

/* Dashboard Preview */
.browser-mockup {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.browser-header {
    background: #f1f3f4;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.browser-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.browser-url {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    flex: 1;
}

.browser-content {
    padding: 30px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-card h6 {
    color: #666;
    margin-bottom: 10px;
}

.stat-card h4 {
    margin: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
}

.cta-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hero Stats */
.hero-stats .stat-item {
    padding: 15px;
}

.hero-stats h4 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

/* Features Showcase Section */
.features-showcase {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.features-showcase::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.section-badge {
    margin-bottom: 20px;
}

.section-badge .badge {
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-showcase-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.feature-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-showcase-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-showcase-content h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-showcase-content p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    border: 1px solid currentColor;
}

/* Stats Banner */
.stats-banner {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.stat-highlight {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-highlight:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.stat-highlight h4 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.stat-highlight p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Animations for features */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-showcase-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-showcase-card:nth-child(1) { animation-delay: 0.1s; }
.feature-showcase-card:nth-child(2) { animation-delay: 0.2s; }
.feature-showcase-card:nth-child(3) { animation-delay: 0.3s; }
.feature-showcase-card:nth-child(4) { animation-delay: 0.4s; }
.feature-showcase-card:nth-child(5) { animation-delay: 0.5s; }
.feature-showcase-card:nth-child(6) { animation-delay: 0.6s; }

/* Color variations for feature icons */
.feature-showcase-card:nth-child(1) .feature-showcase-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-showcase-card:nth-child(2) .feature-showcase-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.feature-showcase-card:nth-child(3) .feature-showcase-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.feature-showcase-card:nth-child(4) .feature-showcase-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.3);
}

.feature-showcase-card:nth-child(5) .feature-showcase-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.3);
}

.feature-showcase-card:nth-child(6) .feature-showcase-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 8px 25px rgba(168, 237, 234, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
        margin-top: 40px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .feature-showcase-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-banner {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
