@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }

    .navbar {
        height: 70px;
        background: radial-gradient(circle at top center, #111827 0, #020309 100%);
    }
    
    .nav-left-group {
        gap: 15px;
    }

    .logo img {
        width: 50px;
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 4, 10, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 100px 40px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 25px;
    }

    .nav-links li a {
        font-size: 18px;
    }

    .nav-links li:not(:last-child)::after {
        display: none;
    }

    .mobile-menu-btn.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero {
        padding: 40px 0 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    h1 {
        font-size: 32px;
        margin-top: 10px;
    }

    .subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .description {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .badge-row {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .main-img {
        max-width: 250px;
    }

    .cta-section {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .btn-main {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }

    .client-stats {
        justify-content: center;
    }

    .trust-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 11px;
    }

    .tag {
        background: rgba(255, 255, 255, 0.05);
        padding: 4px 10px;
        border-radius: 5px;
    }

    .checkout-container {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .checkout-section {
        padding: 80px 0;
    }

    .order-card {
        margin: 20px 0;
    }

   .dash-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dash-sidebar {
        margin-bottom: 20px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .license-display {
        grid-template-columns: 1fr;
    }

    .dash-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%; /* El buscador ocupa todo el ancho */
    }

    .admin-card {
        padding: 20px;
    }
    
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    .floating-socials {
        display: none;
    }

      .products-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .order-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .order-info {
        flex-direction: column;
    }

    .detail-row.total {
        font-size: 20px;
    }

    .selector-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .plan-box {
        padding: 15px 5px;
        font-size: 13px; 
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .btn-pay {
        padding: 20px;
        font-size: 18px;
    }

    .license-display {
        grid-template-columns: 1fr;
    }

    .input-row {
        flex-direction: column;
        gap: 15px;
    }

    .settings-form {
        max-width: 100%;
    }

    .download-card {
        padding: 30px 15px;
    }

    .reseller-table thead {
        display: none; /* Escondemos los encabezados de la tabla */
    }

    .reseller-table, 
    .reseller-table tbody, 
    .reseller-table tr, 
    .reseller-table td {
        display: block;
        width: 100%;
    }

    .reseller-table tr {
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(0, 229, 255, 0.1);
        border-radius: 10px;
        padding: 15px;
    }

    .reseller-table td {
        text-align: right;
        padding: 10px 5px;
        position: relative;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }

    /* Agregamos etiquetas automáticas para saber qué es cada dato */
    .reseller-table td::before {
        content: attr(data-label); /* Necesitarás agregar data-label en el HTML */
        font-weight: bold;
        color: var(--accent-blue);
        text-transform: uppercase;
        font-size: 10px;
    }

    .reseller-table td:last-child {
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        padding-top: 15px;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 26px;
    }
    
    .badge-row {
        flex-direction: column;
        align-items: center;
    }
    .selector-grid {
        grid-template-columns: 1fr; 
    }
    
    .checkout-section {
        padding: 60px 10px;
    }
}

@media (max-width: 480px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    .input-row .input-group {
        margin-bottom: 20px;
    }
}