/* ============================================================================
   DISPARADORPRO V2.7 - LANDING PAGE - ESTILOS RESPONSIVE
   ============================================================================
   
   Descripción: Hoja de estilos responsive para adaptación móvil y tablet
   Autor: SociosDigitales.pro
   Versión: 1.0
   Fecha: Diciembre 2025
   
   Breakpoints:
   - Mobile Small: hasta 576px
   - Mobile: 577px - 768px
   - Tablet: 769px - 992px
   - Desktop: 993px+
   
   ============================================================================ */

/* ============================================================================
   TABLETS - 769px a 992px
   ============================================================================ */

@media (min-width: 769px) and (max-width: 992px) {
    .container {
        max-width: 750px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .saas-info-section {
        gap: 35px;
    }

    .creations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .componentization-container,
    .anatomy-container {
        gap: 40px;
    }
}

/* ============================================================================
   MOBILE Y TABLETS PEQUEÑAS - hasta 768px
   ============================================================================ */

@media (max-width: 768px) {

    /* Contenedor principal */
    .container {
        padding: 100px 15px 40px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    /* Comparación */
    .comparison-section {
        padding: 60px 30px;
    }

    .comparison-section h2 {
        font-size: 2rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
    }

    /* Sección SaaS */
    .saas-info-section {
        grid-template-columns: 1fr;
        padding: 60px 30px;
        gap: 40px;
    }

    .info-text h2 {
        font-size: 2rem;
    }

    /* Dashboard adaptado */
    .dashboard-body {
        padding: 20px;
    }

    .sale-item {
        gap: 10px;
        padding: 10px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .dashboard-footer {
        flex-direction: column;
        gap: 15px;
    }

    /* Funcionalidades */
    .creations-section {
        padding: 60px 30px;
    }

    .creations-section h2 {
        font-size: 2rem;
    }

    .creations-grid {
        grid-template-columns: 1fr;
    }

    /* Componentización */
    .componentization-section {
        padding: 60px 30px;
    }

    .componentization-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .componentization-text h2 {
        font-size: 2rem;
    }

    .diagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Características avanzadas */
    .software-anatomy-section {
        padding: 60px 30px;
    }

    .anatomy-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .anatomy-text h3 {
        font-size: 1.8rem;
    }

    /* Precios */
    .pricing-section {
        padding: 60px 30px;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }


    /* FAQ */
    .faq-section {
        padding: 60px 30px;
    }

    .faq-container {
        padding: 30px 20px;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-answer p {
        padding-left: 30px;
    }

    /* Footer */
    .main-footer {
        padding: 40px 30px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
        list-style: none;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ============================================================================
   MOBILE PEQUEÑO - hasta 576px
   ============================================================================ */

@media (max-width: 576px) {

    /* Contenedor principal */
    .container {
        padding: 80px 10px 30px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .header-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Logos tecnología */
    .logos-container {
        gap: 20px;
    }

    .logos-container i,
    .logos-container span {
        font-size: 1.4rem;
    }

    /* Secciones generales */
    .comparison-section,
    .saas-info-section,
    .creations-section,
    .componentization-section,
    .software-anatomy-section,
    .pricing-section,
    .faq-section {
        padding: 40px 10px;
    }

    /* Títulos de sección */
    .comparison-section h2,
    .saas-info-section h2,
    .creations-section h2,
    .componentization-text h2,
    .anatomy-text h3,
    .pricing-header h2,
    .faq-header h2 {
        font-size: 1.5rem;
    }

    /* Tarjetas */
    .comparison-card,
    .creation-card,
    .pricing-card {
        padding: 20px 15px;
    }

    .comparison-card h3,
    .creation-card h3 {
        font-size: 1.2rem;
    }

    .comparison-card ul li,
    .creation-card p {
        font-size: 0.9rem;
    }

    /* Dashboard */
    .dashboard-header {
        padding: 10px;
    }

    .dashboard-url {
        font-size: 0.75rem;
    }

    .live-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .dashboard-body {
        padding: 15px;
    }

    .dashboard-body h4 {
        font-size: 1.1rem;
    }

    .sale-item {
        flex-wrap: wrap;
        padding: 12px 8px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .sale-info span,
    .sale-amount span {
        font-size: 0.9rem;
    }

    .dashboard-footer {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    /* Notificaciones preview */
    .notifications-preview {
        padding: 15px;
    }

    .notifications-preview span {
        font-size: 0.9rem;
    }

    /* Diagrama */
    .diagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .file-item {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .file-item i {
        font-size: 1.2rem;
    }

    .diagram-row {
        gap: 8px;
    }

    .diagram-block {
        padding: 15px 10px;
        font-size: 0.85rem;
    }

    .diagram-component {
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .diagram-list-item {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .diagram-small-item {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Precios */
    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .price-section .amount {
        font-size: 2.8rem;
    }

    .features-list li {
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-container {
        padding: 25px 15px;
    }

    .faq-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .faq-header h2 {
        font-size: 1.5rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .question-icon {
        font-size: 1.3rem;
    }

    .faq-answer p {
        padding-left: 0;
        font-size: 0.95rem;
    }

    /* Footer */
    .main-footer {
        padding: 30px 10px 20px;
    }

    .footer-container {
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-logo {
        margin-bottom: 12px;
        justify-content: center;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
        list-style: none;
        text-align: center;
    }

    .footer-contact .contact-item {
        font-size: 0.85rem;
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* Pop-up */
    .popup-content {
        width: 95%;
    }

    .popup-title {
        font-size: 0.8rem;
    }
}

/* ============================================================================
   LANDSCAPE MÓVIL - Altura máxima 500px
   ============================================================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .main-header {
        padding: 10px 20px;
    }

    .container {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .comparison-section,
    .saas-info-section,
    .creations-section,
    .componentization-section,
    .software-anatomy-section,
    .pricing-section,
    .faq-section {
        padding: 40px 20px;
    }
}

/* ============================================================================
   PANTALLAS GRANDES - 1400px+
   ============================================================================ */

@media (min-width: 1400px) {

    .container,
    .comparison-section,
    .saas-info-section,
    .creations-section,
    .componentization-section,
    .software-anatomy-section,
    .pricing-section,
    .faq-section {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

/* ============================================================================
   DISPOSITIVOS TÁCTILES
   ============================================================================ */

@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .main-nav a {
        min-height: 44px;
        padding: 10px 16px;
    }

    /* Eliminar efectos hover en touch devices */
    .creation-card:hover,
    .comparison-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* ============================================================================
   REDUCCIÓN DE MOVIMIENTO - Accesibilidad
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bg-shape {
        animation: none;
    }

    .live-badge {
        animation: none;
    }
}

/* ============================================================================
   IMPRESIÓN
   ============================================================================ */

@media print {

    .animated-background,
    .main-header,
    .hero-buttons,
    .popup-overlay,
    .faq-contact-btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container,
    .comparison-section,
    .saas-info-section,
    .creations-section,
    .pricing-section,
    .faq-section {
        max-width: 100%;
        padding: 20px;
    }
}

/* ============================================================================
   FIN DEL ARCHIVO RESPONSIVE CSS
   ============================================================================ */