/* Features Page Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

main {
    padding-top: 70px;
}

/* Features Hero Section */
.features-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -70px;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/pattern.svg') center/cover;
    opacity: 0.1;
}

.features-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.features-hero h1 {
    font-size: 3.2em;
    margin: 0 0 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features-hero-subtitle {
    font-size: 1.2em;
    margin: 0 0 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Navigation Pills */
.features-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Feature Sections */
.feature-section {
    padding: 0px 20px;
    position: relative;
}

.feature-section.alt-bg {
    background: #f8fafc;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

.feature-header {
    text-align: center;
    margin-bottom: 60px;
}

.feature-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    margin: 0;
}

.feature-header h2 {
    font-size: 2.5em;
    margin: 0;
    color: #1e293b;
    font-weight: 700;
}

.feature-description {
    font-size: 1.1em;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Content */
.feature-content {
    margin-bottom: 60px;
}

.feature-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

/* Video Demo */
.demo-video {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 40px;
    text-align: center;
}

.video-placeholder:hover {
    background: rgba(37, 99, 235, 0.1);
}

.video-placeholder i {
    font-size: 4em;
    margin-bottom: 20px;
    color: #2563eb;
}

.video-placeholder span {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-placeholder small {
    color: #94a3b8;
    font-size: 0.9em;
}

/* Demo Stats */
.demo-stats {
    display: grid;
    gap: 20px;
}

.demo-stats .stat {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.demo-stats .stat strong {
    display: block;
    font-size: 2em;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-stats .stat span {
    color: #64748b;
    font-size: 0.9em;
}

/* Screenshots */
.feature-screenshots h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.screenshot {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.screenshot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshot-caption {
    padding: 20px;
}

.screenshot-caption h4 {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #1e293b;
    font-weight: 600;
}

.screenshot-caption p {
    color: #64748b;
    margin: 0;
    font-size: 0.9em;
}

/* Benefits Grid */
.feature-benefits {
    margin-top: 60px;
}

.feature-benefits h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit i {
    font-size: 2.5em;
    color: #2563eb;
    margin-bottom: 20px;
}

.benefit h4 {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #1e293b;
}

.benefit p {
    color: #64748b;
    margin: 0;
    font-size: 0.9em;
}

/* Reportes Showcase */
.reportes-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.reporte-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.reporte-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reporte-features {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.reporte-features h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #1e293b;
}

.reporte-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reporte-features li {
    margin-bottom: 12px;
    color: #2563eb;
    font-weight: 500;
}

/* PDF Actions */
.reporte-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.reporte-actions h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #1e293b;
}

.pdf-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.pdf-btn.primary {
    background: #2563eb;
    color: white;
}

.pdf-btn.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.pdf-btn.secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.pdf-btn.secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pdf-btn i {
    font-size: 1em;
}

.pdf-note {
    font-size: 0.9em;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-note i {
    color: #2563eb;
    font-size: 0.8em;
}

/* Testimonials with Screenshots */
.testimonials-with-screenshots {
    background: #1e293b;
    color: white;
    padding: 80px 20px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-with-screenshots h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: 700;
}

.testimonial-cards {
    display: grid;
    gap: 40px;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    align-items: center;
}

.testimonial-content {
    text-align: left;
}

.testimonial-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #94a3b8;
    font-size: 0.9em;
}

.testimonial-screenshot img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Features CTA */
.features-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.features-cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.features-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-top: 40px;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-primary {
    background: white;
    color: #2563eb;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #2563eb;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.cta-feature i {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.5em;
    }

    .features-nav {
        gap: 10px;
    }

    .nav-pill {
        font-size: 0.9em;
        padding: 10px 16px;
    }

    .feature-demo {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .demo-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-title {
        flex-direction: column;
        gap: 15px;
    }

    .reporte-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .testimonial-content {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .pdf-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .pdf-btn {
        min-width: auto;
        padding: 10px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .features-hero {
        padding: 60px 15px;
    }

    .features-hero h1 {
        font-size: 2em;
    }

    .feature-section {
        padding: 60px 15px;
    }

    .feature-header h2 {
        font-size: 2em;
    }

    .video-placeholder {
        padding: 20px;
    }

    .video-placeholder i {
        font-size: 3em;
    }

    .demo-stats .stat {
        padding: 20px;
    }

    .demo-stats .stat strong {
        font-size: 1.5em;
    }

    .reporte-features {
        padding: 25px;
    }

    .testimonials-with-screenshots {
        padding: 60px 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .features-cta {
        padding: 60px 15px;
    }

    .features-cta h2 {
        font-size: 2em;
    }
}
